5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
315
Parameters
None.
Default
The default is 20.
Command Mode
Global Config
5-218 spanning-tree max hops
Sets the MSTP Max Hops parameter to a defined value for the common and internal spanning tree, range
1 to 127.
No
command sets the Bridge Max Hops parameter for the common and internal spanning tree to the
default value.
spanning-tree max-hops 1-127
no spanning-tree max-hops
Parameters
None
Default
The default is 20.
Command Mode
Global Config
5-219 spanning-tree mode
Configure global spanning tree mode per VLAN spanning tree, Rapid-PVST, MST, RSTP or STP. Only a
single setting MSTP (RSTP), PVST or RPVST can be enabled on a switch.
Enabling PVSTP or rapid PVSTP (PVRSTP) disables MSTP/RSTP/STP. By default, MSTP is enabled.
No
command globally configures the switch to the default spanning-tree mode, MSTP.
spanning-tree mode {mst | pvst | rapid-pvst | stp | rstp}
no spanning-tree mode