# ppp chap-challenge-length

#### Syntax

ppp chap-challenge-length minLength maxLength

no ppp chap-challenge-length

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Modifies the length of the CHAP challenge by specifying the minimum and maximum allowable length. The no version restores the defaults.

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

#### Options

- minLength—Minimum length of the CHAP challenge in bytes, in the range 8–63; default value is 16 bytes
- maxLength—Maximum length of the CHAP challenge in bytes, in the range 8–63; value must be equal to or greater than the minimum length; default value is 32 bytes

#### Mode

Interface Configuration, Profile Configuration, Subinterface Configuration