ppp max-negotiations

Syntax

ppp max-negotiations [ lcp | ipcp | ipv6cp ] [ maxNegotiationsCount ]

no ppp max-negotiations [ lcp | ipcp | ipv6cp ]

Release Information

Command introduced in JunosE Release 10.0.0.

Description

Configures the maximum number of LCP, IPCP, or IPv6CP renegotiation attempts the router accepts before terminating a PPP session.

The maximum number of renegotiation attempts helps to avoid massive renegotiation loops that can occur between the router and a noncompliant PPP client. Such renegotiation loops can cause excessive CPU utilization and can prevent the PPP client from coming up properly. When a PPP client exceeds the configured maximum number of renegotiation attempts, the router sends a termination request to end the PPP session. When the PPP session is terminated and LCP goes into a stopped (closed) state, dynamic PPP or MLPPP interface columns are torn down and wait to be recreated when traffic is detected on the interface.

When both IPv4 interface columns and IPv6 interface columns are configured over a PPP link-layer interface, the router terminates the PPP session only when the PPP client exceeds the configured maximum number of renegotiation attempts for both the IPv4 interface and the IPv6 interface.

If you do not specify the optional lcp, ipcp, or ipv6cp keyword, the command sets the maximum number of renegotiation attempts for each of LCP, IPCP, and IPv6CP to the value you specify, or to the default value (30) if you omit the optional maxNegotiationsCount value. When a PPP client exceeds the configured maximum number of renegotiation attempts, the router sends a termination request to end the PPP session.

The no version restores the default value, 30 renegotiation attempts.

Note: Renegotiation is triggered when LCP, IPCP, or IPv6CP are in Established state and CPE sends out a request (for example, an IPCP configuration request). During renegotiation, the ERX PPP IPCP state machine goes to Down state and then comes back up to Established state. If renegotiation is attempted multiple times, the system allows the event to be triggered for maxNegotiationsCount times. Once the max-renegotiation limit is reached, the session is terminated.

Options

Mode

Interface Configuration, Profile Configuration, Subinterface Configuration