To do...
Configure
username and password
sent from the local router to
the peer when the local
router is authenticated by
the peer using PAP
Configuring CHAP Authentication
According to whether the authenticator is configured with a username or not, the configuration of CHAP
authentication falls into the following two types:
Configuring CHAP authentication when the authenticator name is configured
1)
Configuring the authenticator
Follow these steps to configure the authenticator:
Enter system view
Enter interface view
Configure the local router to
authenticate
CHAP
Assign a username to the CHAP
authenticator
Quit to system view
Create a local user account for
the authenticatee and enter local
user view
Configure the password for the
local user
Configure the service type of the
local user as PPP
Quit to system view
Create an ISP domain, or enter
an existing ISP domain view
Configure to authenticate the
domain user locally
the
PAP
To do...
the
peer
using
Use the command...
ppp
pap
local-user
username
password
{
|
cipher
simple
password
Use the command...
system-view
interface
interface-type
interface-number
ppp authentication-mode
chap [ [ call-in ] domain
isp-name ]
ppp chap user username
quit
local-user username
{
password
simple } password
service-type ppp
quit
domain isp-name
authentication ppp local
2-33
Remarks
Required
By default, when being
authenticated by the peer
}
using PAP, the local router
sends null username and
password to the peer.
Remarks
—
—
Required
By
authentication is not
performed.
Required
The username you
assign
authenticator
must be the same as
the local username
you assign to the
authenticator on the
authenticatee.
—
Required
|
cipher
Required
Required
—
Optional
Optional
default,
PPP
to
the
here