beautypg.com

Configuring the supplicant, Configuring chap authentication, Configuring chap – H3C Technologies H3C SR8800 User Manual

Page 32: Authentication

background image

24

Step Command

Remarks

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the local router to
authenticate the peer using

PAP.

ppp authentication-mode pap
[ [ 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.

local-user username

This command also leads you to
local user view.

6.

Configure a 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

9.

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.

10.

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.

Configuring the supplicant

To configure the supplicant:

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 PAP username
and password sent by the

local router to the peer when
the local router is

authenticated by the peer

using PAP.

ppp pap local-user username
password { cipher | simple }

password

By default, when being
authenticated by the peer using

PAP, the local router sends null

username and password to the
peer.

Configuring CHAP authentication

Depending on whether the authenticator is configured with a username or not, the configuration of

CHAP authentication falls into the following two types: