VTP (link aggregation Protocol)

Source: Internet
Author: User

VTP (link aggregation Protocol)
Vtp vlan TrunkingProtocol VLAN link aggregation protocol in a switching network with multiple switches, the same VLAN is usually configured on multiple switches, and the same configuration is also performed on multiple interfaces, to configure the same VLAN on multiple vswitches, VTP transmits the VLAN of one vswitch to other vswitches. After receiving VLAN information, other vswitches, then update your own VLAN database for synchronization. VTP is a two-layer Message Protocol. By managing vlan additions in the vtp domain, deleting or renaming vtp can maintain vlan configuration consistency, the vswitch only transmits vtp messages in the 802.1Q and ISL channels. The vswitch In The vtp domain must be connected to the trunk. A VTP domain is composed of one vswitch or multiple interconnect switches that share the same VTP environment. A Catalyst Switch can only support a single VTP domain in each vswitch. VTP has the following advantages. vlan configurations remain unchanged throughout the network; 2. a vlan ing mechanism that allows a vlan to be replayed in a network of hybrid media; 3. precise vlan tracking and monitoring; 4. dynamic reporting of vlan added throughout the network; 5. you can add plug-and-play configurations for new VLANs. VTP has three modes: 1. server mode: default mode. You can create, modify, and delete VLANs and advertise their VLAN configurations to switches in the same domain, it also accepts notices received from the Trunk link and synchronizes VLAN configurations with other switches. 2. the Client mode acts in the same server mode, but cannot create, change, or delete VLANs. Listen to VLAN information so that your vlan configuration information can be synchronized with the vtp server; you can also forward vlan information to other switches. 3. The Transparent mode does not participate in VTP. In VTP v2, switches configured in transparent mode will forward VTP information on the Trunk port to ensure that other switches receive updates, but these switches will not modify their own databases, no update information indicating a change in the VLAN status is sent. In VTP v1, vswitches in transparent mode do not forward vtp information to other vswitches. In transparent mode, a vswitch can create a vlan locally, but the vlan information does not spread to other vswitches. 4. The Off mode is similar to the transparent mode, but it completely discards the received VTP packets and does not forward the VTP packets. Only the catos switch supports the Off mode. SummarywKiom1XYTQCwLwp9AAElvaM9DhE324.jpg VTP trim by default, the trunk connection carries the traffic of all VLANs in The VTP management domain, and The VTP trim can be used to manage when the switch spreads unnecessary traffic. VTP pruning can increase the available bandwidth. One of the important elements of VTP version is the configuration version number. When the vtp server modifies its VLAN information, the configuration version number increases by 1, and then the new configuration version number is sent to the VTP through; if the configuration version being advertised is higher than the configuration version for other switches in The VTP domain, other switches in the domain will overwrite the existing VLAN configuration with the new information. Cisco supports vtp versions in V3. different versions cannot interwork with each other. Version. 1 or later versions of catos software and all versions of IOS software support VTP Version 1. Version 2: VTP Version 2 supports the following features not supported by Version 1. Ring Network Support, unrecognized TLV support, rain version-independent transparent mode, consistency check, if all vswitches in the domain run VTP version 2, VTP version 2 should be enabled on each vswitch, and The vtp server will spread the version number to other vswitches that support VTP version 2 in the domain. Version 3: not supported by IOS currently. Catos 8.1 or later versions support VTP Version 3. VTP Version 3 enhancements: 1. support for VLAN extension (1025-4096) 2. you can create and pass Pvlan3. this server authentication is supported. 4. enhanced protection mechanisms to prevent "Incorrect" databases from being accidentally inserted into the VTP domain. it can interact with versions 1 and 2. VTP can be configured based on each port. The master server is the only server in The VTP domain and is used to modify the VTP configuration. Even if there is no active master server, the single-slave server can ensure the configuration continuity after the restart. The VTP domain can also run for the following reasons: 1. The switch is restarted. 2. High Availability switching between active and redundant supervisor engines. 3. The secondary server is forced to take over. 4. The VTP mode, version, or password configuration is changed. VTP authentication ensures the security of the VTP domain by using the VTP password feature. Note that all vswitches In The VTP domain must have the same password and domain name, otherwise, the vswitch will not become a member of The VTP domain. Configure vtpwkiol1xytz6g9cxmaadbimbez_a162.jpg Switch # configterminalSwitch (config) # vtpserver | client # configure vtp mode Switch (config) # vtpdomain # configure vtp management domain Switch (config) # vtpversion 1 | 2 | 3 # configure vtp Switch (config) # vtp password # Set vtp domain password Switch (config) # vtp pruning # configure vtp trim Switch (config) # exit to verify the VTP configuration. Run the show vtp status Command to display the VTP configuration and current status. Run the show vtp counters command to display the running statistics of vtp. VTP troubleshooting VTP: 1. make sure that the vswitches are connected through the trunk link. The VTP information of the vswitch is only available in the trunk link. Check that all vswitches and vswitches use the same link aggregation protocol; run the show interface command to view the speed and duplex mode of each link partner. 2. confirm that all appropriate vswitches are configured with the same VTP domain name (the domain name is case sensitive ). 3. Check whether the switch works in VTP transparent mode. Only the vtp server mode and client mode can update their VLAN configurations based on VTP information. 4. confirm that all vswitches In The VTP domain use the same password and authentication. 5. Before you start VTP troubleshooting, back up the configuration of the ios vlan database.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.