实验效果
S0实验配置:
hostnameS0
!
noipdomain-lookup
!
!
interfaceFastEthernet0/1
switchportaccessvlan10
switchportmodeaccess
!
interfaceFastEthernet0/2
switchportmodetrunk
!
interfaceFastEthernet0/3
switchportmodetrunk
S1实验配置:
hostnameS1
!
noipdomain-lookup
!
!
interfaceFastEthernet0/1
switchportaccessvlan20
switchportmodeaccess
!
interfaceFastEthernet0/2
switchportmodetrunk
!
MS配置
interfaceFastEthernet0/3
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
Vlan10192.168.2.254YESmanualup
Vlan20192.168.3.254YESmanualup
本文转自 吃草的青蛙 51CTO博客,原文链接:http://blog.51cto.com/tlinux/1322748,如需转载请自行联系原作者