Configuring STP
Configuring the Hello Time
Note
Be careful when using this command. For most situations, we recommend that you use the
spanning-tree vlan vlan_ID root primary and spanning-tree vlan vlan_ID root secondary commands
to modify the hello time.
To configure the STP hello time of a VLAN, perform this task:
Command
Step 1
Router(config)# spanning-tree vlan vlan_ID
hello-time hello_time
Router(config)# no spanning-tree vlan vlan_ID
hello-time
Step 2
Router(config)# end
Step 3
Router# show spanning-tree vlan vlan_ID bridge
[detail]
This example shows how to configure the hello time for VLAN 200 to 7 seconds:
Router# configure terminal
Router(config)# spanning-tree vlan 200 hello-time 7
Router(config)# end
Router#
This example shows how to verify the configuration:
Router# show spanning-tree vlan 200 bridge
Vlan
---------------- -------------------- ---- ---- -----
VLAN200
Router#
Configuring the Forward-Delay Time for a VLAN
To configure the STP forward delay time for a VLAN, perform this task:
Command
Step 1
Router(config)# spanning-tree vlan vlan_ID
forward-time forward_time
Router(config)# no spanning-tree vlan vlan_ID
forward-time
Step 2
Router(config)# end
Step 3
Router# show spanning-tree vlan vlan_ID bridge
[detail]
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
15-32
Purpose
Configures the hello time of a VLAN. The hello_time
value can be from 1 to 10 seconds. The vlan_ID value can
be 1 through 4094, except reserved VLANs (see
on page
Reverts to the default hello time.
Exits configuration mode.
Verifies the configuration.
Hello Max
Bridge ID
Time
49152 0050.3e8d.64c8
Purpose
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
Reverts to the default forward time.
Exits configuration mode.
Verifies the configuration.
Chapter 15
Configuring STP and IEEE 802.1s MST
9-2).
Fwd
Age Delay
Protocol
--------
7
20
15
ieee
Table 9-1 on page
Table 9-1
9-2).
78-14064-04