Switch 7700 Command reference Guide, v2.0

Table Of Contents
324 CHAPTER 8: USING STP COMMANDS
The stp bridge-diameter command configures the switching network diameter
and determines the three time parameters of MSTP accordingly. This configuration
takes effect on CIST only but makes no sense for MSTI.
The spanning tree convergence can be speeded up, when Hello Time, Forward
Delay, and Max Age are well configured. These parameters are related to the
network scale.
You can configure the network scale to get the time parameters. Upon the
user-configured bridge-diameter parameter, MSTP will automatically set Hello
Time, Forward Delay, and Max Age to moderate values. When bridge-diameter
defaults to 7, the time parameters also take their respective default values.
Related commands: stp timer forward-delay, stp timer hello, stp timer
max-age
.
Example
Set the diameter of the switching network to 5.
[SW7700]stp bridge-diameter 5
stp bridge-priority Syntax
stp instance instance-id ] bridge-priority priority
undo stp instance instance-id bridge-priority
View
System view
Parameter
instance-id: Ranges from 0 to 16.
priority: Specifies the switch priority, ranging from 0 to 61440 with a step
length of 4096. That is, 16 priorities are available for the switch including 0, 4096,
8192, etc. By default, the switch priority is 32768.
Description
Use the stp bridge-priority command to configure the bridge priority in
the specified STI.
Use the undo stp bridge-priority command to restore the default value of
bridge priority.
The switch priority takes part in the spanning tree calculation. It is configured
separately for every STI. Different STIs can be configured with different priorities.
If specifying the instance ID as 0, the command can configure the CIST priority.
Example
Set the bridge priority of the switch in STI 1 to 4096.
[SW7700]stp instance 1 bridge-priority 4096