Command Manual – STP
Quidway S8500 Series Routing Switches
Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-14
Description
Use the
stp bridge-diameter
command to configure the switching network diameter.
Use the
undo stp bridge-diameter
command to restore the default network diameter.
The definition of network diameter: Maximum count of switches between the farthest
communication ends.
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. When users configure
the bridge-diameter parameter of the switch, 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 command:
stp timer forward-delay
,
stp timer hello
,
stp timer max-age
.
Note:
The
stp bridge-diameter
command configures the switching network diameter and
determines the three MSTP time parameters (Hello Time, Forward Delay, and Max Age)
accordingly.
Example
# Set the diameter of the switching network to 5.
<Quidway>system-view
System View: return to User View with Ctrl+Z.
[Quidway] stp bridge-diameter 5
1.1.14 stp cost
Syntax
stp
[
instance
instance-id
]
cost
cost
undo stp
[
instance
instance-id
]
cost
View
Ethernet port view