Command:

set spantree maxage

Mode:

Switch> (enable)


Syntax:

set spantree maxage agingtime [vlans]

set spantree maxage agingtime mistp-instance instances

set spantree maxage agingtime mst


Syntax Description:

agingtime

Variable that specifies the 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.

vlan

(Optional) Variable that specifies the number of the VLAN; valid values are from 1 to 1005.

mistp-instance instances

Keyword and variable that specify the instance number; valid values are from 1 to 16.

mst

Keyword that sets the maximum aging time for the IST instance and all MST instances. See the "Usage Guidelines" section for more information.

 


Command Description:

Use the set spantree maxage command to set the bridge maximum aging time for a VLAN or an instance.


Example:

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)
 

 


Misconceptions:

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 aging 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.

 


Related Commands:

 

show spantree


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)