Configuration Guide MSTP Configuration
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
pathcost method long/short
Configure the default calculation method
of the port path cost as long or short, with
long by default.
Return to the privileged EXEC mode.
Ruijie# show running-config
Verify the configuration.
Ruijie# copy running-config
startup-config
To restore the setting to the default value, execute the no spanning-tree
pathcost method command in the global configuration mode.
Configuring Hello Time
Configure the interval of sending the BPDU message. The default value is 2s.
To configure the Hello Time, execute the following commands in the privileged
mode:
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
hello-time seconds
Configure the hello time ranging from 1 to
10s, 2s by default.
Return to the privileged EXEC mode.
Ruijie# show running-config
Verify the configuration.
Ruijie# copy running-config
startup-config
To restore the hello time to the default value, execute the no spanning-tree
hello-time command in the global configuration mode.
Configuring Forward-Delay Time
Configure the interval for changing port status. The default value is 15s.
To configure the forward-delay time, execute the following commands in the
global configuration mode:
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
forward-time seconds
Configure the forward delay time ranging
from 4 to 30s, 15s by default.