beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 51

background image

7

To do…

Use the command…

Remarks

Set the password for the local user

password { cipher | simple }
password

Required
The password of the authenticator

user must be the same as that of

the authenticatee user.

Configure the service type of the
local user as PPP

service-type ppp

Required

NOTE:

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

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

Create a VT interface and enter VT
interface view

interface virtual-template number

Configure the local device to
authenticate the peer by using CHAP

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

Required
By default, PPP
authentication is disabled.

Return to system view

quit

Create a local user account for the
authenticatee and enter local user view local-user username

Required

Set the password for the local user

password { cipher | simple }
password

Required

Set the service type of the local user to
PPP

service-type ppp

Required

Return to system view

quit

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.

Configure local authentication for the
PPP users

authentication ppp local

Optional

2.

Configuring the authenticatee