Related Documentation
- EX Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- J Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- M Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- Disabling the Sending of PPPoE Keepalive Messages in Junos OS Ethernet Interfaces Configuration Guide

- MX Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- Disabling the Sending of PPPoE Keepalive Messages in Junos OS Ethernet Interfaces Configuration Guide

- T Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

Understanding How the Router Processes Subscriber-Initiated PPP Fast Keepalive Requests
On MX Series routers with Modular Port Concentrators/Modular Interface Cards (MPCs/MICs), the Packet Forwarding Engine on an MPC/MIC processes and responds to Link Control Protocol (LCP) Echo-Request packets that the PPP subscriber (client) initiates and sends to the router. LCP Echo-Request packets and LCP Echo-Reply packets are part of the PPP keepalive mechanism that helps determine whether a link is functioning properly.
Previously, LCP Echo-Request packets and LCP Echo-Reply packets were handled on an MX Series router by the Routing Engine. Support for the PPP fast keepalive feature enables the Packet Forwarding Engine on the MPC/MIC to receive LCP Echo-Request packets from the PPP subscriber and transmit LCP Echo-Reply packets in response, without having to send the LCP packets to the Routing Engine for processing. The mechanism by which LCP Echo-Request packets are processed by the Packet Forwarding Engine instead of by the Routing Engine is referred to as PPP fast keepalive.
Relieving the Routing Engine of having to process LCP Echo-Request packets provides increased bandwidth on the router to support a larger number of subscribers with improved performance.
How PPP Fast Keepalive Processing Works
You do not need any special configuration on an MX Series router with MPCs/MICs to enable processing of PPP fast keepalive requests on the Packet Forwarding Engine. The feature is enabled by default, and cannot be disabled.
The following sequence describes how an MX Series router processes LCP Echo-Request packets and LCP Echo-Reply packets on the Packet Forwarding Engine on the MPC/MIC:
- The Routing Engine notifies the Packet Forwarding Engine when transmission of keepalive requests is enabled on a PPP logical interface. The notification includes the magic numbers of both the server and the remote client.
- The Packet Forwarding Engine receives the LCP Echo-Request packet initiated by the PPP subscriber (client).
- The Packet Forwarding Engine validates the peer magic number in the LCP Echo-Request packet, and transmits the corresponding LCP Echo-Reply packet containing the magic number negotiated by the router.
- If the Packet Forwarding Engine detects a loop condition
in the link, it sends the LCP Echo-Request packet to the Routing Engine
for further processing.
The Routing Engine continues to process LCP Echo-Request packets until the loop condition is cleared.
Transmission of keepalive requests from the Packet Forwarding Engine on the router is not currently enabled.
Statistics Display for PPP Fast Keepalive
When an MX Series router with MPCs/MICs is using PPP fast keepalive for a PPP link, the Keepalive statistics field in the output of the show interfaces pp0.logical statistics operational command does not include statistics for the number of keepalive packets received or sent, or the amount of time since the router received or sent the last keepalive packet.
Related Documentation
- EX Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- J Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- M Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- Disabling the Sending of PPPoE Keepalive Messages in Junos OS Ethernet Interfaces Configuration Guide

- MX Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide

- Disabling the Sending of PPPoE Keepalive Messages in Junos OS Ethernet Interfaces Configuration Guide

- T Series
- Configuring Keepalives in Junos OS Interfaces Fundamentals Configuration Guide
