当前位置:网站首页>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/3
View eth-trunk interface:
display eth-trunk 1
View the aggregated link bandwidth: 3G
display interface Eth-Trunk 1
边栏推荐
猜你喜欢
随机推荐
递归思想
TiDB升级与案例分享(TiDB v4.0.1 → v5.4.1)
用OpenGL绘制winXP版扫雷的笑脸表情
从底层看 Redis 的五种数据类型
yolo x 跑起来,详细的不行,且内含800错误解决办法
cannot import name ‘import_string‘ from ‘werkzeug‘【bug解决】
PD 源码分析- Checker: region 健康卫士
Interview at 14:00 in the afternoon, I came out at 14:08 with my head down, asking too much...
spark算子讲解
(三)DDD上下文映射图——老师,我俩可是纯洁的男女关系!
【正点原子STM32连载】第四章 STM32初体验 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
推荐几种可以直接翻译PDF英文文献的方法
layout manager
大家好,请教一个问题啊,我们通过flinkcdc把Oracle数据同步到doris,目前的问题是,只
Convert callback function to Flow
The difference between character stream and byte stream
B站回应HR称“核心用户都是Loser”、求职者是“白嫖党”:已被劝退
Implementation of redis distributed lock
蘑菇书EasyRL学习笔记
线程安全问题