Configuring The Bridge Priority Of The Current Switch; Configuring How A Port Recognizes And Sends Mstp Packets - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

Configuring the Bridge Priority of the Current Switch

Root bridges are selected according to the bridge priorities of switches. You can make a specific switch
be selected as a root bridge by setting a lower bridge priority for the switch. An MSTP-enabled switch
can have different bridge priorities in different MSTIs.
Configuration procedure
Follow these steps to configure the bridge priority of the current switch:
To do...
Enter system view
Set the bridge priority for the
current switch
Once you specify a switch as the root bridge or a secondary root bridge by using the stp root
primary or stp root secondary command, the bridge priority of the switch cannot be configured
any more.
During the selection of the root bridge, if multiple switches have the same bridge priority, the one
with the smallest MAC address becomes the root bridge.
Configuration example
# Set the bridge priority of the current switch to 4,096 in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 priority 4096

Configuring How a Port Recognizes and Sends MSTP Packets

A port can send/recognize MSTP packets of two formats:
dot1s: 802.1s-compliant standard format
legacy: Compatible format
By default, the packet format recognition mode of a port is auto, namely the port automatically
distinguishes the two MSTP packet formats, and determines the format of packets it will send based on
the recognized format. You can configure the MSTP packet format to be used by a port. After the
configuration, when working in MSTP mode, the port sends and receives only MSTP packets of the
format you have configured to communicate with devices that send packets of the same format.
Configuration procedure
Follow these steps to configure how a port recognizes and sends MSTP packets (in system view):
To do...
Enter system view
Use the command...
system-view
stp [ instance instance-id ]
priority priority
Use the command...
system-view
1-20
Remarks
Required
The default bridge priority of a
switch is 32,768.
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents