LACP port down due to mismatched peer keys
Applies to
- ONTAP 9
- LACP ifgrps
Issue
- ONTAP has received differing keys from the LACP peer, leading to one or more interfaces not being active in the ifgrp and showing as down:
::> network port ifgrp show -instance
Node: node1
Interface Group Name: a0a
Distribution Function: port
Create Policy: multimode_lacp
MAC Address: d2:39:ea:xx:xx:xx
Port Participation: partial
Network Ports: e0c, e0e
Up Ports: e0e
Down Ports: e0c
- EMS reports the following:
Fri Dec 13 21:49:10 +0000 [NODE-01: intr: net.ifgrp.lacp.key.mismatch:error]: Partner mismatch occured on ifgrp "a0a", port "e3b". Expected by aggregate: system-priority "0x9b7f", system-ID "XX:XX:XX:XX:XX:XX", and key "0x0037". Found at Port: system-priority "0x9b7f", system-ID "XX:XX:XX:XX:XX:XX", and key "0x0036".
- The LACP peer is sending two different
keys
(0036 vs 0037) which is leaving only one interface in the ifgrp in theACTIVE state:
::> system node run -node node1 -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:xx:xx:xx
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: e0e 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,AA-BB-CC-DD-EE-FF,0036,8000,043A)] <-- peer
input/output LACPDUs: 460 / 14099
- All ports in an LACP ifgrp must receive the same key from the LACP peer to be ACTIVE in the ifgrp.