18-17
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 18 Configuring STP and MST Configuring STP
Number of transitions to forwarding state: 1
BPDU: sent 0, received 13513
<...output truncated...>
Switch#
Note The show spanning-tree command displays only information for ports with an active link (green light
is on). If there is no port with an active link, you can issue a show running-config command to confirm
the configuration.
Configuring the Bridge Priority of a VLAN
Note Exercise care when configuring the bridge priority of a VLAN. In most cases, we recommend that you
enter the spanning-tree vlan vlan_ID root primary and the spanning-tree vlan vlan_ID root
secondary commands to modify the bridge priority.
To configure the spanning tree bridge priority of a VLAN, perform this task:
This example shows how to configure the bridge priority of VLAN 200 to 33,792:
Switch# configure terminal
Switch(config)# spanning-tree vlan 200 priority 33792
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 33792 0050.3e8d.64c8 2 20 15 ieee
Switch#
Configuring the Hello Time
Note Exercise care when configuring the hello 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 hello time.
Command Purpose
Step 1 Switch(config)# [no] spanning-tree vlan vlan_ID
priority bridge_priority Configures the bridge priority of a VLAN. The
bridge_priority value can be from 1 to 65,534.
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.