How to verify MLAG link status?


After the MLAG neighbor relationship is correctly established and MLAG link configurations are loaded on the MLAG devices, use the following command to show the MLAG link to verify the MLAG link status.

run show mlag link {<link-id>| summary}

 For example,

admin@XorPlus# run show mlag link summary
# of Links: 2
Link   Local LAG   Link Status   Local Status   Peer Status   Config Matched   Flood
----   ---------   -----------   ------------   -----------   --------------   -----
1      ae1         IDLE          UP             UNKNOWN       No               No  
2      ae2         IDLE          UP             UNKNOWN       No               No

See the command reference of run show mlag link for more details about the explanation of all the output.

In the display result, if Link Status is not FULL or Local Status is not UP, you can check whether LACP neighbor is established normally between the access devices and MLAG peer device by using the command run show lacp neighbor.

For example,

admin@Xorplus# run show lacp neighbor
Aggregated interface: ae1
Port Number   Partner System ID    Partner Port Num   Port Priority   Oper Key   State
-----------   -----------------------   ----------------   -------------   --------   -----

Aggregated interface: ae2
Port Number   Partner System ID   Partner Port Num   Port Priority   Oper Key   State
-----------   -----------------------   ----------------   -------------   --------   -----
te-1/1/5      32768,3C:2C:99:89:89:01   2          32768           0x20       0x3D


In the displayed result, the State value should be 0x3D. If not, that indicates the LACP neighbor relationship is not successfully established. Then you can check whether a packet is sent to the CoPP or check the LACP configurations.

 For example,

admin@Xorplus# run show copp statistics lacp-class
lacp-class Traffic statistics:
forwarding-class state: active
Input rate 0 bits/sec, 0 packets/sec
Input Packets............................0
Input Octets.............................0

Drop rate 0 bits/sec, 0 packets/sec
Drop Packets.............................0
Drop Octets..............................0



Copyright © 2024 Pica8 Inc. All Rights Reserved.