Installation guide
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
74
Cisco IOS Release 12.3(8)T4
OL-6454-01
Router(vlan)# exit
APPLY completed.
Exiting....
Router#
Spanning Tree: Examples
• Spanning-Tree Interface and Spanning-Tree Port Priority Example, page 74
• Spanning-Tree Port Cost Example, page 75
• Bridge Priority of a VLAN, page 75
• Hello Time Example, page 75
• Forward-Delay Time for a VLAN Example, page 76
• Maximum Aging Time for a VLAN Example, page 76
• Spanning Tree Examples, page 76
• Spanning Tree Root Example, page 76
Spanning-Tree Interface and Spanning-Tree Port Priority Example
The following example shows the VLAN port priority of an interface being configured:
Router# configure terminal
Router(config)# interface fastethernet 0/3/2
Router(config-if)# spanning-tree vlan 20 port-priority 64
Router(config-if)# end
Router#
The following example shows how to verify the configuration of VLAN 200 on the interface when it is
configured as a trunk port:
Router# show spanning-tree vlan 20
VLAN20 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address 00ff.ff90.3f54
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 00ff.ff10.37b7
Root port is 33 (FastEthernet0/3/2), cost of root path is 19
Topology change flag not set, detected flag not set
Number of topology flags 0 last change occurred 00:05:50 ago
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 0
Port 33 (FastEthernet0/3/2) of VLAN20 is forwarding
Port path cost 18, Port priority 64, Port Identifier 64.33
Designated root has priority 32768, address 00ff.ff10.37b7
Designated bridge has priority 32768, address 00ff.ff10.37b7
Designated port id is 128.13, designated path cost 0
Timers: message age 2, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 1, received 175
Router#