DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
183
Usage Guideline
Use this command in the global configuration mode to enable the global spanning-tree function.
Example
This example shows how to enable the spanning-tree function.
Switch# configure terminal
Switch(config)# spanning-tree global state enable
Switch(config)#
33-5
spanning-tree mode
This command is used to configure the STP mode. Use the
no
form of this command to revert to the default
setting.
spanning-tree mode {mstp | rstp |stp}
no spanning-tree mode
Parameters
mstp
Specifies the Multiple Spanning Tree Protocol (MSTP).
rstp
Specifies the Rapid Spanning Tree Protocol (RSTP).
stp
Specifies the Spanning Tree Protocol (IEEE 802.1D Compatible)
Default
By default, this mode is rstp.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
If the mode is configured as STP or RSTP, all currently running MSTP instances will be cancelled automatically.
If the newly configured mode is changed from the previous one, the spanning- tree state machine will restart
again, therefore all of the stable spanning-tree port states will transit into discarding states.
Example
This example shows how to configure the running version of the RSTP module to STP.
Switch# configure terminal
Switch(config)# spanning-tree mode stp
Switch(config)#