您的当前位置:首页正文

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

来源:个人技术集锦
华为链路聚合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 WeightGigabitEthernet0/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 WeightGigabitEthernet0/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 PortStateGigabitEthernet0/0/1 32768 4c1f-ccc0-2607 32768 2 2609 10111100GigabitEthernet0/0/2 32768 4c1f-ccc0-2607 32768 3 2609 10111100GigabitEthernet0/0/3 32768 4c1f-ccc0-2607 32768 4 2609 10100000

[s5700-1]

第三:LACP模式,不配置优先级interface Eth-Trunk10 mode lacp-static#

interface GigabitEthernet0/0/1eth-trunk 10#

interface GigabitEthernet0/0/2eth-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 WeightGigabitEthernet0/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 PortStateGigabitEthernet0/0/1 32768 4c1f-cc16-3faa 32768 2 2609 10111100GigabitEthernet0/0/2 32768 4c1f-cc16-3faa 32768 3 2609 10111100

[Huawei]

因篇幅问题不能全部显示,请点此查看更多更全内容