Popular Posts

Share |

Monday, March 15, 2010

Lab commands - VTP configurations

How to Configure VTP and how to view configurations ?
Since you have practiced certain commands and been in touch with cisco devices i assume that i don't need to explain basic commands from here.
As you know by default all the Catalyst switches are on server mode. To view the current mode,
in CLI ( Command Line Interface )
go to privilege mode enter following command.

Switch#show vtp status 
VTP Version                     : 2
Configuration Revision       : 0
Maximum VLANs supported locally : 255
Number of existing VLANs              : 5
VTP Operating Mode                       : Server
VTP Domain Name                          : 
VTP Pruning Mode                          : Disabled
VTP V2 Mode                                : Disabled
VTP Traps Generation                     : Disabled
MD5 digest                      : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A 
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found) 

You can see the VTP operating mode is Server and many details which we have to discuss in advance.

Now enter to Global configuration mode and type following commands


Switch(config)#vtp mode client " To change the VTP mode from server to client "
Setting device to VTP CLIENT mode.
Switch(config)#vtp domain cisco " To assign the domain name as cisco "
Changing VTP domain name from NULL to cisco

As i explained in earlier articles, the domain name must be same in all switches which you want to make receive updates from a server switch. That meant when you assign domain name as cisco for one switch in server mode and assign all other client mode switched the sane domain name, All client switches which have domain name as cisco will receive updates from server switch.

No comments:

Post a Comment

Related Posts with Thumbnails