vtp

VTP
1 :实验拓扑图
2 :配置命令:
S1 配置:
Enable
Congfigure terminal
Hostname s1
Interface fastethernet 0/0
Switchport trunk encapsulation dot1q
No shutdown
Exit
Vtp domain cxz
Vtp mode server
Vtp password cxz
Vtp version 2
Vtp pruning
Exit
Vlan database
Vlan 2 name 2
Vlan 3 name 3
S2 配置 :
Enable
Configure terminal
Hostname s2
Interface range fastethernet 0/0 �C 1
Switchport trunk encapsulation dot1q
No shutdown
Exit
Vtp mode transparent
Vtp version 2
Exit
Vlan database
Vlan 4 name 4
Vlan 5 name 5
S3 配置:
Enable
Configure terminal
Interface fastethernet 0/1
Switchport trunk encapsulation dot1q
No shutdown
Exit
Vtp domain cxz
Vtp password cxz
Vtp mode client
Vtp pruning
3 VTP 查看
1 查看 VTP 状态
Show vtp status
2 查看 vlan 信息
Show vlan brief
 

你可能感兴趣的:(职场,路由,休闲,VTP)