To configure a common CHAP secret to be used in responses to challenges from an unknown remote peer in a collection of routers that do not support this command (such as routers running older Cisco IOS software images), use the ppp chap password interface configuration command. To disable this function, use the no form of this command.
ppp chap password secret
no ppp chap password secret
Syntax Description
secret Secret used to compute the response value for any CHAP challenge from an unknown peer. Disabled
Command Mode
Interface configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.2.
This command allows you to replace several username and password configuration commands with a single copy of this command on any dialer interface or asynchronous group interface.
This command is used for remote CHAP authentication only (when authenticating to the peer) and does not affect local CHAP authentication.
Example
The following example configures interface BRI 0 for PPP encapsulation. If a CHAP challenge is received from a peer whose name is not found in the global list of usernames, the encrypted secret 7 1234567891 is decrypted and used to create a CHAP response value.
interface bri0 encapsulation ppp ppp chap password 7 1234567891Related Commands
You can use the master indexes or search online to find documentation of related commands.
aaa authentication ppp
ppp authentication
ppp chap hostname
ppp pap