Configuration Guide MSTP Configuration
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
max-hops hop-count
Configure the Maximum-Hop Count
ranging from 1 to 40, 20 by default.
Return to the privileged EXEC mode.
Ruijie# show running-config
Verify the configuration.
Ruijie# copy running-config
startup-config
To restore the Maxium-Hop Count to the default value, execute the no
spanning-tree max-hops command in the global configuration mode.
Configuring Intereface Compatibility Mode
In interface compatibility mode, when a port sends BPDU, it will carry different
MSTI information according to the current port attribute to realize
interconnection with other vendors.
To configure the interface compatibility mode, execute the following commands
in the privileged mode:
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)#interface interface-id
Enter the Interface configuration mode.
Ruijie(config-if)# spanning-tree
compatible enable
Enable interface compatibility mode.
Return to the privileged mode.
Ruijie# show running-config
Check configuration items.
Ruijie# copy running-config
startup-config
To remove the settings, you can execute command no spanning-tree
compatible enable.