Configuration Guide MSTP Configuration
Configuring the Spanning Tree Mode
According to the 802.1-related protocols, it is not necessary for administrators
to set much for three versions of the spanning tree protocols such as the STP,
RSTP and MSTP. These versions are compatible with one another naturally.
However, given that some manufacturers will not develop the spanning tree
protocol by standards, it may cause some compatibility problem. Hence, we
provide a command to facilitate administrators to switch to the lower version of
the spanning tree protocol for compatibility when they detect that this device is
not compatible with that of other manufacturers.
Note: When you switch to the RSTP or STP version from the MSTP version, all
information about MSTP Region will be cleared.
The default mode of the device is MSTP.
To enable the spanning tree protocol, execute the following command in the
privileged mode:
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
mode mstp/rstp/stp
Switch the spanning tree version.
Return to the privileged EXEC mode.
Ruijie# show spanning-tree
Verify the configuration.
Ruijie# copy running-config
startup-config
To restore the spanning tree mode to the default value, use the no
spanning-tree mode command in the global configuration mode.
Configuring Switch Priority
Switch priority allows you to select the root and draw the topology of a network.
It is recommended that administrators set the core device with higher priority (or
smaller value) to facilitate the stablization of the whole network. You can assign
different switch priorities for various instances so that various instances can run
separate spanning tree protocol.Only the priority of CIST (Instance 0) is related
to the devices between different regions.
As mentioned in Bridge ID, there are 16 values for the priority, and all of them
are multiples of 4096, which are 0, 4096, 8192, 12288, 16384, 20480, 24576,
28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, and 61440. The
default value is 32768.