![](https://i-blog.csdnimg.cn/blog_migrate/e49f7e824967c80792cd07b26a84ed0c.png)
1、eth-trunk
将SW1和2之间的两条链路建立通道,两台交换机上都要配置
![](https://i-blog.csdnimg.cn/blog_migrate/79c30f8d517bfa911327cf29969fdd82.png)
添加了eth-trunk接口,g0/0/0和 g0/0/1接口消失
2、配置trunk干道
所有交换机之间的链路全为trunk干道
![](https://i-blog.csdnimg.cn/blog_migrate/fa3be5ee1d97876869dd798d9a892931.png)
3、创建和划分VLAN
这里只需要创建 vlan 2,在所有交换机上创建
![](https://i-blog.csdnimg.cn/blog_migrate/4f43481ab65b0e4f69471478e09511f0.png)
配置STP
所有交换机上的STP配置必须完全一致
![](https://i-blog.csdnimg.cn/blog_migrate/a0644ce1e5c626380ae8c290c5d0a304.png)
用终端的任何一台设备去上网,如果能上网,说明设备配置成功;
将SW1和SW2的命令分别保存,关闭其中的一台设备,然后用终端再去上网,如果能,说明汇聚层交换机冗余配置成功