console(config)#spanning-tree max-age 10
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
no spanning-tree max-hops
hops — The maximum number of hops to use (Range: 1–127).
•
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 |mstp}
no spanning-tree mode
•
stp — Spanning Tree Protocol (STP) is enabled.
•
rstp — Rapid Spanning Tree Protocol (RSTP) is enabled.
•
mstp — Multiple Spanning Tree Protocol (MSTP) is enabled.
hops
479