Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Subscriber Management] PPPoE subscriber disconnected due to 'lcp-keepalive-failure' on MPC5E PIC0 interfaces



Article ID: KB34412 KB Last Updated: 28 May 2019Version: 1.0

PPPoE subscriber disconnected due to 'lcp-keepalive-failure' on MPC5E PIC0 interfaces.


Some PPPoE subscribers may be disconnected by MX due to "lcp-keepalive-failure".

In general, if the client does not respond to BRAS PPP LCP echo request, the BRAS will terminate this PPP session. In this case, the problem clients are always on MPC5E PIC0 interfaces. When these problem clients were moved to PIC1 interfaces, the PPPoE subscribers worked stably.

Since MX uses inline-ka to maintain PPP sessions, we cannot use tcpdump to capture PPP keepalive messages on the MX side. We did capture on the switch, between the problem PPPoE subscriber and MX, then confirmed MX did NOT send out the PPP LCP echo request message.

user@mx> show network-access aaa terminate-code brief

  RADIUS     Custom Usage-Count Type Code
  10         no     1303        ppp  lcp-keepalive-failure

Inline-ka infra sends the PPP keepalive packet to the wrong XM and causes the PPP keepalive packet to drop.

The 'disp_cookie.xm_num' did not reset before starting transmission of a new inline-ka entry. If the first inline-ka entry transmitted on XM1 and the second ka entry is expected to send on XM0, then the 'disp_cookie.xm_num' value remains XM1 during the transmission of the second entry and causes the inline-ka infra to send the second KA entry to XM1, not to XM0. XM1 drops PPP keepalive packets as not destined to it.


This issue has been fixed via PR1343687 - Some PPPoE subscribers disconnected due to lcp-keepalive-failure on MPC5E/MPC6E PIC0 interfaces
Please upgrade to the resolved Junos verson.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search