Configuring the authenticatee, Configuring chap authentication, Configuring the authenticator – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 107

Advertising
background image

97

Configuring 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
interface-number

N/A

3.

Configure the PAP username

and password sent from the

local device to the peer when
the local device is

authenticated by the peer by

using PAP.

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

By default, when being
authenticated by the peer using
PAP, the local device sends null

username and password to the

peer.

Configuring CHAP authentication

According to whether the authenticator is configured with a username or not, the configuration of CHAP

authentication falls into the following two types:

Configuring CHAP authentication when the authenticator name
is configured

Configuring the authenticator

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a VT interface and
enter its view.

interface virtual-template
interface-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

Advertising