Reference Guide
Spanning Tree Commands 769
spanning-tree max-hops
Use the spanning-tree max-hops command to set the MSTP Max Hops
parameter to a new value for the common and internal spanning tree. Use the
“no” form of this command to reset the Max Hops to the default.
Syntax
spanning-tree max-hops
hops
no spanning-tree max-hops
•
hops
— The maximum number of hops to use (Range: 6 to 40).
Default Configuration
The maximum number of hops is 20 by default.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
console(config)#spanning-tree max-hops 32
spanning-tree mode
Use the spanning-tree mode command in Global Configuration mode to
configure the spanning-tree protocol. To return to the default configuration,
use the no form of this command.
Syntax
spanning-tree mode {stp | rstp | mst}
no spanning-tree mode
•
stp
— Spanning Tree Protocol (STP) is enabled.
•
rstp
— Rapid Spanning Tree Protocol (RSTP) is enabled.
2CSPC4.XModular-SWUM204.book Page 769 Friday, March 15, 2013 9:24 AM










