Basic Cisco Switch Configuration - 3. Create and Enable VTP on Network
πEnable VTP Config on Network π
If you get a CCNA job, it is likely that you will manage a lot of switches. You will work a lot with VLANs, adapting the network to business needs. Since this could potentially eat all of your time, we can use some tools to make our job fast. VTP – VLAN Trunk Protocol, is one of the tools that Cisco offers for that. With VTP, we can propagate VLAN changes to all our switches in seconds. However, to do that we need to understand how the VLAN Trunk protocol works. If used in the wrong way, it can destroy your network.
Click on HERE to reach video tutorial.
VTP Modes
With VTP version 1 and 2, each switch can play three different roles: server, client and transparent.
- A switch in server mode will allow the administrator to configure VLANs (or modify/delete them). It will increase the revision number on each modification and propagate the database to other switches. This is the default.
- In client mode, the switch doesn’t allow the configuration of VLANs. However, it can receive VTP databases from servers and clients and propagate to the connected switches
- A switch in transparent mode doesn’t sync with other VTP switches, but it allows VTP messages to pass through it (and propagate to other switches, acting as a bridge)
The Topology
The Requirements
- Only VTP Server allow to create and modify the VLANs.
- VTP Client should not allow to create or modify the VLA Database.
- VTP Transparent should able to create or modify their local VLAN Database and should not sync with general VTP domain.
- VTP Transparent should allow to pass VLAN Database table details to other switches which connected and assign with VTP domain.
- If any changes done in VTP Server its should updated on all VTP Domain member switches.
To Enable VTP Server mode in switch please follow below ππ
VTPServer>
VTPServer>enable
VTPServer#
VTPServer#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
VTPServer(config)#
VTPServer(config)#vtp mode server
Device mode already VTP SERVER.
VTPServer(config)#
VTPServer(config)#vtp password cisco
Password already set to cisco
VTPServer(config)#vtp version 2
VTPServer(config)#
VTPServer(config)#vtp domain netconsole
Domain name already set to netconsole.
VTPServer(config)#
VTPServer(config)#
To Enable VTP Client mode in switch please follow below ππ
VTPClient1>
VTPClient1>enable
VTPClient1#
VTPClient1#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
VTPClient1(config)#
VTPClient1(config)#vtp mode Client
Device mode already VTP SERVER.
VTPClient1(config)#
VTPClient1(config)#vtp password cisco
Password already set to cisco
VTPClient1(config)#vtp version 2
VTPClient1(config)#
VTPClient1(config)#vtp domain netconsole
Domain name already set to netconsole.
VTPClient1(config)#
VTPClient1(config)#
To Enable VTP Transparentmode in switch please follow below ππ
VTPTrans>
VTPTrans>enable
VTPTrans#
VTPTrans#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
VTPTrans(config)#
VTPTrans(config)#vtp mode transparent
Device mode already VTP SERVER.
ππ Here its not required to enable or assign VTP Password, Version and Domain.
Change switch port as a Trunk Port
VTPServer(config)#interface fastEthernet 0/1
VTPServer(config-if)#switchport mode trunk
VTPServer(config-if)#
☝☝ Each and every port need to change as TRUNK port for share the VLAN details
That`s it now you successfully configured VTP on your network whatever changes you made on VTP Server it`ll update on each and every switch which align with same VTP Domain.
***************** NetConsole********************
Comments
Post a Comment