beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 34

background image

26

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Assign a username to the CHAP
supplicant.

ppp chap user username

The username you assign to
the supplicant here must be

the same as the local
username you assign to the

supplicant on the

authenticator.

4.

Create a local user account for the

authenticator and set the password.

5.

Return to system view:
quit

6.

Create a local user account

and enter local user view:
local-user username

7.

Set the password:
password { cipher | simple }

password

8.

Configure the service type of
the local user as PPP:

service-type ppp

The password of the
authenticator user must be

the same as that of the
supplicant user.

NOTE:

For more information about local user configuration, see

Security Configuration Guide.

If the authenticator name is configured, do not configure the ppp chap password command on the
interface that connects the supplicant. Otherwise, the authentication may fail.

Configuring CHAP authentication when no 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.

Return to system view.

quit

N/A

5.

Create a local user account for the

supplicant and enter local user
view.

local-user username

N/A

6.

Configure the password for the

local user.

password { cipher | simple }
password

N/A

7.

Configure the service type of the
local user as PPP.

service-type ppp

N/A

8.

Return to system view.

quit

N/A