本实验目的是验证工作在Server模式的交换机上的VLAN配置,可以通过VTP消息传播到其他处于Client模式的交换机上,使整个网络的VLAN配置同步。
实验拓扑
![](https://s1.51cto.com/attachment/200812/200812191229651102218.bmp)
Switch0配置如下:
配置VTP
![](https://s1.51cto.com/attachment/200812/200812191229651347125.bmp)
配置Trunk
![](https://s1.51cto.com/attachment/200812/200812191229651425375.bmp)
配置VLAN
![](https://s1.51cto.com/attachment/200812/200812191229652126875.bmp)
Switch1配置如下:
配置VTP
![](https://s1.51cto.com/attachment/200812/200812191229651631500.bmp)
配置Trunk
![](https://s1.51cto.com/attachment/200812/200812191229651799343.bmp)
Switch2配置如下:
配置VTP
![](https://s1.51cto.com/attachment/200812/200812191229651919515.bmp)
配置Trunk
![](https://s1.51cto.com/attachment/200812/200812191229651989796.bmp)
配置完成后,在Switch1和Switch2可以学习到Switch0的VLAN配置,实验OK!
几点注意:
1.所有共享VLAN配置的交换机的domian,password必须一致。
2.交换机互联的端口一定要配成Trunk。
3.只有在Server模式交换机上做的改动,才会传播到其他交换机。
转载于:https://blog.51cto.com/hover/121048