How to Configure EtherSwitch HWICs
Command or Action
Step 3
interface {ethernet | fastethernet}
interface-id
Example:
Router(config)# interface fastethernet 0/1/6
Step 4
spanning-tree port-priority port-priority
Example:
Router(config-if)# spanning-tree port-priority
8
Step 5
spanning-tree vlan vlan-ID port-priority
port-priority
Example:
Router (config-if)# spanning-tree vlan vlan1
port-priority 12
Step 6
end
Example:
Router(config)# end
Step 7
show spanning-tree interface fastethernet
interface-id
Example:
Router# show spanning-tree interface
fastethernet 0/1/6
Example
Use the show spanning-tree interface to verify spanning-tree interface and the spanning-tree port priority
configuration, as illustrated below:
Router# show spanning-tree interface fastethernet 0/1/6
Port 264 (FastEthernet0/1/6) of VLAN200 is forwarding
Port path cost 19, Port priority 100, Port Identifier 129.8.
Designated root has priority 32768, address 0010.0d40.34c7
Designated bridge has priority 32768, address 0010.0d40.34c7
Designated port id is 128.1, designated path cost 0
Timers: message age 2, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 0, received 13513
Router#
Configuring Spanning Tree Port Cost
Spanning tree port costs are explained in the following section.
Book Title
38
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Purpose
Selects an interface to configure.
Configures the port priority for an interface.
•
The of port-priority value can be from 4 to 252 in
increments of 4.
•
Use the no form of this command to restore the
defaults.
Configures the priority for a VLAN.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the configuration file.