beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 33

background image

25

Configuring CHAP authentication when the authenticator name is configured

Configuring CHAP authentication when no authenticator name is configured

Configuring CHAP authentication when the authenticator name is configured

1.

Configuring the authenticator
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 router to
authenticate the peer using

CHAP.

ppp authentication-mode chap
[ [ call-in ] domain isp-name ]

By default, PPP authentication is
not performed.

4.

Assign a username to the
CHAP authenticator.

ppp chap user username

The username you assign to the
authenticator here must be the

same as the local username you
assign to the authenticator on the

supplicant.

5.

Return to system view.

quit

N/A

6.

Create a local user account
for the supplicant and enter

local user view.

local-user username

N/A

7.

Configure the password for
the local user.

password { cipher | simple }
password

The password of the authenticator
user must be the same as that of the

supplicant user.

8.

Configure the service type of
the local user as PPP.

service-type ppp

N/A

9.

Return to system view.

quit

N/A

10.

Create an ISP domain, or
enter an existing ISP domain

view.

domain isp-name

Optional.
To configure the ppp

authentication-mode command
with an ISP domain specified

which is not the default domain

system, configure this command
before configuring the ppp

authentication-mode command.

11.

Configure local authentication

for the PPP users.

authentication ppp local

Optional.

NOTE:

For more information about local user configuration and domain configuration, see

Security

Configuration Guide.

2.

Configuring the supplicant
To configure the supplicant: