2023年08月18日 16:49:25 来源:北京联信永成科技有限公司 >> 进入该公司展台 阅读量:19
说到链路聚合的思路,可能很多人都不知道,今天北京华为交换机代理商就为你分享华为交换机链路聚合配置思路。
北京华为交换机代理商告诉你,华为交换机采用如下的思路配置静态LACP模式链路聚合:
1.在Switch设备上创建Eth-Trunk,配置Eth-Trunk为静态LACP模式。
2.将成员接口加入Eth-Trunk。
3.配置系统优先级确定主动端。
4.配置活动接口上限阈值。
5.配置接口优先级确定活动链路。
华为交换机数据准备:
为完成此配置例,需准备如下的数据:
1.两端Switch设备链路聚合组编号。
2.SWA系统优先级。
3.活动接口上限阈值。
4.活动接口LACP优先级。
华为交换机配置步骤:
创建编号为1的Eth-Trunk,配置它的工作模式为静态LACP模式
# 配置SWA
[SWA]interface Eth-Trunk 1 创建聚合口为eth-trunk1
[SWA-Eth-Trunk1]bpdu enable 配置接口Eth-Trunk 处理BPDU 报文
[SWA-Eth-Trunk1]mode lacp-static 配置它的工作模式为静态LACP模式
[SWA-Eth-Trunk1]quit
# 配置SWB
[SWB]interface Eth-Trunk 1 创建聚合口为eth-trunk1
[SWB-Eth-Trunk1]bpdu enable 配置接口Eth-Trunk 处理BPDU 报文
[SWB-Eth-Trunk1]mode lacp-static 配置它的工作模式为静态LACP模式
[SWB-Eth-Trunk1]quit
将成员接口加入Eth-Trunk
# 配置SWA
[SWA]interface Ethernet 0/0/20
[SWA-Ethernet0/0/20]eth-trunk 1
[SWA-Ethernet0/0/20]quit
[SWA]interface Ethernet 0/0/21
[SWA-Ethernet0/0/21]eth-trunk 1
[SWA-Ethernet0/0/21]quit
[SWA]interface Ethernet 0/0/22
[SWA-Ethernet0/0/22]eth-trunk 1
[SWA-Ethernet0/0/22]quit
# 配置SWB
[SWB]interface Ethernet 0/0/20
[SWB-Ethernet0/0/20]eth-trunk 1
[SWB-Ethernet0/0/20]quit
[SWB]interface Ethernet 0/0/21
[SWB-Ethernet0/0/21]eth-trunk 1
[SWB-Ethernet0/0/21]quit
[SWB]interface Ethernet 0/0/22
[SWB-Ethernet0/0/22]eth-trunk 1
[SWB-Ethernet0/0/22]quit
# 在SWA上配置系统优先级为100,使其成为LACP主动端
[SWA] lacp priority 100
# 在SWA上配置活动接口上限阈值为2
[SWA] interface eth-trunk 1
[SWA-Eth-Trunk1] max active-linknumber 2
[SWA-Eth-Trunk1] quit
# 在SWA上配置接口优先级确定活动链路
[SWA] interface ethernet 0/0/20
[SWA-Ethernet0/0/1] lacp priority 100
[SWA-Ethernet0/0/1] quit
[SWA] interface ethernet 0/0/21
[SWA-Ethernet0/0/2] lacp priority 100
[SWA-Ethernet0/0/2] quit
# 查看各Switch设备的Eth-Trunk信息,查看链路是否协商成功。
[SWA]display eth-trunk 1
以上就是北京华为交换机代理商为大家分享的华为交换机链路聚合配置思路,更多华为交换机知识,可以关注我公司,我们会定期的给大家讲更多关于华为交换机的知识。