H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – MSTP
H3C S7500 Series Ethernet Switches Chapter 1
MSTP Configuration Commands
1-39
Caution:
z You can configure only one root bridge for an MSTI and can configure one or more
secondary root bridges for an MSTI. Configuring multiple root bridges for an MSTI
causes unpredictable spanning tree computing results.
z Once a switch is configured as the root bridge or a secondary root bridge, its priority
cannot be modified.
Examples
# Configure the current switch as the root bridge of MSTI 1, setting the network
diameter of the switched network to 4, and the Hello time to 500 centiseconds.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] stp instance 1 root primary bridge-diameter 4 hello-time 500
1.1.37 stp root secondary
Syntax
stp [ instance instance-id ] root secondary [ bridge-diameter bridgenum ]
[ hello-time centi-seconds ]
undo stp [ instance instance-id ] root
View
System view
Parameters
instance-id: MSTI ID ranging from 0 to 16. A value of 0 specifies the CIST.
bridgenum: Network diameter of the specified MSTI. This argument ranges from 2 to 7
and defaults to 7.
centi-seconds: Hello time in centiseconds of the specified MSTI. This argument ranges
from 100 to 1,000 and defaults to 200.
Description
Use the stp root secondary command to configure the current switch as a secondary
root bridge of a specified MSTI.
Use the undo stp root command to cancel the current configuration.
By default, a switch does not operate as a secondary root bridge.
If you do not specify the instance-id argument, these two commands apply to the CIST.