Popular Posts

Share |
Showing posts with label VTP. Show all posts
Showing posts with label VTP. Show all posts

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.

Thursday, March 11, 2010

VTP ( VLAN Trunking Protocol) - 802.1Q

VTP ( VLAN Trunking Protocol) - 802.1Q


VLAN Trunking Protocol (VTP) is a Cisco Layer 2 messaging protocol that manages the addition, deletion, and renaming of VLANs on a network-wide basis. Virtual Local Area Network (VLAN) Trunk Protocol (VTP) reduces administration in a switched network. When you configure a new VLAN on one VTP server, the VLAN is distributed through all switches in the domain. This reduces the need to configure the same VLAN everywhere. VTP is a Cisco-proprietary protocol that is available on most of the Cisco Catalyst Family products.

VTP has 3 operational modes as follows
1. Server ( default )
2. Client
3. Transparent 

How it's operating ?

As usual all the Cisco switches are on VTP server mode by default. that means such switched works as a server to manage VLANs. When we configure VLANs on switch in server mode and connects it to the network, it sends advertisement to the other switches on the network in every 5 minute which contain details about VLANs where configured on him self. 

The network can be contain other switched in client mode and transparent mode. When a Vlan advertisement  received by a client switch, it automatically make configurations of vlan on him self according to the advertisement and pass it to the next switch.

When a advertisement received by a transparent switch, it only pass it to the next and no make any configurations on him self. 

21c.gif

Configurations can be done as follows.

Server mode - can configure VLANs on switch, Send advertisements, Don't receive updates
Client mode - can't configure VLANs on switch, don't send advertisements, receive updates
Transparent mode - can configure VLANs on switch, Pass through advertisements
Related Posts with Thumbnails