Fixing Link Aggregation Control Protocol or LACP Timeout in Juniper

By default in Juniper, LACP timer is fast which is 1 sec, while in Cisco the default setting is slow which is 30 secs. If connecting Juniper devices to non-Juniper routers or switches, the LACP timer will have mismatch thus it can cause LACP timing out due to not receiving PDU packets in a timely manner.

show log messages | match lacp
Sample error logs: user1@QFX-Router1-re0> show log messages | match lacp
Sep 6 08:23:10.002 2020 QFX-Router1-re0 lacpd[7292]: %DAEMON-5-LACPD_TIMEOUT: xe-0/0/0: lacp current while timer expired current Receive State: CURRENT
Sep 6 08:23:10.002 2020 QFX-Router1-re0 lacpd[7292]: %DAEMON-5-LACP_INTF_DOWN: ae30: Interface marked down due to lacp timeout on member xe-0/0/0
configure
set interfaces <interface> aggregated-ether-options lacp periodic <fast/slow>
commit
FIX: user1@QFX-Router1-re0> configure
user1@QFX-Router1-re0# set interfaces ae1 aggregated-ether-options lacp periodic slow  
user1@QFX-Router1-re0# commit
Verify:
show lacp interfaces <interface>
Before:
user1@QFX-Router1-re0> show lacp interfaces ae1
Aggregated interface: ae1
    LACP state:       Role   Exp   Def  Dist  Col  Syn  Aggr  Timeout  Activity
      xe-0/0/0      Actor    No    No   Yes  Yes  Yes   Yes     Fast    Active
      xe-0/0/0    Partner    No    No   Yes  Yes  Yes   Yes     Slow    Active
      xe-0/0/1     Actor    No    No   Yes  Yes  Yes   Yes     Fast    Active
      xe-0/0/1   Partner    No    No   Yes  Yes  Yes   Yes     Slow    Active
    LACP protocol:        Receive State  Transmit State          Mux State
      xe-0/0/0                 Current   Slow periodic Collecting distributing
      xe-0/0/1                Current   Slow periodic Collecting distributing
{master}
After:
user1@QFX-Router1-re0> show lacp interfaces ae1
Aggregated interface: ae1
    LACP state:       Role   Exp   Def  Dist  Col  Syn  Aggr  Timeout  Activity
      xe-0/0/0      Actor    No    No   Yes  Yes  Yes   Yes     Slow    Active
      xe-0/0/0    Partner    No    No   Yes  Yes  Yes   Yes     Slow    Active
      xe-0/0/1     Actor    No    No   Yes  Yes  Yes   Yes     Slow    Active
      xe-0/0/1   Partner    No    No   Yes  Yes  Yes   Yes     Slow    Active
    LACP protocol:        Receive State  Transmit State          Mux State
      xe-0/0/0                 Current   Slow periodic Collecting distributing
      xe-0/0/1                Current   Slow periodic Collecting distributing

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *