beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 141

background image

116

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a VT interface and
enter its view.

interface virtual-template number

N/A

3.

Configure the local device to

authenticate the peer using
CHAP.

ppp authentication-mode chap
[ [

call-in ] domain isp-name ]

By default, PPP authentication is
disabled.

4.

Assign a username to the
CHAP authenticator.

ppp chap user username

The username you assign to the
authenticator must be the same as

the local username you assign to

the authenticator on the

authenticatee.

5.

Return to system view.

quit

N/A

6.

Create a local user account
for the authenticatee and

enter local user view.

local-user username N/A

7.

Set the password for the local
user.

password { cipher | simple }
password

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

authenticatee 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

Access Control

Configuration Guide.

To configure the authenticatee:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a VT interface and
enter its view.

interface virtual-template number N/A

3.

Assign a username to the
CHAP authenticatee.

ppp chap user username

The username you assign to the
authenticatee here must be the

same as the local username you

assign to the authenticatee on the

authenticator.