15-28
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 15 Configuring STP and IEEE 802.1s MST
Configuring STP
This example shows how to configure the STP port priority of Fast Ethernet port 4/4:
Router# configure terminal
Router(config)# interface fastethernet 4/4
Router(config-if)# spanning-tree port-priority 160
Router(config-if)# end
Router#
This example shows how to verify the configuration of Fast Ethernet port 4/4:
Router# show spanning-tree interface fastethernet 4/4
Vlan Role Sts Cost Prio.Nbr Status
---------------- ---- --- --------- -------- --------------------------------
VLAN0001 Back BLK 200000 160.196 P2p
VLAN0006 Back BLK 200000 160.196 P2p
...
VLAN0198 Back BLK 200000 160.196 P2p
VLAN0199 Back BLK 200000 160.196 P2p
VLAN0200 Back BLK 200000 160.196 P2p
Router#
Fastethernet 4/4 is a trunk. Several VLANs are configured and active as shown in the example. The port
priority configuration applies to all VLANs on this interface.
Note The show spanning-tree interface command only displays information if the port is connected and
operating. If this condition is not met, enter a show running-config interface command to verify the
configuration.
This example shows how to configure the VLAN port priority of Fast Ethernet port 4/4:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface fastEthernet 4/4
Router(config-if)# spanning-tree vlan 200 port-priority 64
Router(config-if)# ^Z
Router#
The configuration entered in the example only applies to VLAN 200. All VLANs other than 200 still
have a port priority of 160.
This example shows how to verify the configuration:
Router# show spanning-tree interface fastethernet 4/4
Vlan Role Sts Cost Prio.Nbr Status
---------------- ---- --- --------- -------- --------------------------------
VLAN0001 Back BLK 200000 160.196 P2p
VLAN0006 Back BLK 200000 160.196 P2p
...
VLAN0199 Back BLK 200000 160.196 P2p
VLAN0200 Desg FWD 200000 64.196 P2p
Router#
Step 5 Router# show spanning-tree interface {type1
slot/port} | {port-channel port_channel_number}
Router# show spanning-tree vlan vlan_ID
Verifies the configuration.
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Command Purpose