VTP of Cisco

Source: Internet
Author: User
Tags md5 digest

VTP (Virtual LAN Relay protocol): Cisco's private protocol, through the VTP protocol, can be implemented between the exchange of messages between the switch, so as to achieve the synchronization of VLAN and unified management.

VTP Example:

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/94/10/wKiom1kLRyqA4V3yAAAnRNcPrV4865.jpg-wh_500x0-wm_ 3-wmp_4-s_536987812.jpg "title=" 2017-05-04_232121.jpg "alt=" Wkiom1klryqa4v3yaaanrncprv4865.jpg-wh_50 "/>

R3:

R3 (config) #int f1/1 #trunk模式

R3 (config-if) #switchport mode trunk


R3 (config) #vtp domain Cisco #所有启用VTP的交换机域名一致

R3 (config) #vtp password Cisco #VTP密码一致


The R3 (config) #vtp mode server #VTP域至少有一台处于服务器模式 for

R3 (config) #vtp pruning create, modify, and delete VLANs

Pruning switched on


R3 (config) #vlan #新建VLAN

R3 (Config-vlan) #name vlan10

R3 (Config-vlan) #vlan 20

R3 (Config-vlan) #name Vlan20


R3 (config) #int vlan 1 #管理IP

R3 (config-if) #ip add 172.16.1.1 255.255.255.0

R3 (config-if) #no sh


R3#sh Vlan-switch #查看VLAN


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 Default Active fa1/0, FA1/2, FA1/3, FA1/4

FA1/5, FA1/6, FA1/7, FA1/8

FA1/9, FA1/10, FA1/11, FA1/12

FA1/13, FA1/14, FA1/15

Ten Vlan10 Active

Vlan20 Active


R3#show VTP Status #查看VTP状态信息

VTP Version:2

Configuration Revision:3

Maximum VLANs Supported locally:36

Number of existing Vlans:7

VTP Operating Mode:server

VTP Domain Name:cisco

VTP Pruning mode:enabled

VTP V2 mode:disabled

VTP Traps generation:disabled

MD5 digest:0x0a 0x68 0x1E 0xCC 0xFC 0xF2 0x7E 0x6F

Configuration last modified by 0.0.0.0 at 3-1-02 00:21:50

Local Updater ID is 172.16.1.1 on interface Vl1 (lowest numbered VLAN interface found)


R4, R5 configuration :

R4 (config) #int F1/1

R4 (config-if) #switchport mode trunk

R4 (config) #int f1/2

R4 (config-if) #sw Mo Trunk

R4 (config) #vtp domain Cisco

R4 (config) #vtp password Cisco

R4 (config) #vtp mode client


View R4, R5 whether the VLAN is synchronized:

R4#show Vlan-switch


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 Default Active fa1/0, FA1/3, FA1/4, FA1/5

FA1/6, FA1/7, FA1/8, FA1/9

FA1/10, FA1/11, FA1/12, FA1/13

FA1/14, FA1/15

Ten Vlan10 Active

Vlan20 Active


R5#show VLAN-SWI


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 Default Active fa1/0, FA1/1, FA1/3, FA1/4

FA1/5, FA1/6, FA1/7, FA1/8

FA1/9, FA1/10, FA1/11, FA1/12

FA1/13, FA1/14, FA1/15

Ten Vlan10 Active

Vlan20 Active


To view the VTP status:

R4#sh VTP Status

VTP Version:2

Configuration Revision:3

Maximum VLANs Supported locally:36

Number of existing Vlans:7

VTP Operating mode:client

VTP Domain Name:cisco

VTP Pruning mode:enabled

VTP V2 mode:disabled

VTP Traps generation:disabled

MD5 digest:0x0a 0x68 0x1E 0xCC 0xFC 0xF2 0x7E 0x6F

Configuration last modified by 0.0.0.0 at 3-1-02 00:21:50


This article from "10,000 years too long, seize" blog, please be sure to keep this source http://zengwj1949.blog.51cto.com/10747365/1922243

VTP of Cisco

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.