不涉及
华三交换机和华为交换机之间起链路聚合,聚合端口无法选中,配置如下:
华为配置:
#
interface Eth-Trunk0
ip address 1.1.1.1 255.255.255.0
mode lacp-static
alias RAGG1
#
华三配置:
#
interface Route-Aggregation1000
link-aggregation mode dynamic
#
配置完成后发现本端display link-aggregation verbose查看聚合组1000状态,两个端口均为不选中状态
Aggregate Interface: Route-Aggregation1000
Creation Mode: Manual
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLANs: None
System ID: 0x8000, 9023-b4cf-6d52
Local:
Port Status Priority Index Oper-Key Flag
GE1/0/13 U 32768 5 3 {ACD}
GE1/0/14 U 32768 6 3 {ACD}
Remote:
Actor Priority Index Oper-Key SystemID Flag
GE1/0/13 32768 1 49 0x8000, ccd7-3c3c-b3c4 {ACG}
GE1/0/14 32768 2 49 0x8000, ccd7-3c3c-b3c4 {ACG}
怀疑LACP报文交互有问题,于是在两端分别开启debug如下:
华三debug:
<H3C>*Dec 3 16:19:52:545 2021 H3C LAGG/7/Packet: PACKET.GigabitEthernet1/0/13.receive.
size=110, subtype=1, version=1
Actor: type=1, len=20, sys-pri=0x8000, sys-mac=ccd7-3c3c-b3c4, key=0x31, pri=0x8000, port-index=0x1, state=0x45
Partner: type=2, len=20, sys-pri=0x0, sys-mac=0000-0000-0000, key=0x0, pri=0x0, port-index=0x0, state=0xc5
Collector: type=3, len=16, col-max-delay=0x0
Terminator: type=0, len=0
*Dec 3 16:19:52:546 2021 H3C LAGG/7/Packet: PACKET.GigabitEthernet1/0/13.send.
size=110, subtype=1, version=1
Actor: type=1, len=20, sys-pri=0x8000, sys-mac=9023-b4cf-6d52, key=0x3, pri=0x8000, port-index=0x5, state=0xd
Partner: type=2, len=20, sys-pri=0x8000, sys-mac=ccd7-3c3c-b3c4, key=0x31, pri=0x8000, port-index=0x1, state=0x45
Collector: type=3, len=16, col-max-delay=0x0
Terminator: type=0, len=0
Extern tlv: type=101, len=2, value=8
华为侧debug:
[HW]dis lacp err pack
2021-12-03 14:16:19.209 +08:00
2390 error-packet(s) have been received.
Eth-Trunk0, GigabitEthernet0/0/6, received at 2021/12/03 14:16:09 UTC+08:00.
Drop reason: The packet length 114 is wrong, the right length is 110.
01 80 c2 00 00 02 90 23 b4 cf 6d 7b 88 09 01 01
01 14 80 00 90 23 b4 cf 6d 52 00 03 80 00 00 06
0d 00 00 00 02 14 80 00 cc d7 3c 3c b3 c4 00 31
80 00 00 01 45 00 00 00 03 10 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Eth-Trunk0, GigabitEthernet0/0/7, received at 2021/12/03 14:16:09 UTC+08:00.
Drop reason: The packet length 114 is wrong, the right length is 110.
01 80 c2 00 00 02 90 23 b4 cf 6d 7b 88 09 01 01
01 14 80 00 90 23 b4 cf 6d 52 00 03 80 00 00 05
0d 00 00 00 02 14 80 00 cc d7 3c 3c b3 c4 00 31
80 00 00 02 45 00 00 00 03 10 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
华为侧debug显示丢弃LACP报文的原因在于报文长度错误为114,正确的报文长度应为110.但是通过华三debug可以看出,我们发出的LACP报文长度为110
查看配置发现客户有配置link-aggregation lacp traffic-redirect-notification enable,这条命令配置后可能会影响与其他厂商设备的聚合配置。
删除该命令后可以正常对接。
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
LACP协商是在二层的