3Com 10014299 Network Router User Manual


 
168 CHAPTER 12: CONFIGURING PPP AND MP
Table 194 Configure the link layer protocol of the interface to PPP
The default link layer protocol of the interface is PPP.
2 Configure PPP Authentication
PPP has two authentication modes: PAP mode and CHAP mode. CHAP
authentication is more secure.
Configure PAP authentication
a Configure 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
b Configure the requester of PAP authentication
Perform the following configuration in the interface view.
Table 196 Configure the peer authenticates the local 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-user
command). The requester should send its username and password to the
authenticator (use
ppp pap local-user command).
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
a Configure the authenticator of CHAP authentication
Perform the following configuration in the interface view, and use the
local-user command in the system view.
Operation Command
Configure the link layer protocol of the interface to PPP link-protocol ppp
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
into the local user list
local-user user password {
simple | cipher } password
service-type ppp
Operation Command
Configure PAP username and password when
the peer authenticates the local in PAP mode
ppp pap local-user username
password { simple | cipher }
password
Delete the above configured username and
password sent during authentication in PAP
mode
undo ppp pap local-user