16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Examples for the 16- and 36-Port Ethernet Switch Module
133
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
VTP Examples
•
VTP Server Example, page 133
•
VTP Client Example, page 133
•
Disabling VTP (VTP Transparent Mode) Example, page 133
•
VTP version 2 Example, page 133
VTP Server Example
The following example shows how to configure the switch as a VTP server:
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#
VTP Client Example
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#
Disabling VTP (VTP Transparent Mode) Example
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#
VTP version 2 Example
The following example shows VTP version 2 being enabled:
Router#
vlan database
Router(vlan)#
vtp v2-mode
V2 mode enabled.