PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Configures the forward time of a VLAN. The forwarding delay is the
number of seconds an interface waits before changing from its
spanning-tree learning and listening states to the forwarding state.
spanning-tree vlan vlan-id forward-time
seconds
Example:
Switch(config)# spanning-tree vlan
20,25 forward-time 18
Step 3
•
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.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Configuring the Maximum-Aging Time for a VLAN
This procedure is optional.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
spanning-tree vlan vlan-id max-age seconds
4.
end
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
236
How to Configure Spanning-Tree Features