DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide
81
config stp ports
port the default cost is 100.
priority <value>
−
A numeric value between
0 and 255 that is used in determining the
root and designated port in an STP port
list. The default is 128, with 0 indicating
the highest priority.
<portlist>
−
Specifies a range of ports to be
configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4
−
in numerical order.
state [enable|disable]
−
Allows STP to be
enabled or disabled for the ports specified
in the port list. The default is disabled.
Restrictions
Only administrator-level users can issue
this command.
Example Usage:
To set the path cost 19, the priority 15, and the state
enabled of the ports 1-5:
DGS-3224TGR:4#config stp ports 1-5 cost 19 priority 15
state enabled
Command: config stp ports 1-5 cost 19 priority 15 state
enabled