Content deleted Content added
Iridescent (talk | contribs) m Cleanup & typo fixing using AWB |
m Reverted edits by 2409:40F4:A9:8CF8:3571:30B8:8C24:DE86 (talk) (HG) (3.4.12) |
||
(211 intermediate revisions by more than 100 users not shown) | |||
Line 1:
{{short description|Networking protocol from Cisco}}
{{redirect|VTP}}
{{Refimprove|date=October 2016}}
'''VLAN Trunking Protocol''' ('''VTP''') is a [[Cisco]] [[proprietary protocol]] that propagates the definition of Virtual Local Area Networks ([[VLAN]]) on the whole local area network.<ref>[http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080094c52.shtml Understanding VLAN Trunk Protocol (VTP)] at Cisco.
</ref> To do this, VTP carries VLAN information to all the switches in a VTP ___domain. VTP advertisements can be sent over [[802.1Q]], and [[Cisco Inter-Switch Link|ISL]] trunks. VTP is available on most of the Cisco [[Catalyst switch|Catalyst]] Family products. Using VTP, each Catalyst Family Switch advertises the following on its [[Trunking|trunk]] ports:
* Management ___domain
* Configuration revision number
* Known VLANs and their specific parameters
There are three versions of VTP, namely version 1, version 2, version 3.
The comparable IEEE standard in use by other manufacturers is [[GARP VLAN Registration Protocol|GVRP]] or the more recent [[Multiple VLAN Registration Protocol|MVRP]].
==Implementation details==
[[File:VLAN_Trunking_Protocol.gif|thumb|right|300px|Example without and with VTP]]
On '''Cisco Devices''', VTP (VLAN Trunking Protocol) maintains VLAN configuration consistency across a single Layer 2 network. VTP uses Layer 2 [[Frame_(networking)|frames]] to manage the addition, deletion, and renaming of VLANs from switches in the VTP client mode. VTP is responsible for synchronizing VLAN information within a VTP ___domain and reduces the need to configure the same VLAN information on each switch thereby minimizing the possibility of configuration inconsistencies that arise when changes are made.
===Upside===
VTP provides the following benefits:
* VLAN configuration consistency across the layer 2 network
* Dynamic distribution of added VLANs across the network
* Plug-and-play configuration when adding new VLANs
===Downside===
When a new switch is added to the network, by default it is configured with no VTP ___domain name or password, but in VTP server mode. If no VTP Domain Name has been configured, it assumes the one from the first VTP packet it receives. Since a new switch has a VTP configuration revision of 0, it will accept any revision number as newer and overwrite its VLAN information if the VTP passwords match. However, if you were to accidentally connect a switch to the network with the correct VTP ___domain name and password but a higher VTP revision number than what the network currently has (such as a switch that had been removed from the network for maintenance and returned with its VLAN information deleted) then the entire VTP Domain would adopt the VLAN configuration of the new switch which is likely to cause loss of VLAN information on all switches in the VTP Domain, leading to failures on the network. Since Cisco switches maintain VTP configuration information separately from the normal configuration, and since this particular issue occurs so frequently, it has become known colloquially as the "VTP Bomb".
Before creating VLANs on the switch that will propagate via VTP, a VTP ___domain must first be set up. A VTP ___domain for a network is a set of all contiguously trunked switches with the matching VTP settings (___domain name, password and VTP version). All switches in the same VTP ___domain share their VLAN information with each other, and a switch can participate in only one VTP management ___domain. Switches in different domains do not share VTP information. Non-matching VTP settings might result in issues in negotiating VLAN trunks, port-channels or Virtual Port Channels.
== See also ==
*[[Multiple Registration Protocol]]
*[[VLAN access control list]]
== References ==
{{reflist}}
[[Category:Cisco protocols]]
[[Category:Ethernet]]
|