13-21
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 13 Configuring STP
Configuring Spanning-Tree Features
Configuring the Forwarding-Delay Time for a VLAN
Beginning in privileged EXEC mode, follow these steps to configure the forwarding-delay time for a
VLAN. This procedure is optional.
To return to the default setting, use the no spanning-tree vlan vlan-id forward-time global
configuration command.
Configuring the Maximum-Aging Time for a VLAN
Beginning in privileged EXEC mode, follow these steps to configure the maximum-aging time for a
VLAN. This procedure is optional.
To return to the default setting, use the no spanning-tree vlan vlan-id max-age global configuration
command.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
spanning-tree vlan vlan-id forward-time
seconds
Configure the forward time of a VLAN. The forward delay is the
number of seconds a spanning-tree port waits before changing
from its spanning-tree learning and listening states to the
forwarding state.
•
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 range is 1 to
4094.
•
For seconds, the range is 4 to 30; the default is 15.
Step 3
end
Return to privileged EXEC mode.
Step 4
show spanning-tree vlan vlan-id
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
spanning-tree vlan vlan-id max-age seconds
Configure the maximum-aging time of a VLAN. The
maximum-aging time is the number of seconds a switch waits
without receiving spanning-tree configuration messages before
attempting 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
range is 1 to 4094.
•
For seconds, the range is 6 to 40; the default is 20.
Step 3
end
Return to privileged EXEC mode.
Step 4
show spanning-tree vlan vlan-id
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.