Configuration Guide MSTP Configuration
Ruijie# clear spanning-tree
detected-protocols
Forcibly check the version on all ports.
Ruijie# clear spanning-tree
detected-protocols interface
interface-id
Check the version forcibly on the port.
Configuring a MSTP Region
To deploy several devices in the same MSTP Region, you have to configure
these devices with the same name, the same revision number, and the same
Instance-VLAN table.
You can assign a VLAN to instances 0 to 64 respectively as required. The
remaining VLANs will be automatically assigned to instance 0. One vlan can
only be of an instance.
It is recommended to configure the Instance-VLAN table when the MSTP
protocol is disabled. After configuration, you should enable the MSTP protocol
again to ensure the stability and convergence of the network topology.
To configure a MSTP region, execute the following commands in the global
configuration mode:
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
mst configuration
Enter the MST configuration mode.
Ruijie(config-mst)# instance
instance-id vlan vlan-range
Add a VLAN group to a MST instance.
instance-id: Instance ID ranging from 0 to 64.
vlan-range: VLAN range in the range 1 to
4094.
For instance:
The instance 1 vlan 2-200 command is to
add VLAN 2-200 to instance 1.
The instance 1 vlan 2,20,200 command is to
add VLAN 2, VLAN 20 and VLAN 200 to
instance 1.
You can use the no option of this command to
delete a VLAN from an instance, and the
deleted VLAN will be added to instance 0
automatically.