5.3配置eth-trunk链路聚合


原理概述

eth-trunk可以将多个接口捆绑在一起,以较低成本满足提高接口带宽的需求。 捆绑最后成为一个逻辑接口,捆绑在一起的每一个子接口 都是成员接口。

优势在于;

负载分担 在一个eth-trunk接口内可以实现流量的负载分担

提高可靠性,当某个成员接口出现故障时,流量会切换到其它可以链路上,提高整个eth-trunk的链路可靠性

增加带宽 物理接口的参数必须 一致


一、实验目的及编址

理解eth-trunk的应用场景 手工负载分担摸式 静态lacp模式

在s5700上支持 manual load-balance与lacp两种模式

手工负载分担 :手动创建链路聚合级
静态lacp 协商eth-trunk参数后自主选择活动接口。

二、实验拓扑

在这里插入图片描述

在这里插入图片描述

二、实验内容

配置双工模式

1.配置ip地址做ping通测试

2.配置链路聚合

创建eth-trunk1接口

s1:
interface eth-trunk 1
mode manual load-balance

s2:
interface eth-trunk 1
mode manual load-balance 

3. 将1,2口加入eth-trunk

s1:
int g0/0/1
eth-trunk 1
int g0/0/2 
eth-trunk 1

s2:
int g0/0/1
eth-trunk 1
int g0/0/2 
eth-trunk 1

display eth-trunk 1


4.配置th-trunk lacp静态配置

s1:
int eth-trunk 1
mode lacp-static

s2:int eth-trunk 1
mode lacp-static

需要将之前 的给删除

s1
int g0/0/1
undo eth-trunk 1
int g0/0/2
undo eth-trunk 1

s2:
int g0/0/1
undo eth-trunk 1
int g0/0/2
undo eth-trunk 1

将三条链路全加入 eth-trunk

实现2条链路同时转发,一条链路转发

将g0/0/5的接口开启

总结与思考

当结口超出最大负载阈值 时,剩作接口是否转发流量

不转发接口为unselect收到的流量

猜你喜欢

转载自blog.csdn.net/weixin_45821358/article/details/116228770