要求:跨三台交换机实现同vlan互通
所有网段都是10.1.1.0/24

SW1配置
[sw1]vlan 2
[sw1-vlan2]qui
[sw1]vlan 3
[sw1-vlan3]qui
[sw1-Ethernet0/0/1]port link-type access
[sw1-Ethernet0/0/1]port default vlan 2
[sw1-Ethernet0/0/1]qui
[sw1]int eth0/0/2
[sw1-Ethernet0/0/2]port link-type access
[sw1-Ethernet0/0/2]port default vlan 3
[sw1]int Ethernet0/0/3
[sw1-Ethernet0/0/3]port link-type trunk
[sw1-Ethernet0/0/3]port trunk allow-pass vlan 2 3
SW2配置
[sw2]vlan 2
[sw2-vlan2]vlan 3
[sw2-vlan3]qu
[sw2]int eth0/0/2
[sw2-Ethernet0/0/1]port link-type access
[sw2-Ethernet0/0/2]port default vlan 2
[sw2]int eth0/0/2
[sw2-Ethernet0/0/3]port link-type access
[sw2-Ethernet0/0/3]port default vlan 3
[sw2]int eth0/0/3
[sw2-Ethernet0/0/1]port link-type trunk
[sw2-Ethernet0/0/1]port trunk allow-pass vlan 2 3
[sw2-Ethernet0/0/1]qui
SW3配置
[sw5]vlan 2
[sw5]vlan 3
[sw5-vlan3]qui
[sw5]int eth0/0/1
[sw5-Ethernet0/0/1]port link-type trunk
[sw5-Ethernet0/0/1]port trunk allow-pass vlan 2 3
[sw5]int eth0/0/2
[sw5-Ethernet0/0/2]port link-type trunk
[sw5-Ethernet0/0/2]port trunk allow-pass vlan 2 3
[sw5-Ethernet0/0/2]qui
2430

被折叠的 条评论
为什么被折叠?



