2-698
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree maxage
set spantree maxage
To set the bridge maximum aging time for a VLAN or an instance, use the set spantree maxage
command.
set spantree maxage agingtime [vlans]
set spantree maxage agingtime mistp-instance instances
set spantree maxage agingtime mst
Syntax Description
Defaults The default configuration is 20 seconds for all VLANs.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you do not specify a VLAN number or an instance number, 1 is assumed.
This command is not supported by the NAM.
If you enable MISTP, you cannot set the VLAN maximum aging time.
If you enable PVST+, you cannot set the instance maximum agi ng time .
If you enter the set spantree maxage agingtime mst command, you set the maximum aging time for the
IST instance and all MST instances. You do not need to set the maximum aging time for each MST
instance.
Examples This example shows how to set the maximum aging time for VLAN 1000 to 25 seconds:
Console> (enable) set spantree maxage 25 1000
Spantree 1000 max aging time set to 25 seconds.
Console> (enable)
This example shows how to set the maximum aging time for an instance to 25 seconds:
Console> (enable) set spantree maxage 25 mistp-instance 1
Instance 1 max aging time set to 25 seconds.
Console> (enable)
agingtime Maximum number of seconds that the system retains the information received from
other bridges through Spanning Tree Protocol; valid values are from 6 to 40 seconds.
vlans (Optional) Number of the VLAN; valid values 1 to 4094.
mistp-instance
instances Specifies the instance number; valid values are from 1 to 16.
mst Sets the maximum aging time for the IST instance and all MST instances. See the
“Usage Guidelines” section for more information.