华为链路聚合

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/x503809622/article/details/79543734

Eth-trunk——链路聚合

增加带宽

负载均衡

提高可靠性

物理接口的物理参数要相同(数量、速率、双工模式)

必须保证数据的有序性

LACP:link aggregationcontrol protocol链路聚合控制协议

手动配置模式:手工配置



执行interface eth-trunk命令会直接进入该Eth-Trunk口视图。
配置Eth-Trunk口和成员口,需要注意以下规则:
1、只能删除不包含任何成员口的Eth-Trunk口。
2、把接口加入Eth-Trunk口时,二层Eth-Trunk口的成员口必须是二层接口,三层Eth-Trunk口的成员口必
须是三层接口。
3、一个Eth-Trunk口最多可以加入8个成员口。
4、加入Eth-Trunk口的接口必须是hybrid接口(默认的接口类型)。
5、一个Eth-Trunk口不能充当其他Eth-Trunk口的成员口。
6、一个以太接口只能加入一个Eth-Trunk口。如果把一个以太接口加入另一个Eth-Trunk口,必须先把该以
太接口从当前所属的Eth-Trunk口中删除。
7、一个Eth-Trunk口的成员口类型必须相同。例如,一个快速以太口(FE口)和一个千兆以太口(GE口)
不能加入同一个Eth-Trunk。
8、位于不同接口板(LPU)上的以太口可以加入同一个Eth-Trunk口。如果一个对端接口直接和本端Eth-

Trunk口的一个成员口相连,该对端接口也必须加入一个Eth-Trunk口。否则两端无法通信。


试验:

SW1:
    interface Eth-Trunk1
     mode lacp-static
    max active-linknumber 2
    interface gigabitEthernet 0/0/1
    eth-trunk 1
    lacp priority 100
    interface GigabitEthernet0/0/2
    eth-trunk 1
     lacp priority 100
    interface GigabitEthernet0/0/3
    eth-trunk 1
    lacp priority 150
SW2:
    interface Eth-Trunk1
     mode lacp-static
     max active-linknumber 2
    interface GigabitEthernet0/0/1
     eth-trunk 1
     lacp priority 100
    interface GigabitEthernet0/0/2
     eth-trunk 1
     lacp priority 100
    interface GigabitEthernet0/0/3

     eth-trunk 1

     lacp priority 150


查看:
[SW1]display eth-trunk
Eth-Trunk1's state information is:
Local:
LAG ID: 1                   WorkingMode: STATIC                               
Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP         
System Priority: 32768      System ID: 4c1f-cc0a-40ad                         
Least Active-linknumber: 1  Max Active-linknumber: 2                          
Operate status: up          Number Of Up Port In Trunk: 2                     
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/1   Selected 1GE      100     2      305     10111100  1     
GigabitEthernet0/0/2   Selected 1GE      100     3      305     10111100  1     
GigabitEthernet0/0/3   Unselect 1GE      150     4      305     10100000  1     

Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GigabitEthernet0/0/1   32768    4c1f-ccd0-56e0  100     2      305     10111100
GigabitEthernet0/0/2   32768    4c1f-ccd0-56e0  100     3      305     10111100
GigabitEthernet0/0/3   32768    4c1f-ccd0-56e0  150     4      305     10100000



猜你喜欢

转载自blog.csdn.net/x503809622/article/details/79543734