由于对等密钥不匹配、LACP端口关闭
适用场景
- ONTAP 9
- LACP ifgrp
问题描述
- ONTAP 从LACP对等方收到不同的密钥、从而 导致ifgrp中的一个或多个接口未处于活动状态并显示为关闭:
::> 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报告以下信息:
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".
- LACP对等方正在发送两个不同的
keys
(0036与0037)、这仅在中的ifgrp中保留一个接口ACTIVE 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
- LACP ifgrp中的所有端口都必须从LACP对等方收到相同的密钥、才能在ifgrp中处于活动状态。