Examples
In this example, a password (xxxx) is entered as a cleartext password:
RP/0/RSP0/CPU0:router(config-if)#
ppp chap password xxxx
When the password is displayed (as shown in the following example, using the
show running-config
command), the password xxxx appears as 030752180500:
RP/0/RSP0/CPU0:router(config)#
show running-config interface POS 1/0/1/0
interface POS0/1/4/2
description Connected to P1 POS 0/1/4/3
ipv4 address 10.12.32.2 255.255.255.0
encapsulation ppp
ppp authentication chap pap
ppp chap password encrypted 030752180500
On subsequent logins, entering any of the three following commands would have the same effect of making
xxxx the password for remote CHAP authentication:
RP/0/RSP0/CPU0:router#
configure
RP/0/RSP0/CPU0:router(config)#
interface POS 1/0/1/0
RP/0/RSP0/CPU0:router(config-if)#
ppp chap password xxxx
RP/0/RSP0/CPU0:router(config-if)#
ppp chap password clear xxxx
RP/0/RSP0/CPU0:router(config-if)#
ppp chap password encrypted 1514190900
Related Commands
Description
Command
Specifies one or more authentication, authorization,
and accounting (AAA) methods for use on serial
interfaces running PPP.
aaa authentication ppp
Enables CHAP, MS-CHAP, or PAP, and specifies
the order in which CHAP, MS-CHAP, and PAP
authentication is selected on the interface.
ppp authentication , on page 720
Refuses CHAP authentication from peers requesting
it.
ppp chap refuse, on page 725
Configures a PPP interface not to reset itself
immediately after an authentication failure but instead
to allow a specified number of authentication retries.
ppp max-bad-auth , on page 730
Displays the contents of the currently running
configuration file or the configuration for a specific
interface, or map class information.
show running-config
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
724
PPP Commands onthe Cisco ASR 9000 Series Router
ppp chap password