What is VTP? How To Configure VTP Explained with Examples

By | 9th November 2015

How to Configure VTP on a Cisco switch

In the diagram above, a trunk link is configured between switch S1, (VTP Server), S2 and S3 – VTP client.

After a trunk is established between the switches, VTP summary advertisement is exchanged among the switches.

how to configure vtp

In the diagram above, a trunk link is configured between switch S1, (VTP Server), S2 and S3 – VTP client.

After a trunk is established between the switches, VTP summary advertisement is exchanged among the switches.

How to Configure VTP on a Cisco switch

VTPConfigurationGuidelines

The following command is used to configure a switch (S1) as VTP server:

Sw1#config t

Sw1(config)#vtp mode server

Sw1(config)#exit

Configure switch (Sw2 and Sw3) as  VTP client:

Sw2#config t

Sw2(config)#vtp mode client

Sw2(config)#exit

Configuring VTP Domain Name and Password:

For VTP summary advertisement be exchanged among the switches, all switches in the network have to belong to the same domain and use the same password:

VTP Domain

Sw1#config t

Sw1(config)#vtp domain lab

Sw1(config)#exit

VTP password

Sw1#config t

Sw1(config)#vtp password orbit123

Sw1(config)#exit

Configure the same domain name and password for the clients.

Confirm configuration changes.

Use the show vtp status command on S1 to confirm that the VTP mode and domain are configured

correctly.

Sw1#show vtp status

VTP Version : 2

Configuration Revision : 0

Maximum VLANs supported locally : 64

Number of existing VLANs : 5

VTP Operating Mode : Server

VTP Domain Name : lab

VTP Pruning Mode : Disabled

VTP V2 Mode : Disabled

VTP Traps Generation : Disabled

MD5 digest : 0x8C 0x29 0x40 0xDD 0x7F 0x7A 0x63

Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00

Confirm the same for S1 and S2

To verify the VTP password, use the show vtp password command.

Sw1#show vtp password

VTP Password: orbit123

S1#

VTP Pruning

 VLAN Configuration

 VLAN ID Ranges

 VLAN Switch Port Membership

 Voice VLAN Configuration

VTP Modes of Operation

Host Standby  Redundancy Protocol (HSRP)

Virtual Router Redundancy Protocol (VRRP)

Gateway Load Balancing Protocol (GLBP)

Spanning Tree Protocol (STP)

IPv6

EIGRPv6

RIPv6

OSPFv3

DHCPv6

Leave a Reply

Your email address will not be published. Required fields are marked *