![]() |
VOOZH | about |
To carry traffic of a VLAN, it must be first configured on the switch. Suppose, if the user wants to send a frame from source to destination and the shortest path between them contains 1000 switches. To process a frame of any VLAN, VLANs should be configured first so, have to configure the same VLANs on all the 1000 switches manually. It will not be possible for the administrator to do that. Here comes VTP to the rescue.
VLAN Trunking Protocol (VTP) - VTP is CISCO proprietary protocol used to maintain consistency throughout the network or the user can say that synchronizing the VLAN information in the same VTP domain. VTP allows you to add, delete and rename VLANs which is then propagated to other switches in the VTP domain. VTP advertisements can be sent over 802.1Q, and ISL trunks.
Requirements - There are some requirements for VTP to communicate VLAN information between switches. These are:
VTP modes - There are 3 modes:
Switch# config terminal Switch(config)#vtp mode server
Now, User has to make a VTP domain and assign a password for authentication.
Switch(config)#vtp domain geeksforgeeks Switch(config)#vtp password hardwork
User can verify the configuration by:
Switch(config)#do should vtp password Switch(config)#do show vtp
Switch(config)#vtp mode client
Switch(config)#vtp mode transparent
Configuration Revision Number - The configuration revision number is a 32-bit number that indicates the level of revision for a VTP packet. This configuration number is tracked by every switch in order to find that the received information is more recent than the current version. Everytime one modification is done on the VLANs by the server switch, and the configuration revision number increases by one. The client mode devices receive it and check if the configuration revision number that they received is latest or not by comparing their own configuration number with the number received. If the configuration number is greater than their own number then the devices update their configuration and pass it to other clients of the same VTP domain. If the configuration number is the same then the devices just pass it to other clients of the same VTP domain. User can check the configuration revision number by:
switch(config)#do show vtp status
Use VTP in an Organization: As a matter of course, all switches are designed to be VTP servers. This design is appropriate for limited-scope networks in which the size of the VLAN data is little and the data is easily put away in all switches (in NVRAM). In an enormous organization, the organization chairman should settle on a decision sooner or later, when the NVRAM stockpiling that is important is inefficient in light of the fact that it is copied on each switch. Right now, the organization overseer should pick a couple of exceptional switches and keep them as VTP servers. All the other things that partake in VTP can be transformed into a client. The quantity of VTP servers should be picked to give the level of overt repetitiveness that is wanted in the organization.
Contemplations: