VTP(VLAN Trunking Protocol):是VLAN中继协议,也被称为虚拟局域网干道协议。它是思科私有协议。作用是十几台交换机在企业网中,配置VLAN工作量大,可以使用VTP协议,把一台交换机配置成VTP Server, 其余交换机配置成VTP Client,这样他们可以自动学习到server 上的VLAN 信息。
提示:以下是本篇文章正文内容,下面案例可供参考
VTP(VLAN Trunking Protocol)
VTP域的组成
服务器模式(Server)
客户机模式(Client)
透明模式(Transparent)
Server模式
Client模式
Transparent模式
VTP通告内容
VTP通告类型 1)汇总通告(服务器) 2)通告请求(客户机、服务器) 3)详细通告(服务器)
创建VTP域
Switch(config)# vtp domain domain_name
配置交换机的VTP模式
Switch(config)# vtp mode { server | client | transparent }
配置VTP版本
Switch(config)# vtpversion 2
配置VTP版本
Switch(config)# vtppassword 密码
查看VTP配置信息
Switch# show vtp status