由于LACPDU未增加、LACP无法正常工作
适用场景
- ONTAP 9.3及更高版本
- 多模式LACP
问题描述
- 物理端口已启动、但IFGRP已关闭。
- IFRP显示两个端口均已关闭、例如:
Cluster::> network port ifgrp show
Port Distribution Active
Node ifgrp Function MAC Address Ports Ports
------ ------- ------------ -------------- ------- ---------------
node0 a0a ip 02:a0:98:11:22:33 none e0c
- LACPDU不递增
注意:此计数器是在 ifconfig -v
ONTAP 9.3中添加到的
::> system node run -node <node> -command ifconfig -v
a0a: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
状态信息
options=6407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 02:a0:98:11:22:33
media: Ethernet autoselect
status: active
groups: lagg
laggproto lacp lagghash l3
lagg options:
flags=11<USE_FLOWID,LACP_STRICT>
flowid_shift: 16
lagg statistics:
active ports: 0 <-- No ports active in the ifgrp
flapping: 0
lag id: [(8000,02-A0-98-11-22-33,0032,0000,0000),
(8000,AA-BB-CC-DD-EE-FF,0037,0000,0000)]
laggport: e0d flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
[(8000,02-A0-98-11-22-33,0032,8000,0006),
(8000,AA-BB-CC-DD-EE-FF,0037,8000,00B9)]
input/output LACPDUs: 0 / 14099<--- LACPDU count, this should increment over time
laggport: e0c flags=18<COLLECTING,DISTRIBUTING> state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
[(8000,02-A0-98-11-22-33,0032,8000,0007),
(8000,AA-BB-CC-DD-EE-FF,0037,8000,043A)]
input/output LACPDUs: 0 / 14099<--- LACPDU count, this should increment over time
- 等待2分钟、然后再次运行它、以验证LACPDU是否增加
a0a: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=6407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 02:a0:98:11:22:33
media: Ethernet autoselect
status: active
groups: lagg
laggproto lacp lagghash l3
lagg options:
flags=11<USE_FLOWID,LACP_STRICT>
flowid_shift: 16
lagg statistics:
active ports: 0 <-- No ports active in the ifgrp
flapping: 0
lag id: [(8000,02-A0-98-11-22-33,0032,0000,0000),
(8000,AA-BB-CC-DD-EE-FF,0037,0000,0000)]
laggport: e0d flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
[(8000,02-A0-98-11-22-33,0032,8000,0006),
(8000,AA-BB-CC-DD-EE-FF,0037,8000,00B9)]
input/output LACPDUs: 0 / 14539<--- LACPDU count, this should increment over time
laggport: e0c flags=18<COLLECTING,DISTRIBUTING> state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
[(8000,02-A0-98-11-22-33,0032,8000,0007),
(8000,AA-BB-CC-DD-EE-FF,0037,8000,043A)]
input/output LACPDUs: 0 /14539<--- LACPDU count, this should increment over time
- 已确认物理链路连接。
- 已尝试 从ifgrp中删除端口 并 重新添加端口、 但ifgrp仍显示关闭。
- 已选择物理端口 、但状态仍然相同。
- EMS日志中会显示以下链接关闭消息。
Sun Nov 12 11:37:16 -0800 [node-01: intr: netif.linkDown:info]: Ethernet a0a: Link down, check cable.
Sun Nov 12 11:37:16 -0800 [node-01: intr: netif.linkDown:info]: Ethernet a0a-1x4: Link down, check cable.
Sun Nov 12 11:37:16 -0800 [node-01: intr: netif.linkDown:info]: Ethernet a0a-1x7: Link down, check cable.
Sun Nov 12 11:37:16 -0800 [node-01: intr: netif.linkDown:info]: Ethernet a0a-1x9: Link down, check cable.
Sun Nov 12 11:37:16 -0800 [node-01: vifmgr: vifmgr.portdown:notice]: A link down event was received on node node-01, port a0a.
Sun Nov 12 11:37:16 -0800 [node-01: vifmgr: vifmgr.portdown:notice]: A link down event was received on node node-01, port a0a-1x4.
Sun Nov 12 11:37:16 -0800 [node-01: vifmgr: vifmgr.portdown:notice]: A link down event was received on node node-01, port a0a-1x7.
Sun Nov 12 11:37:16 -0800 [node-01: vifmgr: vifmgr.portdown:notice]: A link down event was received on node node-01, port a0a-1x9.