Perform the following optional tasks to configure authentication on interfaces with MLPPP encapsulation or MLPPP bundles.
![]() |
Note: The JUNOSe software’s PPP application accepts null usernames during PAP and CHAP authentication. When the PPP application receives an authentication request that includes a null username, PPP passes the request to AAA. To take advantage of this feature, configure your authentication server to support the use of null usernames. |
ppp authentication
- host1(config-if)#ppp authentication pap chap
The router requests the use of PAP as the authentication protocol (because it appears first in the command line). If the peer refuses to use PAP, the router requests the CHAP protocol. If the peer refuses to negotiate authentication, the router terminates the PPP session.
- host1(config-if)#ppp authentication virtual-router
boston pap chap
ppp chap-challenge-length
![]() |
Caution: Do not use the ppp chap-challenge-length command; increasing the minimum length (from the default 16 bytes) or decreasing the maximum length (from the default 32 bytes) reduces the security of your router. |
- host1(config-if)#ppp chap-challenge-length
24 28
ppp max-bad-auth
- host1(config-if)#ppp max-bad-auth 3