November 27, 2016, from the work content has been changed for a period of time, compared to the weak project, found that the content of contact more but not proficient, need to learn too much, so that there is no time to self-study network switch, suddenly need to configure the switch, the discovery and forget almost, the face of their own rest, Today calm down to self-study a vague concept of VTP.
First, the VTP concept:
1, Span style= "Color:rgb (255,0,0); font-family: ' Arial ', Simsun;font-size:20px;line-height:21px;background-color:rgb ( 253,234,218); " >VTP called virtual LAN Relay protocol is Cvisco's proprietary protocol, which is used to ensure configuration consistency, most Catalyst switches support the protocol, using the VTP protocol, you can get from a control point, VLAN Add, delete, and rename work is maintained across the enterprise network.
2. advantages :
(1) maintain the consistency of VLAN configuration (VTP is responsible for synchronizing VLAN information within the VTP domain).
(2) provides a way to increase the virtual local area network from one switch across the admin domain.
3. Prerequisites for establishing a VTP domain:
You must specify a VTP domain name for each switch using VTP
(1)each switch in the domain must use the same VTP domain name
(2)The catalyst switch must be an adjacent
(3)Trunk trunk must be enabled
Ii. three modes of VTP:
the server and client modes are commonly used in daily work.
1. Server Mode servers
Function: 1) can add, delete, change VLAN
2) providing VTP messages
3) Learn the VTP messages for the same domain name
4) Forward VTP messages with the same domain name
2. Client mode clients
function: 1) cannot add, delete, change VLAN
2) Learn the VTP of the same domain name
3) The VTP that forwards the same domain name
4) Request a VTP message
3. Transparent mode transparent
Features: 1) No VTP messages available
2) do not learn VTP messages
3) Forwarding VTP messages
4) can add, delete, change VLAN, but only valid locally
Third, the V1 and V2 versions of VTP differ:
1, V1 only applicable to Ethernet, V2 also applicable token ring
2. v2 can forward VTP in different domain names
Iv. VTP Notices
1. VTP Notification Overview:
When using VTP, each switch that joins a VTP domain advertises the following information on the relay port:
1) name of the admin domain
2) version number (V1 or V2)
3) Configuration Modification Number (0~4294967295)
4) MD5 Summary
5) identity of the person who updated
2, the characteristics of the announcement:
1) Send using multicast address: 01-00-0C-CC-CC-CC
2) pass through trunk only
3) VTP messages are forwarded via VLAN1
3. VTP Message Type:
1) Notification request from the client
2) Summary Notice
3) Subset Notification
4. Initialize the revision number to the 0 method:
1) VTP mode changed to transparent and then to server
2) Change the domain name once and then change it back
V: Configuration commands for VTP:
Config terminal (switch to global mode)
1) VTP domain yida (domain name)
under Global or VLAN database, create a VTP domain
2) VTP Mode server | Client | Transparent
Toconfigure VTP mode for a switch in global, VLAN database VTP Server | Client | Transparent
3) Vtp password yi8888 (password)
Configure the VTP password in global or VLAN database
4) VTP Pruning
Configure VTP pruning in global or VLAN database
5) VTP version 2
To configure the version of VTP under global
6)Swichport Trunk Encapsulation Protocol (dot1q or ISL)
Under "Interface", give the Trunk encapsulation protocol
7) Show VTP Status
To view the configuration information for VTP under privileges
If there is a configuration VLAN, we recommend using the VTP protocol to facilitate our daily management of the network.
This article from "7732617" blog, declined reprint!
Cisco self-learning knowledge points-------VTP domain Concept learning