Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
18-18
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 18 Configuring STP and MST
Configuring STP
To configure the spanning tree hello time of a VLAN, perform this task:
This example shows how to configure the hello time for VLAN 200 to 7 seconds:
Switch# configure terminal
Switch(config)# spanning-tree vlan 200 hello-time 7
Switch(config)# end
Switch#
This example shows how to verify the configuration:
Switch# show spanning-tree vlan 200 bridge brief
Hello Max Fwd
Vlan Bridge ID Time Age Delay Protocol
---------------- -------------------- ---- ---- ----- --------
VLAN200 49152 0050.3e8d.64c8 7 20 15 ieee
Switch#
Configuring the Maximum Aging Time for a VLAN
Note Exercise care when configuring aging time. In most cases, we recommend that you use the
spanning-tree vlan vlan_ID root primary and the spanning-tree vlan vlan_ID root secondary
commands to modify the maximum aging time.
To configure the spanning tree maximum aging time for a VLAN, perform this task:
This example shows how to configure the maximum aging time for VLAN 200 to 36 seconds:
Switch# configure terminal
Switch(config)# spanning-tree vlan 200 max-age 36
Switch(config)# end
Switch#
Command Purpose
Step 1
Switch(config)# [no] 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.
Use the no keyword to restore the defaults.
Step 2
Switch(config)# end
Exits configuration mode.
Step 3
Switch# show spanning-tree vlan vlan_ID bridge
[brief]
Verifies the configuration.
Command Purpose
Step 1
Switch(config)# [no] 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.
Use the no keyword to restore the defaults.
Step 2
Switch(config)# end
Exits configuration mode.
Step 3
Switch# show spanning-tree vlan vlan_ID bridge
[brief]
Verifies the configuration.