# 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. 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.

#### Options

- lcp—Sets the maximum number of renegotiation attempts for the Link Control Protocol (LCP)
- ipcp—Sets the maximum number of renegotiation attempts for the Internet Protocol Control Protocol (IPCP)
- ipv6cp—Sets the maximum number of renegotiation attempts for the Internet Protocol version 6 Control Protocol (IPv6CP)
- maxNegotiationsCount—Maximum number of renegotiation attempts the router accepts before terminating a PPP session, in the range 1–65535; default value is 30

#### Mode

Interface Configuration, Profile Configuration, Subinterface Configuration