VTP configuration

VTP configuration

Topology:

S1 config: (VTP server)

hostname S1

VTP domain ccna

vtp mode server

S2 config: (VTP client)

hostname S2

VTP domain ccna

vtp mode client

  • to verify , show vtp status

PS: all interfaces should be configured as trunk.

S1:

Switch(config)#int gi1/0/1

Switch(config-if)#switchport trunk encapsulation dot1q

Switch(config-if)#switchport mode trunk

S2:

Switch(config)#int gi1/0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk

Switch(config)#int gi1/0/2
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk

S3:

Switch(config)#int gi1/0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk

Lets test it:

we will create a vlan 55 on S1 (server) , and it should be configured via VTP on S2 which is the client:

S1(config)#vlan 55

S1(config-vlan)#name amigo

S1(config-vlan)#exit

S1(config)#exit

S1#

%SYS-5-CONFIG_I: Configured from console by console

S1#show vl

S1#show vlan br

S1#show vlan brief

VLAN Name Status Ports

—- ——————————– ——— ——————————-

1 default active Gig1/0/2, Gig1/0/3, Gig1/0/4, Gig1/0/5

Gig1/0/6, Gig1/0/7, Gig1/0/8, Gig1/0/9

Gig1/0/10, Gig1/0/11, Gig1/0/12, Gig1/0/13

Gig1/0/14, Gig1/0/15, Gig1/0/16, Gig1/0/17

Gig1/0/18, Gig1/0/19, Gig1/0/20, Gig1/0/21

Gig1/0/22, Gig1/0/23, Gig1/0/24, Gig1/1/1

Gig1/1/2, Gig1/1/3, Gig1/1/4

55 amigo active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

S1#

————————————————————————–

S2#show vlan brief

VLAN Name Status Ports

—- ——————————– ——— ——————————-

1 default active Gig1/0/2, Gig1/0/3, Gig1/0/4, Gig1/0/5

Gig1/0/6, Gig1/0/7, Gig1/0/8, Gig1/0/9

Gig1/0/10, Gig1/0/11, Gig1/0/12, Gig1/0/13

Gig1/0/14, Gig1/0/15, Gig1/0/16, Gig1/0/17

Gig1/0/18, Gig1/0/19, Gig1/0/20, Gig1/0/21

Gig1/0/22, Gig1/0/23, Gig1/0/24, Gig1/1/1

Gig1/1/2, Gig1/1/3, Gig1/1/4

55 amigo active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

and voila , vlan auto configured on S2.

S3 , will not have auto vlan configured because , its configured as vtp transparent.

Bilel-A

Enthusiastic Network Engineer specializing in Cisco ACI, passionate about solving challenges. A lifelong learner who loves gaining and sharing knowledge. Profile: https://www.linkedin.com/in/bilel-ameur-71116b2b5
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x