由于对等系统ID不匹配、LACP端口关闭并显示部分状态
适用场景
- ONTAP 9.
- 链路聚合控制协议(LACP)
- 接口组(ifgrp)
问题描述
- 在使用LACP的ifgrp中、一个或多个接口未处于活动状态或显示为关闭状态:
cluster::> ifgrp show
node ifgrp ports down-ports
------------------ ----- --------------- ----------
node1 a0a e0a,e0b,e0c,e0d e0c,e0d
- 物理端口状态为已启动:
cluster::> net port show -node node1 -port e0c,e0d
Node: node1
Ignore
Speed(Mbps) Health Health
Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status
--------- ------------ ---------------- ---- ---- ----------- -------- ------
e0c Default Default up 1500 auto/1000 healthy false
e0d Default Default up 1500 auto/1000 healthy false
2 entries were displayed.
- ifconfig -v 表示同一ifgrp中不同端口上的多个系统ID
示例:
- LACP对等方正在发送两个不同的
system IDs
(AA-BB-CC-DD-EE-FF与FF-EE-DD-CC-BB-AA) - 在的ifgrp中仅保留一个接口
ACTIVE state
::> 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,LRO,VLAN_HWTSO>
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: 1 <-- Only one out of the two configured port is currently 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), <-- ontap
(8000,AA-BB-CC-DD-EE-FF,0037,8000,00B9)] <-- peer
input/output LACPDUs: 460 / 14099
laggport: e0c flags=18<COLLECTING,DISTRIBUTING> state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
[(8000,02-A0-98-11-22-33,0032,8000,0007), <-- ontap
(8000,FF-EE-DD-CC-BB-AA,0037,8000,043A)] <-- peer
input/output LACPDUs: 460 / 14099