Header Ads


Articles
recent

Cisco CCNA Basics VII: Configuration Example of VTP, VTPv2 and VTPv3

Today I am going to talk about the configuration example showing VTP- Virtual Trunking Protocol. As we know that VTP has 4 modes and these modes are VTP server mode, VTP client mode, VTP transport mode and VTP off mode. 

VTP Modes:
VTP Server mode: You can make changes in the VLANs which means you can create, edit and delete the VLANs in the switched network.
VTP Client mode: Here the VLAN changes can’t be done and get the update from VTP server mode.
VTP transparent mode: In VTP transparent mode, VTP is disabled on the device. The device does not send VTP updates and does not act on VTP updates received from another device.
VTP off mode: VTP off mode is the same as VTP transparent mode except that VTP advertisements are not forwarded.

Fig 1.1- VTP Topology

Configuration of VTP basic 
//Device name here is Config-XP
RouteXP> enable
RouteXP # configure terminal
RouteXP (config)# vtp domain Networking
RouteXP (config)# vtp mode server
RouteXP (config)# vtp password Cisco123#
RouteXP (config)# end
RouteXP # show vtp status
RouteXP # copy running-config startup-config

Configuration of VTP 2 basic 
//Device name here is Config-XP
RouteXP> enable
RouteXP # configure terminal
RouteXP (config)# vtp version 2
RouteXP (config)# vtp domain Networking
RouteXP (config)# vtp mode server
RouteXP (config)# vtp password Cisco123#
RouteXP (config)# end
RouteXP # show vtp status
RouteXP # copy running-config startup-config

Configuration of VTP version 3 Server
//Device name here is Config-XP
RouteXP > enable
RouteXP # configure terminal
RouteXP (config)# vtp version 3
RouteXP # vtp primary vlan force

Configuration of VTP version 3 Password
//Device name here is Config-XP
RouteXP > enable
RouteXP # configure terminal
RouteXP (config)# vtp version 3
RouteXP (config)# vtp password Cisco123# hidden
RouteXP (config)# end
RouteXP # show vtp status
RouteXP # copy running-config startup-config

Powered by Blogger.