beautypg.com

Configuring the device priority, Configuring the maximum hops of an mst region – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 78

background image

68

Configuring the current device as a secondary root bridge of a
specific spanning tree

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

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 either command.
By default, a device does not

function as a secondary root
bridge.

NOTE:

You can specify one root bridge for each spanning tree, regardless of the device priority settings. Once
you specify a device as the root bridge or a secondary root bridge, you cannot change its priority.

You can configure the current device as the root bridge by setting the device priority to 0. For the device
priority configuration, see "

Configuring the device priority

."

Configuring the device priority

Device priorities participate in spanning tree calculation. The priority of a device determines whether the

device can be elected as the root bridge of a spanning tree. A lower value indicates a higher priority. By
setting the priority of a device to a low value, you can specify the device as the root bridge of the

spanning tree. A spanning tree device can have different priorities in different MSTIs.
To configure the priority of a device in a specified MSTI:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the priority of the

current device.

In STP/RSTP mode:
stp priority priority

In MSTP mode:

stp [ instance instance-id ] priority
priority

Use either command.
32768 by default.

CAUTION:

After configuring a device as the root bridge or a secondary root bridge, you cannot change the priority
of the device.

During root bridge selection, if all devices in a spanning tree have the same priority, the one with the
lowest MAC address is selected as the root bridge of the spanning tree.

Configuring 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,

which is configured on the regional root bridge, is used as the maximum hops of the MST region.