实验要求:
新建拓扑
1、根据要求分析实验所需要用到的技术为:eth-trunk trunk干道 VLAN STP SVI VRRP DHCP
2、分别进入SW1与SW2的G0/0/23与G0/0/24接口配置eth-trunk
[SW1]int Eth-Trunk 0
[SW1-Eth-Trunk0]q
[SW1]int g0/0/23
[SW1-GigabitEthernet0/0/23]eth-trunk 0
[SW1-GigabitEthernet0/0/23]int g0/0/24
[SW1-GigabitEthernet0/0/24]eth-trunk 0
[SW2]int Eth-Trunk 0
[SW2]int g0/0/23
[SW2-GigabitEthernet0/0/23]eth-trunk 0
[SW2-GigabitEthernet0/0/23]int g0/0/24
[SW2-GigabitEthernet0/0/24]eth-trunk 0
3、将交换机互连的链路类型调为trunk
[SW1]port-group group-member GigabitEthernet 0/0/3 GigabitEthernet 0/0/4 Eth-Trunk 0
[SW1-port-group]port link-type trunk
[SW1-port-group]port trunk allow-pass vlan 2
[SW1-Eth-Trunk0]port link-type trunk
[SW1-Eth-Trunk0]port trunk allow-pass vlan 2
[SW1-GigabitEthernet0/0/3]port link-type trunk
[SW1-GigabitEthernet0/0/4]port link-type trunk
[SW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 2
[SW1-GigabitEthernet0/0/4]port trunk allow-pass vlan 2
[SW2]port-group group-member GigabitEthernet 0/0/3 GigabitEthernet 0/0/5 Eth-Trunk 0
[SW2-port-group]port link-type trunk
[SW2-port-group]port trunk allow-pass vlan 2
[SW2-Eth-Trunk0]port link-type trunk
[SW2-Eth-Trunk0]port trunk allow-pass vlan 2
[SW2-GigabitEthernet0/0/3]port link-type trunk
[SW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 2
[SW2-GigabitEthernet0/0/5]port link-type trunk
[SW2-GigabitEthernet0/0/5]port trunk allow-pass vlan 2
[SW3]port-group group-member GigabitEthernet 0/0/