Example usage:
To configure STP with maxage 40 and hellotime of 5 seconds:
Figure 84. config stp command
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 255 to specify the priority for a specified
port for forwarding packets. The lower the value,
the higher the priority. The default is 128.
91