ppp chap password

Last Updated : May 24, 2019 |

Sets the CHAP password for authentication with a remote peer.

Important:

This command is not allowed when FIPS mode is enabled.

Note:

This command is not backward-compatible. If you downgrade to version 3.x or earlier, reconfigure this command on the gateway.

This command sets the CHAP secret for cases where the device is a CHAP responder, and the USB-modem ppp chap-secret command sets the CHAP secret for cases where the device is a CHAP initiator.

Syntax

[no] ppp chap password secret

Parameters

Parameter

Description

Possible Values

Default Value

secret

The CHAP password

User level

read-write

Context

interface:FastEthernet, Dialer (L2, L2-L3)

Example

To set the CHAP password for authentication with a remote peer to 123456:

Gxxx-001(super-if:FastEthernet )# ppp chap password 123456