168CHAPTER 12: CONFIGURING PPP AND MP

Table 194 Configure the link layer protocol of the interface to PPP

Operation

Command

 

 

Configure the link layer protocol of the interface to PPP

link-protocol ppp

 

 

The default link layer protocol of the interface is PPP.

2Configure PPP Authentication

PPPhas two authentication modes: PAP mode and CHAP mode. CHAP authentication is more secure.

Configure PAP authentication

aConfigure the authenticator of PAP authentication

Perform the following configuration in the interface view, and use the user command in the system view.

Table 195 Configure the local authenticates the peer in PAP mode

Operation

Command

 

 

Enable PAP authentication

ppp authentication-mode pap [

 

callin ] [scheme { default

 

name-list }]

 

 

Disable PPP authentication

undo ppp authentication-mode

 

 

Add the username and password of the peer

local-user user password {

into the local user list

simple cipher } password

 

service-type ppp

 

 

bConfigure the requester of PAP authentication

Perform the following configuration in the interface view.

Table 196 Configure the peer authenticates the local in PAP mode

Operation

Command

 

 

Configure PAP username and password when

ppp pap local-user username

the peer authenticates the local in PAP mode

password { simple cipher }

 

password

 

 

Delete the above configured username and

undo ppp pap local-user

password sent during authentication in PAP

 

mode

 

 

 

While configuring PAP authentication, note following:

If one side originates the PAP, authenticator should add username and password for the requester in the local database (use local-usercommand). The requester should send its username and password to the authenticator (use ppp pap local-usercommand).

If one side originates the PAP, authenticator only needs to start PAP authentication itself (use ppp authentication-mode pap command). The requester does not need to configure the command.

If both sides originate PAP simultaneously, then each side is both authenticator and requester. At this time, both sides need to configure all the commands supporting the PAP authentication.

Configure CHAP authentication

aConfigure the authenticator of CHAP authentication

Perform the following configuration in the interface view, and use the local-usercommand in the system view.

Page 172
Image 172
3Com 10014299 manual Configure the link layer protocol of the interface to PPP, Name-list