10-15
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter10 Understanding and Conf iguring VLANs, VTP, and VMPS
VLAN Trunking Protocol
This example shows how to configure the switch as a VTP server:
Switch# configuration terminal
Switch(config)# vtp mode server
Setting device to VTP SERVER mode.
Switch(config)# vtp domain Lab_Network
Setting VTP domain name to Lab_Network
Switch(config)# end
Switch#
This example shows how to verify the configuration:
Switch# show vtp status
VTP Version : 2
Configuration Revision : 247
Maximum VLANs supported locally : 1005
Number of existing VLANs : 33
VTP Operating Mode : Server
VTP Domain Name : Lab_Network
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x45 0x52 0xB6 0xFD 0x63 0xC8 0x49 0x80
Configuration last modified by 0.0.0.0 at 8-12-99 15:04:49
Local updater ID is 172.20.52.34 on interface Gi1/1 (first interface found)
Switch#
Configuring the Switch as a VTP Client
To configure the Catalyst4500 series switch as a VTP client, perform this task:
This example shows how to configure the switch as a VTP client:
Switch# configuration terminal
Switch(config)# vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)# exit
Switch#
This example shows how to verify the configuration:
Switch# show vtp status
VTP Version : 2
Configuration Revision : 247
Maximum VLANs supported locally : 1005
Number of existing VLANs : 33
VTP Operating Mode : Client
VTP Domain Name : Lab_Network
VTP Pruning Mode : Enabled
Command Purpose
Step1 Switch# configuration terminal Enters configuration mode.
Step2 Switch(config)# [no] vtp mode client Configure the switch as a VTP client.
Use the no keyword to return to the default setting (server
mode).
Step3 Switch(config)# end Exits configuration mode.
Step4 Switch# show vtp status Verifies the configuration.