Specifications

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
107
Router# vlan database
Router(vlan)# vtp server
Setting device to VTP SERVER mode.
Router(vlan)# vtp domain Lab_Network
Setting VTP domain name to Lab_Network
Router(vlan)# vtp password WATER
Setting device VLAN database password to WATER.
Router(vlan)# exit
APPLY completed.
Exiting....
Router#
The following example shows how to configure the switch as a VTP client:
Router# vlan database
Router(vlan)# vtp client
Setting device to VTP CLIENT mode.
Router(vlan)# exit
In CLIENT state, no apply attempted.
Exiting....
Router#
The following example shows how to configure the switch as VTP transparent:
Router# vlan database
Router(vlan)# vtp transparent
Setting device to VTP TRANSPARENT mode.
Router(vlan)# exit
APPLY completed.
Exiting....
Router#
Spanning Tree: Examples
Spanning-Tree Interface and Spanning-Tree Port Priority: Example, page 107
Spanning-Tree Port Cost: Example, page 108
Bridge Priority of a VLAN: Example, page 109
Hello Time: Example, page 109
Forward-Delay Time for a VLAN: Example, page 109
Maximum Aging Time for a VLAN: Example, page 109
Spanning Tree: Examples, page 109
Spanning Tree Root: Example, page 110
Spanning-Tree Interface and Spanning-Tree Port Priority: Example
The following example shows the VLAN port priority of an interface being configured:
Router# configure terminal
Router(config)# interface fastethernet 0/3/2
Router(config-if)# spanning-tree vlan 20 port-priority 64
Router(config-if)# end
Router#
The following example shows how to verify the configuration of VLAN 200 on the interface when it is
configured as a trunk port: