当前位置:网站首页>Detailed explanation of switch link aggregation [Huawei eNSP]
Detailed explanation of switch link aggregation [Huawei eNSP]
2022-08-04 09:02:00 【Progressive small vegetable pig】
Article table of contents
I. Preface
"The main function of link aggregation is to increase link bandwidth and achieve mutual backup of links. Its specific function is to stop sending data packets on one of the member ports when the switch detects a link failure on this port., recalculates the sending port of messages in the remaining links according to the load sharing policy, and acts as the sending port version again after the faulty port recovers."
(1) Manual mode
In manual mode, the establishment of eth relays and the connection of member interfaces are manually configured, and LACP is not used for negotiation between systems.Under normal circumstances, all links are active links.All active links participate in data forwarding and share traffic equally.If one active link fails, the link aggregation group will automatically share traffic evenly among the remaining active links.In manual mode, in order for the link aggregation interface to work normally, it must be ensured that the peer interfaces of all member interfaces in the local link aggregation interface are connected through the same device; there is no message exchange between devices, and only the administrator can manually confirm;Whether the peer interface is working properly can only be judged by the state of the physical layer.
(2) LACP mode
LACP mode is a link aggregation mode using the LACP protocol.Devices interact through Link Aggregation Control Protocol Data Units (lacpdu), and through protocol negotiation ensures that the other end is a member interface of the same device and the same aggregated interface.Lacpdu messages contain system priorities such as device priority, MAC address, interface priority, and interface number.In LACP mode, the number of active interfaces selected by the devices at both ends must be the same, otherwise a link aggregation group cannot be established.At this time, one end can become the active end, and the other end (passive end) can select the active interface according to the active end.
This note records link aggregation, which is relatively simple, with only a few simple commands.
Requirements:
6. Link aggregation needs to be done between the two aggregation switches to increase the bandwidth. Considering the security issues of the Layer 2 network and the occupancy of network resources, it is necessary to implement Layer 2 isolation between different departments.

Manual link aggregation: increase bandwidth, link backup
Guaranteed reliability and increased bandwidth
Note: 1. The interfaces on both ends must be the same
2. No configuration is allowed under the interface
II. Experiment process
We first create two new switches, as shown in the figure below: The link ensures that the ports on both ends are the same.
Enter SLW9:
Create Logical Interface Group
Interface Eth-Trunk 1
Add physical interface g1:
trunkport g0/0/1
Add physical interface g2:
trunkport g0/0/2
Add physical interface g3 port:
trunkport g0/0/3
Check out the eth-trunk interface:
display eth-trunk 1

Enter SLW10:
Repeat the above steps.
Mainly to ensure that the interface corresponds.Configure as follows
View aggregated link bandwidth: 3G
display interface Eth-Trunk 1
PS:
Configuration command shortcut:
interface Eth-Trunk 1trunkport g0/0/1trunkport g0/0/2trunkport g0/0/3View eth-trunk interface:
display eth-trunk 1View the aggregated link bandwidth: 3G
display interface Eth-Trunk 1边栏推荐
猜你喜欢
随机推荐
The difference between character stream and byte stream
Implementation of redis distributed lock
TiCDC迁移-TiDB到MySQL测试
Linux Redis cache avalanche, breakdown, penetration
tcp连接的细节
从底层看 Redis 的五种数据类型
怎么写专利更容易通过?
今年37了,被大厂抢着要...
oracle sql 多表查询
JSP基本语法
【NOI模拟赛】纸老虎博弈(博弈论SG函数,长链剖分)
记录十条工作中便利的API小技巧
云函数实现网站自动化签到配置详解【Web函数/Nodejs/cookie】
How to import data from PG to kingbaseES
交换机链路聚合详解【华为eNSP】
关于Oracle RAC 11g重建磁盘组的问题
反序列化漏洞
ShuffleNet v2网络结构复现(Pytorch版)
csdn图片去水印 | 其他方法无效时的解决方案
Libpq 是否支持读写分离配置








