Specifications
95
config stp_ports
Purpose
Used to setup STP on the port level.
Syntax
config stp_ports <portlist> {cost
<value>/priority <value>/state
[enabled/disabled]
Description
This command is used to create and
configure STP for a group of ports.
Parameters
cost <value> − this defines a metric that
indicates the relative cost of forwarding
packets to the specified port list. The
default cost for a 1000 Mbps port is 4, a
100 Mbps port is 19, and for a 10 Mbps
port the default cost is 100.
priority <value> − a numeric value
between 0 and 31 that is used in determing
the root and designated port in an STP port
list. The default is 16, with 0 indicating the
highest priority.
<portlist> − specifies a range of ports to
be configured.
state [enabled/disabled] − 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 priorty 15, and the state enabled
of the ports 1-5 of module 1:
DES7000:4@#config stp_ports 1:1-1:5 cost 19 priority
15 state enabled
Command: config stp_ports 1-5 cost 19 priority 15
state enabled
Success.
DES7000:4@#