Cisco 3560x-24p 参考指南
2-823
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
spanning-tree mst max-age
spanning-tree mst max-age
Use the spanning-tree mst max-age global configuration command on the switch stack or on a
standalone switch to set the interval between messages that the spanning tree receives from the root
switch. If a switch does not receive a bridge protocol data unit (BPDU) message from the root switch
within this interval, it recomputes the spanning-tree topology. Use the no form of this command to return
to the default setting.
standalone switch to set the interval between messages that the spanning tree receives from the root
switch. If a switch does not receive a bridge protocol data unit (BPDU) message from the root switch
within this interval, it recomputes the spanning-tree topology. Use the no form of this command to return
to the default setting.
spanning-tree mst max-age seconds
no spanning-tree mst max-age
Syntax Description
Defaults
The default is 20 seconds.
Command Modes
Global configuration
Command History
Usage Guidelines
After you set the spanning-tree mst max-age seconds global configuration command, if a switch does
not receive BPDUs from the root switch within the specified interval, the switch recomputes the
spanning-tree topology. The max-age setting must be greater than the hello-time setting.
not receive BPDUs from the root switch within the specified interval, the switch recomputes the
spanning-tree topology. The max-age setting must be greater than the hello-time setting.
Changing the spanning-tree mst max-age command affects all spanning-tree instances.
Examples
This example shows how to set the spanning-tree max-age to 30 seconds for all multiple spanning-tree
(MST) instances:
(MST) instances:
Switch(config)# spanning-tree mst max-age 30
You can verify your setting by entering the show spanning-tree mst privileged EXEC command.
Related Commands
seconds
Interval between messages the spanning tree receives from the root switch. The range
is 6 to 40 seconds.
is 6 to 40 seconds.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
mst
Displays MST information.
Sets the forward-delay time for all MST instances.
Sets the interval between hello BPDUs sent by root switch
configuration messages.
configuration messages.
Sets the number of hops in a region before the BPDU is
discarded.
discarded.