235
Step Command
Remarks
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the PAP username
and password sent from the
peer to the authenticator
when the peer is
authenticated by the
authenticator by using PAP.
ppp
pap local-user username
password
{
cipher
|
simple
}
string
By default, when being
authenticated by the authenticator
by using PAP, the peer sends null
username and password to the
authenticator.
For security purposes, the
password specified in plaintext
form and ciphertext form will be
stored in encrypted form.
Configuring CHAP authentication (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 authenticator
to authenticate the peer by
using CHAP.
ppp
authentication-mode
chap
[
domain
{
isp-name
|
default enable isp-name
} ]
By default, PPP authentication is
disabled.
4.
Configure a username for
the CHAP authenticator.
ppp
chap
user username
The default setting is null.
The username you configure for the
authenticator must be the same as
the local username you configure for
the authenticator on the peer.
5.
Configure local or remote
AAA authentication.
For local AAA authentication,
the username and password of
the peer must be configured on
the authenticator.
For remote AAA authentication,
the username and password of
the peer must be configured on
the remote AAA server.
For more information about AAA
authentication, see "
The username configured for the peer
must be the same as that configured
on the peer.
The passwords configured for the
authenticator and peer must be the
same.
To configure the peer:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A