主要配置
vtp domain hb.com
vtp version 2
vtp mode server
vtp password 123
服务端
Switch(config)#vtp domain gzs.com //创建域名为 gzs.com
Switch(config)#vtp mode server //设置模式为 服务器模式
Switch(config)#vtp password gzs //设置密码为 gzs
Switch(config)#vtp version 2 //vtp版本为2
客户端
Switch(config)#vtp domain aaa //创建域名为 aaa
Switch(config)#vtp mode client //设置模式为 客户端模式
Switch(config)#vtp password 123 //设置密码为 123
Switch(config)#vtp version 2 //vtp版本为 2
锐捷GVRP配置,相当于思科VTP
gvrp enable #开启GVRP
gvrp dynamic-vlan-creation enable #开启动态vlan创建的功能
int g0/1 #进入接口
switchport mode trunk #把接口配置成trunk
gvrp applicant state normal #通告模式和注册模式,默认为normal
gvrp registration mode normal