华为链路聚合2种模式配置

 

 

 

 
第一:手工负载分担模式
interface Eth-Trunk10
#
interface GigabitEthernet0/0/1
 eth-trunk 10
#
interface GigabitEthernet0/0/2
 eth-trunk 10
查看链路聚合端口信息
[s5700-1]dis eth-trunk
Eth-Trunk10's state information is:
WorkingMode: NORMAL         Hash arithmetic: According to SIP-XOR-DIP        
Least Active-linknumber: 1  Max Bandwidth-affected-linknumber: 8             
Operate status: up          Number Of Up Port In Trunk: 2                    
--------------------------------------------------------------------------------
PortName                      Status      Weight
GigabitEthernet0/0/1          Up          1     
GigabitEthernet0/0/2          Up          1     
 
[s5700-1]
第二:LACP模式配置
interface Eth-Trunk10
 mode lacp-static
 max active-linknumber 2
#
interface GigabitEthernet0/0/1
 eth-trunk 10
 lacp priority 100
#
interface GigabitEthernet0/0/2
 eth-trunk 10
 lacp priority 100
#
interface GigabitEthernet0/0/3
 eth-trunk 10
查看链路聚合状态
[s5700-1]dis eth-trunk
Eth-Trunk10's state information is:
Local:
LAG ID: 10                  WorkingMode: STATIC                              
Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP        
System Priority: 100        System ID: 4c1f-cc9c-79e3                        
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      2609    10111100  1    
GigabitEthernet0/0/2   Selected 1GE      100     3      2609    10111100  1    
GigabitEthernet0/0/3   Unselect 1GE      32768   4      2609    10100000  1    
Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GigabitEthernet0/0/1   32768    4c1f-ccc0-2607  32768   2      2609    10111100
GigabitEthernet0/0/2   32768    4c1f-ccc0-2607  32768   3      2609    10111100
GigabitEthernet0/0/3   32768    4c1f-ccc0-2607  32768   4      2609    10100000
   
[s5700-1]
 
第三:LACP模式,不配置优先级
interface Eth-Trunk10
 mode lacp-static
#
interface GigabitEthernet0/0/1
eth-trunk 10
#
interface GigabitEthernet0/0/2
eth-trunk 10
#
查看链路聚合信息
[Huawei]dis eth-trunk
Eth-Trunk10's state information is:
Local:
LAG ID: 10                  WorkingMode: STATIC                               
Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP         
System Priority: 32768      System ID: 4c1f-ccd9-7698                         
Least Active-linknumber: 1  Max Active-linknumber: 8                          
Operate status: up          Number Of Up Port In Trunk: 2                     
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/1   Selected 1GE      32768   2      2609    10111100  1     
GigabitEthernet0/0/2   Selected 1GE      32768   3      2609    10111100  1     
 
Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GigabitEthernet0/0/1   32768    4c1f-cc16-3faa  32768   2      2609    10111100
GigabitEthernet0/0/2   32768    4c1f-cc16-3faa  32768   3      2609    10111100
    
[Huawei]
posted @ 2021-10-14 19:16  精舞门2020  阅读(1238)  评论(0编辑  收藏  举报