VTP explained with Interview Questions
VTP explained with Interview Questions
by Shabeer ibm
VTP Modes
VTP-enabled switches can operate in one of three modes:
REMEMBER: A VTP client can update other clients and VTP servers
in the VTP domain, if its revision number is higher.
VTP Updates
By default revision number will be zero.Every change to the VLAN
database increments the configuration revision number by 1.A VTP
switch will only accept or synchronize an update if the revision
number is higher than that of the currently installed VLAN database.
Updates with a lower revision number are ignored.
Configuring VTP
To configure the VTP domain (the domain name is case sensitive):
Switch(config)# vtp domain <Name>
VTP Pruning
VTP pruning is a process of preventing unnecessary VLAN
broadcast or multicast traffic throughout the switching
infrastructure.With VTP pruning, traffic is only sent out the
necessary VLAN trunk ports where those VLANs exist.For
example,Consider 3 switches called switch A,B and C.
If A and B have vlan 10,20 and 30 and Switch C have vlan 10 and
20.By default all vlan information is sent along switches A,B and
C.Once we enable VTP Pruning vlan 30 information wont be send to
Switch C because vlan 30 doesnt exist there
OR like this
Switch(config)# interface fa0/24Switch(config-if)# switchport
trunk pruning vlan allSwitch(config-if)# switchport trunk pruning
vlan except 2-100
Troubelshooting commands:
#show vtp status#show vlan#debug sw-vlan vtp events
INTERVIEW QUESTIONS
what are different Vlan modes ?
What happens to interfaces when you delete a VLAN?
What is the difference between VTP Transparent and VTP Client
mode ?
Which is the default mode of VTP ?
what is VTP Pruning ?
What are two benefits of using VTP in a switching environment?
Which VTP mode is capable of creating only local VLANs and
does not synchronize with other switches in the VTP domain?