
4-7
To do… Use the command… Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Assign a username to the CHAP
authenticatee
ppp chap user
username
Required
The username you assign to
the authenticatee here must
be the same as the local
username you assign to the
authenticatee on the
authenticator.
Quit to system view
quit
—
Create a local user
account and enter
local user view
local-user
username Required
Create a local user
account for the
authenticator and
set the password
Set the password
password
{
cipher
|
simple
}
password
Required
Configuring CHAP authentication when no authenticator name is configured
1) Configuring the authenticator
Follow these steps to configure the authenticator:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure the local device to
authenticate the peer using CHAP
ppp
authentication-mode
chap
[ [
call-in
]
domain
isp-name ]
Required
By default, PPP
authentication is not
performed.
Quit to system view
quit
—
Create a local user account for the
authenticatee and enter local user view
local-user
username
Required
Configure the password for the local
user
password
{
cipher
|
simple
}
password
Required
Configure the service type of the local
user and other attributes
service-type ppp
[
callback-nocheck
|
callback-number
callback-number
|
call-number
call-number
[ :subcall-number
]
]
Required
Quit to system view
quit
—
Create an ISP domain, or enter an
existing ISP domain view
domain
isp-name
Optional
Configure to authenticate the domain
user locally
authentication ppp local
Optional
Komentarze do niniejszej Instrukcji