F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

86
Ste
p
Command
Remarks
129. Configure the current
device as the root
bridge.
In STP/RSTP mode:
stp root primary
In MSTP mode:
stp [ instance instance-id ]
root primary
Use one of the commands.
By default, a device is not a root bridge.
For information about the value range for
the instance-id argument, see Network
Management Command Reference.
1138BConfiguring the current device as a secondary root bridge of a specific spanning tree
Ste
p
Command
Remarks
130. Enter system view.
system-view N/A
131. Configure the current
device as a secondary
root bridge.
In STP/RSTP mode:
stp root secondary
In MSTP mode:
stp [ instance instance-id ]
root secondary
Use one of the commands.
By default, a device is not a secondary root
bridge.
For information about the value range for
the instance-id argument, see Network
Management Command Reference.
429BConfiguring the device priority
Priority is a factor in spanning tree calculations. The priority of a device determines whether the device
can be elected as the root bridge of a spanning tree. A lower numeric value indicates a higher priority.
You can set the priority of a device to a low value to specify the device as the root bridge of the spanning
tree. A spanning tree device can have different priorities in different MSTIs.
You cannot change the priority of a device after it is configured as the root bridge or as a secondary root
bridge.
During root bridge selection, if all devices in a spanning tree have the same priority, the one with the
lowest MAC address will be selected as the root bridge of the spanning tree.
To configure the priority of a device in a specified MSTI:
Ste
p
Command
Remarks
132. Enter system view. system-view N/A
133. Configure the priority of
the current device.
In STP/RSTP mode:
stp priority priority
In MSTP mode:
stp [ instance instance-id ]
priority priority
Use one of the commands.
The default setting is 32768.
For information about the value range for
the instance-id argument, see Network
Management Command Reference.
430BConfiguring the maximum hops of an MST region
By setting the maximum hops of an MST region, you can restrict the region size. The maximum hops
configured on the regional root bridge will be used as the maximum hops of the MST region.
Configuration BPDUs sent by the regional root bridge always have a hop count set to the maximum value.
When a device receives this configuration BPDU, it decrements the hop count by 1 and uses the new hop