实验 10 VTP配置

实验10 VTP配置.rar

拓扑图:



Switch 0 :

Switch0#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch0(config)#vtp mode server
Device mode already VTP SERVER.

Switch0(config)#vtp domain cisco
Changing VTP domain name from NULL to cisco

Switch0(config)#vtp password ccna
Setting device VLAN database password to ccna
Switch0(config)#end

Switch0#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Switch0(config)#vlan 10
Switch0(config-vlan)#vlan 20
Switch0(config)#interface f0/1
Switch0(config-if)#switchport mode trunk



Switch 1 :

Switch#configure terminal
Switch(config)#vtp mode ?
client Set the device to client mode.
server Set the device to server mode.
transparent Set the device to transparent mode.
Switch(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Switch(config)#vtp domain cisco
Changing VTP domain name from ci to cisco
Switch(config)#vtp password ccna
Setting device VLAN database password to ccna
Switch(config)#interface f0/1
Switch(config-if)#switchport mode trunk



Switch 2 :

Switch(config)#vtp domain cisco
Changing VTP domain name from NULL to cisco
Switch(config)#vtp password ccna
Setting device VLAN database password to ccna
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#interface f0/1
Switch(config-if)#switchport mode trunk

最后show一下客户端的vlan状态

可以成功看到服务端上配置的vlan10 vlan20

posted @ 2020-04-18 15:25  F兽  阅读(201)  评论(0)    收藏  举报