Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


challenge-length (Static and Dynamic PPP)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.2.


Modify the length of the Challenge Handshake Authentication Protocol (CHAP) challenge by specifying the minimum and maximum allowable length, in bytes.

Best Practice

We recommend that you configure both the minimum length and the maximum length of the CHAP challenge to at least 16 bytes.


minimum-lengthMinimum length, in bytes, of the CHAP challenge.

Range: 8 through 63

Default: 16

maximum-lengthMaximum length, in bytes, of the CHAP challenge. The maximum-length must be equal to or greater than the minimum-length.

Range: 8 through 63

Default: 32

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.