How to choose VLAN Trunking Protocol 2025
Introduction
VTP (VLAN Trunking Protocol) is protocol used to Cisco proprietary the automates Vlans network is easy to used and management Vlans is single switch the same VTP domain.
VTP Modes
There are three VTP modes:
server, client, and transparent.
server model
a switch can create, modify, and delete VLANs, that will be used to creat any vlans
client model
a switch can receive and store VLAN information from other switches in the same VTP domain are not cannot create, modify, or delete VLANs.
transparent model
a switch will not participate in VTP updates and will only pass on VTP advertisements to other switches,and creat any vlans to switch

Switch#
Switch#conf
Switch(config)#int rang f0/1-2
Switch(config-if-range)#sw m tr
Switch(config-if-range)#do sh int tr
Switch(config)#do sh vtp sta
Switch(config)#vtp domain zone
Changing VTP domain name from NULL to zone
Switch(config)#do sh vtp sta
Switch(config)#vtp ver 2
Switch(config)#vtp pass 1234
Switch(config)#vtp mode ?
Switch(config)#vtp mode server
Switch(config)#do sh vtp sta
Switch(config)#do sh vtp pass
VTP Password: 1234
Switch(config)#vlan 10
Switch(config-vlan)#name sales
Switch(config-vlan)#do sh vlan
Switch(config-vlan)#do sh vtp sta
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name mangement
Switch(config-vlan)#vlan 40
Switch(config-vlan)#name it
Switch(config-vlan)#do sh vtp sta
Tran
Switch>
Switch>en
Switch#sh int tr
Switch#conf
Switch(config)#int f0/3
Switch(config-if)#sw m tr
Switch(config-if)#do sh int tr
Switch(config)#vtp domain zone
Domain name already set to zone.
Switch(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Switch(config)#vtp pass 1234
Setting device VLAN database password to 1234
Switch(config)#vtp ver 2VTP mode already in V2.
Clien
Switch(config)#vtp domain zone
Domain name already set to zone.
Switch(config)#do sh vtp st
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#do sh vlan
Switch(config)#vtp pass 1234
Switch(config)#do sh vlan
CCNP VTP
SW1(config)#vtp domain SWITCH
Changing VTP domain name from null to SWITCH
SW1(config)#vtp version 2
SW1(config)#vtp mode server
SW1(config)#vtp password CCNP
Setting device VLAN database password to CCNP
SW1#show vtp status
SW1(config)# interface GigabitEthernet 0/0
SW1(config-if-range)# switchport mode dynamic auto
SW1(config)# interface GigabitEthernet 0/1
SW1(config-if-range)# switchport mode dynamic auto
SW1#show interfaces trunk
SW1(config)# Vlan 100
SW1(config)# Vlan 200
SW1(config)# Vlan 300
SW1(config)# Vlan 400
SW1#show vlan brief
SW2# show vlan brief
SW2(config)#vtp domain SWITCH
Changing VTP domain name from null to SWITCH
SW2(config)#vtp version 2
SW1(config)#vtp mode server
SW2(config)#vtp password CCNP
Setting device VLAN database password to CCNP
SW2#show vtp status
SW2(config)# interface GigabitEthernet 0/0
SW2(config-if-range)# switchport mode dynamic desirable
SW2(config)# interface GigabitEthernet 0/1
SW2(config-if-range)# switchport mode dynamic auto
SW2#show interfaces trunk
SW2# show vlan brief
SW3(config)#vtp domain SWITCH
Changing VTP domain name from null to SWITCH
SW3(config)#vtp version 2
SW1(config)#vtp mode Client
SW3(config)#vtp password CCNP
Setting device VLAN database password to CCNP
SW3#show vtp status
SW3(config)# interface GigabitEthernet 0/2
SW3(config-if-range)# switchport mode dynamic auto
SW3(config)# interface GigabitEthernet 0/1
SW3(config-if-range)# switchport mode dynamic desirable
Verify your configuration using the show interfaces trunk command as follows:
SW3#show interfaces trunk
SW3# show vlan brief