
Configuring the Cisco Gigabit EtherSwitch EHWIC
How to Configure Gigabit EtherSwitch EHWICs
31
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
DETAILED STEPS
Verifying Spanning Tree Port Priority
Use the show spanning-tree interface command to verify spanning-tree interface and the spanning-tree
port priority configuration.
Router#show spanning-tree interface gigabitethernet 0/1/2
Port 16 (GigabitEthernet0/1/2) of VLAN1 is forwarding
Port path cost 4, Port priority 128, Port Identifier 128.16.
Designated root has priority 32768, address 0008.e36d.9f70
Designated bridge has priority 32768, address 0025.451b.b22a
Designated port id is 128.16, designated path cost 38
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 9096, received 1
Router#
Configuring Spanning Tree Port Cost
Beginning in global configuration mode, follow these steps to configure the spanning tree port cost of
an interface.
SUMMARY STEPS
1. interface gigabitethernet 0/slot/port
2. spanning-tree cost port_cost
Command Purpose
Step 1
interface gigabitethernet 0/slot/port
Example:
Router(config)#interface gigabitethernet
0/slot/port
Selects an interface to configure.
Step 2
spanning-tree port-priority port_priority
Example:
Router(config-if)#spanning-tree port-priority
port_priority
Configures the port priority for an interface. The
port_priority value can be from 0 to 255, in increments of 8.
Use the no form of this command to restore the defaults.
Step 3
spanning-tree vlan vlan_ID port-priority
port_priority
Example:
Router(config-if)#spanning-tree vlan vlan_ID
port-priority port_priority
Configures the VLAN port priority for an interface. The
port_priority value can be from 0 to 255, in increments of 8.
Use the no form of this command to restore the defaults.
Step 4
end
Example:
Router(config-if)#end
Exits configuration mode.
Comentarios a estos manuales