Related Documentation
- EX Series
- Configuring Keepalives
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- J Series
- Configuring Keepalives
- M Series
- Configuring Keepalives
- Disabling the Sending of PPPoE Keepalive Messages in Junos® OS Ethernet Interfaces
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- MX Series
- Configuring Keepalives
- Disabling the Sending of PPPoE Keepalive Messages in Junos® OS Ethernet Interfaces
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- SRX Series
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- T Series
- Configuring Keepalives
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service 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.
Effect of Changing the Forwarding Class Configuration
To change the default queue assignment (forwarding class) for outbound traffic generated by the Routing Engine, you can include the forwarding-class class-name statement at the [edit class-of-service host-outbound-traffic] hierarchy level.
For PPP fast (inline) keepalive LCP Echo-Request and LCP Echo-Reply packets transmitted between an MX Series router with MPCs/MICs and a PPP client, changing the forwarding class configuration takes effect immediately for both new PPP-over-Ethernet (PPPoE), PPP-over-ATM (PPPoA), and L2TP network server (LNS) subscriber sessions created after the configuration change, and for existing PPPoE, PPPoA, and LNS subscriber sessions established before the configuration change.
Related Documentation
- EX Series
- Configuring Keepalives
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- J Series
- Configuring Keepalives
- M Series
- Configuring Keepalives
- Disabling the Sending of PPPoE Keepalive Messages in Junos® OS Ethernet Interfaces
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- MX Series
- Configuring Keepalives
- Disabling the Sending of PPPoE Keepalive Messages in Junos® OS Ethernet Interfaces
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- SRX Series
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide
- T Series
- Configuring Keepalives
- Changing the Routing Engine Outbound Traffic Defaults in Junos OS Class of Service Configuration Guide