20-32
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 20 Configuring STP and Prestandard IEEE 802.1s MST
Configuring STP
Vlan Bridge ID Time Age Delay Protocol
---------------- -------------------- ---- ---- ----- --------
VLAN200 49152 0050.3e8d.64c8 7 20 15 ieee
Router#
Configuring the Forward-Delay Time for a VLAN
To configure the STP forward delay time for a VLAN, perform this task:
This example shows how to configure the forward delay time for VLAN 200 to 21 seconds:
Router#
configure terminal
Router(config)#
spanning-tree vlan 200 forward-time 21
Router(config)#
end
Router#
This example shows how to verify the configuration:
Router#
show spanning-tree vlan 200 bridge
Hello Max Fwd
Vlan Bridge ID Time Age Delay Protocol
---------------- -------------------- ---- ---- ----- --------
VLAN200 49152 0050.3e8d.64c8 2 20 21 ieee
Router#
Configuring the Maximum Aging Time for a VLAN
To configure the STP maximum aging time for a VLAN, perform this task:
Command
Purpose
Step 1
Router(config)#
spanning-tree vlan
vlan_ID
forward-time
forward_time
Configures the forward time of a VLAN. The
forward_time
value can be from 4 to 30 seconds. The
vlan_ID
value can be 1 through 4094, except reserved
VLANs (see
Table 14-1 on page 14-2
).
Router(config)#
no
spanning-tree vlan
vlan_ID
forward-time
Reverts to the default forward time.
Step 2
Router(config)#
end
Exits configuration mode.
Step 3
Router#
show spanning-tree
vlan
vlan_ID
bridge
[
detail
]
Verifies the configuration.
Command
Purpose
Step 1
Router(config)#
spanning-tree vlan
vlan_ID
max-age
max_age
Configures the maximum aging time of a VLAN. The
max_age
value can be from 6 to 40 seconds. The
vlan_ID
value can be 1 through 4094, except reserved VLANs (see
Table 14-1 on page 14-2
).
Router(config)#
no
spanning-tree vlan
vlan_ID
max-age
Reverts to the default maximum aging time.
Step 2
Router(config)#
end
Exits configuration mode.
Step 3
Router#
show spanning-tree
vlan
vlan_ID
bridge
[
detail
]
Verifies the configuration.