关于本实验
本实验旨在为读者介绍以太网链路聚合的配置和验证,其中会展示手动模式的配置、LACP模式的配置,以及以太网链路聚合在LACP配置环境中的一些特性。
实验目的
掌握如何配置链路聚合的手动模式。
掌握如何配置链路聚合的LACP模式。
掌握如何在LACP模式中控制活动链路。
掌握LACP的特性。
实验组网介绍
![](https://i-blog.csdnimg.cn/blog_migrate/df596693faa79979ea55e8bde5bd94fe.png)
实验任务列表
配置手动模式。
配置LACP模式。
配置LACP参数。
实验配置任务
配置手动模式。
1.STP阻塞了两个端口。
![](https://i-blog.csdnimg.cn/blog_migrate/304ce06f3901b07553bd32000c83f44d.png)
2.在S1、S2上手动配置Eth-Trunk。
![](https://i-blog.csdnimg.cn/blog_migrate/7de298a2ab694fa5f1d539bd74373d59.png)
![](https://i-blog.csdnimg.cn/blog_migrate/4632f7333b137e0a79f2e1bbaccf78d1.png)
3.在S1、S2上查看Eth-Trunk1。
![](https://i-blog.csdnimg.cn/blog_migrate/bdd92985640338e85109bb5c2b4833fb.png)
![](https://i-blog.csdnimg.cn/blog_migrate/2d3c2882770b811d4d72cff8d282cff9.png)
4.基于Eth-Trunk计算STP。
![](https://i-blog.csdnimg.cn/blog_migrate/bbc873de6a2132312930f2313ff9ea45.png)
配置LACP模式。
1.在S1、S2上配置LACP。
![](https://i-blog.csdnimg.cn/blog_migrate/d7a6ec8407d59866d4202d97bf922537.png)
![](https://i-blog.csdnimg.cn/blog_migrate/89379d3830992ce9bb967fb2e26fe0e7.png)
2.查看S1、S2上的Eth-Trunk状态。
![](https://i-blog.csdnimg.cn/blog_migrate/0cf9df35870b2b213751573a39930135.png)
![](https://i-blog.csdnimg.cn/blog_migrate/54a3a602f046458e356cce7a1ffbfb17.png)
配置LACP参数。
1.在S1上设置最小和最大活动链路数量。
![](https://i-blog.csdnimg.cn/blog_migrate/a3f95050aa37a3aa63d320c1522fb59b.png)
2.查看S1、S2的活动端口。
![](https://i-blog.csdnimg.cn/blog_migrate/db0bc7f7dd68dd85a950c81cc2ad0f77.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a94489b7b9dac48dffc4971591845417.png)
3.在S2上设置最小和最大活动链路数量。
![](https://i-blog.csdnimg.cn/blog_migrate/f1724bed1074bb13d41726e5ae3c0f6e.png)
4.将S1设置为LACP主动端。
![](https://i-blog.csdnimg.cn/blog_migrate/885bfdef801ce4a367113d087e97890b.png)
5.验证S1中LACP系统优先级的设置。
![](https://i-blog.csdnimg.cn/blog_migrate/c451c35b27cd8d85299363cdee0a2299.png)
6.在S1上设置G0/0/1端口的LACP优先级。
![](https://i-blog.csdnimg.cn/blog_migrate/d631522ce9628158e1b6a00334f8d62c.png)
7.S1的G0/0/1没有称为非活动接口。
![](https://i-blog.csdnimg.cn/blog_migrate/5e4c55b45d936d77dd44fbc3bf3850be.png)
8.在S1上配置LACP抢占。
![](https://i-blog.csdnimg.cn/blog_migrate/48d4ae827d47af904b0b46646653ff6c.png)
9.在S2上完成接口优先级和LACP抢占配置。
![](https://i-blog.csdnimg.cn/blog_migrate/beeea994ca695cb40994742c4c4b6ae4.png)
10.活动接口进行切换。
![](https://i-blog.csdnimg.cn/blog_migrate/79361216e9ed01301ebb23115e82ffe2.png)
11.测试LACP备用接口。
![](https://i-blog.csdnimg.cn/blog_migrate/42017c26365bae0ba3fea80601a5fc7c.png)
![](https://i-blog.csdnimg.cn/blog_migrate/c00ad2874bc67f9f828adb86a24505bd.png)
12.测试活动链路下线阈值。
![](https://i-blog.csdnimg.cn/blog_migrate/70dedbba71049e9e17f272e495e24430.png)
13.快速查看Eth-Trunk接口及其成员接口状态。
![](https://i-blog.csdnimg.cn/blog_migrate/4742a3420b494d853e68a8e8b4a4ee1f.png)
14.启动S1的G0/0/2和G0/0/3接口。
![](https://i-blog.csdnimg.cn/blog_migrate/2cd22135b3d28758aae2f7f77c135f36.png)
15.Eth-Trunk1的运行状态恢复正常。
![](https://i-blog.csdnimg.cn/blog_migrate/86dd1ab377b5980e88df580ef3917411.png)
16.在S1上配置LACP负载分担。
![](https://i-blog.csdnimg.cn/blog_migrate/cfcfc54e4329c71bd4543272e17ee37e.png)
17.验证LACP负载分担配置。
![](https://i-blog.csdnimg.cn/blog_migrate/76203de458e7aacb9c14b5aea3795a72.png)