231
EES4710BD 10 Slots L2/L3/L4 Chassis Switch
10.2.2.6 spanning-tree
Command: spanning-tree
no spanning-tree
Function: Enables MSTP in Global Mode and Port Mode; the "no spanning-tree" command
disables MSTP.
Command mode: Global Mode and Port Mode
Default: MSTP is disabled by default.
Usage Guide: If MSTP is enabled in Global mode, MSTP will be enabled on all ports except those
already running applications mutually exclusive to MSTP.
Example: Enabling MSTP under Global Mode and disabling MSTP for port 1/2.
Switch(Config)#spanning-tree
Switch(Config)#interface ethernet 1/2
Switch(Config-Ethernet1/2)#no spanning-tree
10.2.2.7 spanning-tree forward-time
Command: spanning-tree forward-time <time>
no spanning-tree forward-time
Function: Sets the delay time before forwarding; the “no spanning-tree forward-time” command
restores the default setting.
Parameters: < time> is the forward delay time in seconds , the valid range is 4 to 30.
Command mode: Global Mode
Default: The default forward delay time is 15 seconds.
Usage Guide: When the network topology changes, the delay time for a port changes from blocking
status to listening status. This is called forward delay time. The forward delay time, Hello time and
max age time are associated. When configuring MSTP time parameters, the following conditions
must be met, otherwise the MSTP may not work properly:
2×(Bridge_Forward_Delay – 1.0 seconds) >= Bridge_Max_Age
Bridge_Max_Age >= 2 ×(Bridge_Hello_Time + 1.0 seconds)
Example: Setting MSTP forward delay time to 20 seconds in Global Mode.
Switch(Config)#spanning-tree forward-time 20
10.2.2.8 spanning-tree hello-time
Command: spanning-tree hello-time <time>
no spanning-tree hello-time
Function: Sets the Hello time for the switch; the “no spanning-tree hello-time” command restores
the default setting.
Parameters: < time> is the Hello time in seconds, the valid range is 1 to 10.