75
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports [all | <portlist>] {cost <value
1-65535> | priority <value 0-255>}
Description
This command is used to create and configure
STP for a group of ports.
Parameters
[all | <portlist>] -
Specifies all ports or range of
ports to be configured.
cost <value 1-65535> -
This defines a metric
that indicates the relative cost of forwarding
packets to specified port list. The value between
1 and 65535 to determine the cost. The lower the
number, the greater the probability the port will
be chosen to forward packets. The default value
is 10.
priority <value 0-255> -
Select a value between
0 and 254 to specify the priority for a specified
port for forwarding packets. The lower the value,
the higher the priority. The default is 128.
Example usage:
To configure STP with path cost 10, priority of 100 for ports 1-5:
Figure 74. config stp ports command
show stp
Purpose
Used to display the Switch’s current STP
configuration.
Syntax show
stp