7
Configuring PAP authentication
1. Configuring the authenticator
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure the local device
to authenticate the
supplicant by using PAP.
ppp
authentication-mode
pap
[ [
call-in
]
domain
isp-name ]
By default, PPP authentication
is disabled.
4. Configure local or remote
AAA authentication.
For local AAA authentication,
the username and password of
the supplicant must be
configured on the authenticator.
For remote AAA authentication,
the username and password of
the supplicant must be
configured on the remote AAA
server.
For more information about AAA
authentication, see Security
Configuration Guide.
The username and password
configured for the supplicant
must be the same as those
configured on the supplicant.
2. Configuring the supplicant
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure the PAP
username and password
sent from the local device
to the authenticator when
the local device is
authenticated by the
authenticator by using
PAP.
ppp
pap local-user
username
password
{
cipher
|
simple
}
password
By default, when being
authenticated by the
authenticator by using PAP, the
local device sends null
username and password to the
authenticator.
Configuring CHAP authentication
According to whether the authenticator is configured with a username or not, the configuration of
CHAP authentication includes the following two types:
• Configuring CHAP authentication when the authenticator name is configured
To configure the authenticator:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure the local device
to authenticate the
supplicant by using CHAP.
ppp
authentication-mode
chap
[ [
call-in
]
domain
isp-name ]
By default, PPP authentication
is disabled.