20-31
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
This example shows how to configure the bridge priority of VLAN 200 to 33792 when the extended
system ID is disabled:
Router#
configure terminal
Router(config)#
spanning-tree vlan 200 priority 33792
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 33792 0050.3e8d.64c8 2 20 15 ieee
Router#
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:
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
Hello Max Fwd
Step 2
Router(config)#
end
Exits configuration mode.
Step 3
Router#
show spanning-tree
vlan
vlan_ID
bridge
[
detail
]
Verifies the configuration.
Command
Purpose
Command
Purpose
Step 1
Router(config)#
spanning-tree vlan
vlan_ID
hello-time
hello_time
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
Table 14-1 on page 14-2
).
Router(config)#
no
spanning-tree vlan
vlan_ID
hello-time
Reverts to the default hello time.
Step 2
Router(config)#
end
Exits configuration mode.
Step 3
Router#
show spanning-tree
vlan
vlan_ID
bridge
[
detail
]
Verifies the configuration.