1、Eth-Trunk背景
随着网络中部署的业务量不断增长,对于全双工点对点链路,单条物理链路的带宽已不能满足正常的业务流量需求。如果将当前接口板替换为具备更高带宽的接口板,则会浪费现有的设备资源,而且升级代价较大。如果增加设备间的链路数量,则在作为三层口使用时需要在每个接口上配置IP地址,从而导致浪费IP地址资源
1. The Eth-Trunk background
will waste existing equipment resources if the current interface is replaced by a higher bandwidth interface. If the number of links between devices is increased, IP addresses will need to be configured on each interface when used as a three-tier interface, resulting in a waste of IP address resources.
1.1、Eth-Trunk的优点
Eth-Trunk( 链路聚合技术 )作为一种捆绑技术,可以把多个独立的物理接口绑定在一起作为一个大带宽的逻辑接口使用,这样既不用替换接口板也不会浪费IP地址资源
1.1. The merits of Eth-Trunk
Eth-Trunk (link polymerization technology) as a binding technology that binds multiple separate physical interfaces together as a large bandwidth logical interface, so that neither the replacement interface board nor the IP address resource is wasted
根据不同的链路聚合模式,Eth-Trunk接口可以实现增加带宽、负载分担等,帮助提高网络的可靠性
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
The Eth-Trunk interface allows for increased bandwidth, load sharing, etc. and helps to improve network reliability
The Two IE Gods bring you a comprehensive understanding of the Eth-Trunk knowledge system (to be followed)
2、Eth-Trunk原理
Eth-Trunk可以用于二层的链路聚合,也可以用于三层的链路聚合。
缺省情况下,以太网接口工作在二层模式。
如果需要配置二层Eth-Trunk接口,可以通过portswitch命令将该接口切换成二层接口;
如果需要配置三层Eth-Trunk接口,可以通过undo portswitch命令将该接口切换成三层接口。
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
Eth-Trunk是一种将多个以太网接口捆绑成一个逻辑接口的捆绑技术。
The Eth-Trunk principle
Eth-Trunk may be used for second-storey or third-storey connection.
In default, the Ethnet interface works in second-storey mode.
If there is a need to configure the Eth-Trunk interface on second-floor, the interface can be changed to two-storey interfaces by portswitch command;
If there is a need to configure the three-storey Eth-Trunk interface, the interface can be converted to three-storey interfaces by undo portswitch command.
The two IE gods give you a comprehensive understanding of Eth-Trunk's knowledge system (which can be followed)
Eth-Trunk is a binding technique that binds multiple web interfaces into a logical interface.
Eth-Trunk链路聚合模式
手工负载分担模式
LACP模式
Eth-Trunk chain polymerization mode
Manual load-sharing mode
2.1、手工负载分担模式
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
当两台设备中至少有一台不支持LACP协议时,可使用手工负载分担模式的Eth-Trunk来增加设备间的带宽及可靠性。
注意:在手工负载分担模式下,加入Eth-Trunk的链路都进行数据的转发。
2.1. Artisanal load sharing mode
The Two IE Gods give you a full understanding of Eth-Trunk's knowledge system (which can be followed)
. When at least one of the two devices does not support the LACP agreement, Eth-Trunk of the manual load sharing mode can be used to increase bandwidth and reliability between the devices.
Note: Under the manual load sharing mode, data are transmitted by adding the Eth-Trunk link.
2.2、LACP模式
LACP模式也称为M:N模式,其中M条链路处于活动状态转发数据,N条链路处于非活动状态作为备份链路。
图中设置的活跃链路数为2,即2条链路处于转发状态,1条链路处于备份状态,不转发数据,只有当活跃的链路出现故障时,备份链路才进行转发。
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
2.2 The LACP mode
LACP mode is also known as M:N mode, where M links are active transmitting data and N links are inactive as backup links.
The number of active links set in the figure is two, i.e. two links are in relay status, one link is in backup status, no data is transmitted, and the backup link is transmitted only when the active link is malfunctioning.
The two IE gods take you to a full understanding of Eth-Trunk's knowledge system (which can be followed).
LACP模式活动链路的选取
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
LACP Model Activity Link Selection
The Two IE Gods lead you to a full understanding of Eth-Trunk's knowledge system (to follow)
LACP模式的抢占机制
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
The LACP model grab mechanism
The Two IE Gods bring you a comprehensive understanding of Eth-Trunk's knowledge system (which can be followed)
2.3、Eth-Trunk接口负载分担
Eth-Trunk接口进行负载分担时,可以选择IP地址或者包作为负载分担的散列依据;同时还可以设置成员接口的负载分担权重。成员接口的权重值占所有成员接口负载分担权重之和的比例越大,该成员接口承担的负载就越大。
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
2.3. The Eth-Trunk interface load-sharing of the
Eth-Trunk interface allows for the selection of an IP address or package as the basis for the load-sharing hash; the load-sharing weight of the member interface can also be set up. The weight of the member interface is greater than the weight of the member interfaces share the weight-sharing weights of all members. The load of the member interface is larger.
The two IE gods give you a comprehensive understanding of Eth-Trunk's knowledge system (which can be followed).
执行命令system-view,进入系统视图。
执行命令interface eth-trunk trunk-id,进入Eth-Trunk接口视图。
执行命令load-balance { ip | packet-all },配置Eth-Trunk接口的散列依据。
缺省情况下,当Eth-Trunk接口根据IP进行散列。
说明:
基于IP的散列算法能保证包顺序,但不能保证带宽利用率。
基于包的散列算法能保证带宽利用率,但不能保证包的顺序。
配置负载分担权重
Executing system-view, entering the system view.
Executing command interface eth-trunk trunk-id, entering the Eth-Trunk interface view.
Executing command load-balance {ip packet-all}, configures the hash basis for the Eth-Trunk interface.
defaults, when Eth-Trunk interface has has has a hash column based on IP.
notes:
has an IP-based hash algorithm that secures the packing sequence, but does not guarantee bandwidth utilization.
is based on the package hash algorithm that ensures bandwidth utilization, but does not guarantee the packing order.
执行命令system-view,进入系统视图。
执行命令interface interface-type interface-number,进入以太网接口视图。
执行命令distribute-weight weight-value,配置Eth-Trunk成员接口的负载分担权重。
缺省情况下,成员接口的负载分担权重为1
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
Execute system-view, enter the system view.
Execute interface interface-type interface-number, enter the Ethernet interface view.
Execute distribute-weight weight-value, configure load-sharing weights for Eth-Trunk interfaces.
In default, load-sharing weights for member interfaces are 1.
The two IE gods take you to fully understand the Eth-Trunk knowledge system (can follow)
The two IE gods take you to fully understand the Eth-Trunk knowledge system (can follow)
The two IEs take you to fully understand the Eth-Trunk knowledge system (can follow)
3、Eth-Trunk配置
3.1、Eth-Trunk接口配置流程
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
3. Eth-Trunk Configuration
3.1, Eth-Trunk Interface Configuration Process
Eth-trunk在同一个接口下的注意事项
在一个聚合口中,聚合链路两端的物理口(即成员口)的所有参数必须一致,包括物理口的数量,传输速率,双工模式和流量控制模式。成员口可以是二层接口或三层接口
Eth-trunk's attention under the same interface
in a polymer port must be consistent with all parameters of the physical port (i.e., the member's mouth) at both ends of the polymer chain, including the number of physical mouths, transmission speed, double-manufacturing mode and flow control mode.
3.2、配置手工负载分担模式
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
配置手工负载分担模式的步骤
? 创建Eth-Trunk
? 配置Eth-Trunk的工作模式
? Eth-Trunk中加入成员接口
3.2. The configuration manual load-sharing mode
The Two IE Gods give you a comprehensive understanding of the Eth-Trunk knowledge system (which can be followed)
of the configuration manual load-sharing mode
? Create Eth-Trunk
? Configure the Eth-Trunk working mode
? Add a member interface in Eth-Trunk
3.3、配置LACP模式
双IE大神带你全面理解Eth-Trunk的知识体系(可跟做)
配置LACP模式的步骤:
? 创建Eth-T
3.3. Steps to configure LACP mode
Double IE to provide you with a comprehensive understanding of Eth-Trunk's knowledge system (which can be followed)
to configure LACP mode:
? Create Eth-T
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论