Ethernet Switching
Ethernet Switching

Monitor LACP

‎06-26-2017 12:03 PM

Hi together,

 

I have a small problem. I have a LAG connection between two QFX5100 running LACP.

Now I want to monitor this connection an would like to ask you, if there is a possibility to monitor the status of the interfces based on the LACP status and perform a SNMP trap if necessary.

 

Thank you for your help.

 

2 REPLIES 2
Ethernet Switching

Re: Monitor LACP

‎06-26-2017 08:06 PM

Hi LKlb,
These are list of commands to Monitor LACP; you can craft your own Utility MIB to poll create_your_own_custom_mib,

 

1. Verify LACP state:

Use "show lacp interfaces" command to verify LACP state

lab> show lacp interfaces
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-3/0/0 Actor No No Yes Yes Yes Yes Fast Active
ge-3/0/0 Partner No No Yes Yes Yes Yes Fast Passive
LACP protocol: Receive State Transmit State Mux State
ge-3/0/0 Current Fast periodic Collecting distributing

lab>
2. LACP PDUs not received

If LACP MUX state is not "Collecting distributing" check Receive State

If the receive state is "Current" it means LACP has detected some misconfig. Typically

Use following commands to dump LACP statistics:


lab> show lacp statistics interfaces
Aggregated interface: ae0
ics: LACP Rx LACP Tx Unknown Rx Illegal Rx
ge-3/0/0 3778 3771 0 0

-Python JNCIE 3X [SP|DC|ENT] JNCIP-SEC JNCDS 3X [ WAN | DC|SEC] JNCIS-Cloud JNCIS-DevOps CCIP ITIL
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.
Ethernet Switching

Re: Monitor LACP

‎06-28-2017 09:38 PM

LACP SNMP MIBS

 

.1.2.840.10006.300.43.1.2.2.1.1 (dot3adAggPortStatsLACPDUsRx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.2 (dot3adAggPortStatsMarkerPDUsRx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.3 (dot3adAggPortStatsMarkerResponsePDUsRx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.4 (dot3adAggPortStatsUnknownRx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.5 (dot3adAggPortStatsIllegalRx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.6 (dot3adAggPortStatsLACPDUsTx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.7 (dot3adAggPortStatsMarkerPDUsTx) (/var/run/lacpd-17)  
.1.2.840.10006.300.43.1.2.2.1.8 (dot3adAggPortStatsMarkerResponsePDUsTx) (/var/run/lacpd-17)  
.1.3.6.1.4.1.2636.3.53.1.1.4.1.1.1 (dot3adInterfaceName) (/var/run/lacpd-17)  
.1.3.6.1.4.1.2636.3.53.1.1.4.1.1.2 (dot3adOperState) (/var/run/lacpd-17)  
.1.3.6.1.4.1.2636.3.53.1.1.4.1.1.3 (dot3adAggname) (/var/run/lacpd-17)  
.1.3.6.1.4.1.2636.3.53.1.1.4.1.1.4 (dot3adInterfaceTimeout) (/var/run/lacpd-17)