VTP Commands (continued) Command Meaning

VTP Commands (continued)
Command Meaning
vtp password Configures a password to be used by the switches in a VTP
domain. The password serves two purposes. It allows updates
to be authenticated, ensuring the update came from the correct
server. With that authentication, it then adds a step in preventing
an incorrect server from joining the domain and wiping out
the VLAN database.
show vtp status Displays all the configured options for VTP on the current
switch. This is one of the most useful commands when troubleshooting
VTP, because it allows the domain name, revision
number, and other settings to easily be verified.
Let’s take a look at an example on how to use these commands:
S1#config t
S1#(config)#vtp mode server
Device mode already VTP SERVER.
S1(config)#vtp domain Lammle
Changing VTP domain name from null to Lammle
S1(config)#vtp password todd
Setting device VLAN database password to todd
S1(config)#do show vtp password
VTP Password: todd
S1(config)#do show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 8
VTP Operating Mode : Server
VTP Domain Name : Lammle
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x15 0x54 0x88 0xF2 0x50 0xD9 0x03 0x07
Configuration last modified by 192.168.24.6 at 3-14-93 15:47:32
Local updater ID is 192.168.24.6 on interface Vl1 (lowest numbered VLAN
interface found)
Let’s go to the Core and S2 switches and set them into the Lammle VTP domain. It is important
to remember that the VTP domain name is case sensitive! VTP is not forgiving—one teeny
small mistake, and it just won’t work!
Core#config t
Core(config)#vtp mode client
Setting device to VTP CLIENT mode.
Core(config)#vtp domain Lammle
Changing VTP domain name from null to Lammle
Core(config)#vtp password todd
Setting device VLAN database password to todd
Core(config)#do show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : Lammle
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x2A 0x6B 0x22 0x17 0x04 0x4F 0xB8 0xC2
Configuration last modified by 192.168.10.19 at 3-1-93 03:13:16
Local updater ID is 192.168.24.7 on interface Vl1 (first interface found)
Here’s how to use the show vlan brief command on the Core and S2 switch:
Core#sh vlan brief
VLAN Name Status Ports
---- ------------------ --------- ---------------------
1 default active Fa0/1,Fa0/2,Fa0/3,Fa0/4
Fa0/9,Fa0/10,Fa0/11,Fa0/12
Fa0/13,Fa0/14,Fa0/15, Fa0/16,Fa0/17, Fa0/18, Fa0/19, Fa0/20,Fa0/21, Fa0/
22, Fa0/23, Fa0/24, Gi0/1, Gi0/2
2 Sales active
3 Marketing active
4 Accounting active
[output cut]