Specifications

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
109
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
Router(config)# end
Router#
Spanning Tree: Examples
The following example shows spanning tree being enabled on VLAN 20:
Router# configure terminal
Router(config)# spanning-tree vlan 20
Router(config)# end
Router#
Note Because spanning tree is enabled by default, issuing a show running command to view the resulting
configuration will not display the command you entered to enable spanning tree.
The following example shows spanning tree being disabled on VLAN 20:
Router# configure terminal
Router(config)# no spanning-tree vlan 20
Router(config)# end
Router#