Chapter 16
Configuring MSTP
Configuring the Maximum-Aging Time
Beginning in privileged EXEC mode, follow these steps to configure the maximum-aging time for all
MST instances. This procedure is optional.
Command
Step 1
configure terminal
Step 2
spanning-tree mst max-age seconds
Step 3
end
Step 4
show spanning-tree mst
Step 5
copy running-config startup-config
To return the switch to its default setting, use the no spanning-tree mst max-age global configuration
command.
Configuring the Maximum-Hop Count
Beginning in privileged EXEC mode, follow these steps to configure the maximum-hop count for all
MST instances. This procedure is optional.
Command
Step 1
configure terminal
Step 2
spanning-tree mst max-hops hop-count
Step 3
end
Step 4
show spanning-tree mst
Step 5
copy running-config startup-config
To return the switch to its default setting, use the no spanning-tree mst max-hops global configuration
command.
78-16156-01
Purpose
Enter global configuration mode.
Configure the maximum-aging time for all MST instances. The
maximum-aging time is the number of seconds a switch waits
without receiving spanning-tree configuration messages before
attempting a reconfiguration.
For seconds, the range is 6 to 40; the default is 20.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the number of hops in a region before the BPDU is
discarded, and the information held for a port is aged.
For hop-count, the range is 1 to 40; the default is 20.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3560 Switch Software Configuration Guide
Configuring MSTP Features
16-21