Command Manual - STP
Quidway S6500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-30
Caution:
z In a switching network, you can configure only one root bridge for each STI and one
or more secondary switches. Do not configure more than one root bridge for an STI
at the same time, otherwise, the calculation result will be unpredictable.
z After a switch is configured as primary root bridge or secondary root bridge, user
can’t modify the bridge priority of the switch.
Example
# Designate the current switch as the root bridge of STI 1 and specifies the diameter of
the switching network as 4 and the Hello Time as 500 centiseconds.
[Quidway] stp instance 1 root primary bridge-diameter 4 hello-time 500
1.1.33 stp root secondary
Syntax
stp [ instance instance-id ] root secondary [ bridge-diameter bridgenum [ hello-time
centi-senconds ] ]
undo stp [ instance instance-id ] root
View
System view
Parameter
instance instance-id: Specifies the spanning tree instance ID, ranging from 0 to 16.
Specify it as 0 to configure CIST.
root secondary: Configure the current switch as the secondary root of the designated
STI.
bridge-diameter bridgenum: Specify the network diameter of the spanning tree,
ranging from 2 to 7.
hello-time centi-senconds: Specify the Hello Time of the spanning tree, ranging from
100 to 1000 and measured in centiseconds.
Description
Using stp root secondary command, you can configure the current switch as the
secondary root bridge of a specified STI. Using undo stp root command, you can
cancel the current switch for the secondary root bridge of a specified STI.
By default, the switch does not server as a secondary root bridge.