华为网络实验(3)------端口绑定技术

1、端口绑定技术的概念:

端口绑定技术:链路聚合是将一组物理接口捆绑在一起作为一个逻辑接口来增加带宽的一种方法,又称为多接口负载均衡组成链路聚合组,通过在两台设备之间建立链路聚合组,可以提供更高的通讯带宽和更高的可靠性,链路聚合不仅为设备间通信提供了冗余保护,而且不需要对硬件进行升级。

2、链路聚合/端口聚合/端口绑定实现的条件:

(1)每个Eth-Trunk接口下最多可以包含8个成员接口;

(2)成员接口不能配置任何业务和静态MAC地址;

(3)成员接口加入Eth-Trunk时,必须为缺省的hybrid类型的接口;

(4)Eth-Trunk接口不能嵌套,即成员接口不能是Eth-Trunk;

(5)一个以太网接口只能加入到一个Eth-Trunk接口,如果需要加入其它Eth-Trunk接口,必须先退出,原来的Eth-Trunk接口;

(6)一个Eth-Trunk接口必须是同一类型,例如:FED和GED不能加入同一个Eth-Trunk接口;

(7)可以将不同接口板上的以太网接口加入到同一个Eth-Trunk;

(8)如果本地设备使用了Eth-Trunk,与成员接口直连的对端接口也必须捆绑为Eth-Trunk接口,两端才能正常通信;

(9)当成员接口的速率不一样时,实际使用中速率小的接口可能会出现拥塞,导致丢包;

(10)当成员接口加入Eth-Trunk后,学习MAC地址时是按照Eth-Trunk来学习的,而不是按照成员接口来学习。

拓扑图:

SW1配置文件
#
sysname sw1
#
vlan batch 2
#
interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
 eth-trunk 1
#
interface GigabitEthernet0/0/2
 eth-trunk 1
#
interface GigabitEthernet0/0/3
 eth-trunk 1

SW2 配置文件
#
sysname sw2
#
vlan batch 2
#
interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
 eth-trunk 1
#
interface GigabitEthernet0/0/2
 eth-trunk 1
#
interface GigabitEthernet0/0/3
 eth-trunk 1

测试命令
[sw1]display eth-trunk 1
[sw2]display eth-trunk 1
 

猜你喜欢

转载自blog.csdn.net/weixin_47403060/article/details/107586013