Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
110
Book Title
Router#
show run interface fastethernet0/3/2
Building configuration...
Current configuration: 140 bytes
!
interface FastEthernet0/3/2
switchport access vlan 20
no ip address
spanning-tree vlan 20 port-priorityy 64
spanning-tree cost 18
end
The following example shows how to verify the configuration of the interface when it is configured as
an access port:
Router#
show spanning-tree interface fastethernet 0/3/2
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#
Bridge Priority of a VLAN: Example
The following example shows the bridge priority of VLAN 20 being configured to 33792:
Router#
configure terminal
Router(config)#
spanning-tree vlan 20 priority 33792
Router(config)#
end
Router#
Hello Time: Example
The following example shows the hello time for VLAN 20 being configured to 7 seconds:
Router#
configure terminal
Router(config)#
spanning-tree vlan 20 hello-time 7
Router(config)#
end
Router#
Forward-Delay Time for a VLAN: Example
The following example shows the forward delay time for VLAN 20 being configured to 21 seconds:
Router#
configure terminal
Router(config)#
spanning-tree vlan 20 forward-time 21
Router(config)#
end
Router#
Maximum Aging Time for a VLAN: Example
The following example configures the maximum aging time for VLAN 20 to 36 seconds:
Router#
configure terminal
Router(config)#
spanning-tree
vlan 20 max
-
age 36