Spanning Tree Protocol Configuration Guide, Cisco Catalyst IE9300 Rugged Series Switches

PDF

Spanning Tree Protocol Configuration Guide, Cisco Catalyst IE9300 Rugged Series Switches

Configure the maximum-aging time for a VLAN

Want to summarize with AI?

Log in

Learn how to configure the maximum-aging time of a VLAN to control how long a switch waits without receiving Spanning Tree configuration messages before reconfiguration.


You can configure the maximum-aging time of a VLAN to control how long a switch waits without receiving Spanning Tree configuration messages before attempting a reconfiguration.

This task enables you to adjust the maximum-aging time to determine when the switch should consider configuration information stale and trigger topology recalculation.

Procedure

1.

Use the enable command to enter privileged EXEC mode.

Example:

Switch> enable

Enter your password if prompted.

2.

Use the configure terminal command to enter global configuration mode.

Example:

Switch# configure terminal
3.

Use the spanning tree vlan max-age command to configure the maximum-aging time of a VLAN.

Example:

Switch(config)# spanning-tree vlan 20 max-age 20

The maximum-aging time specifies how many seconds a switch waits without receiving Spanning Tree configuration messages before it attempts a reconfiguration.

For vlan-id, you can specify a single VLAN identified by VLAN ID number, a range of VLANs separated by a hyphen, or a series of VLANs separated by a comma. The values range from 1 to 4094.

For seconds, the values range from 6 to 40 and the default is 20.

4.

Use the end command to return to privileged EXEC mode.

Example:

Switch(config)# end