380
C
19: PPP
HAPTER
AND
PPP and MP
Configuration
Example
PAP Authentication
Example
CHAP Authentication
Example
MP C
ONFIGURATION
Network requirements
As shown in
Figure
interface Serial 2/0, and Router A is required to authenticate Router B using PAP.
Network diagram
Figure 96 Network diagram for PAP and CHAP authentication
S2/0
S 2/0
200.1.1.1 /16
200 .1.1.2/16
Router A
Configuration procedure
1 Configure Router A.
<RouterA> system-view
[RouterA] local-user user2
[RouterA-luser-user2] service-type ppp
[RouterA-luser-user2] password simple pass2
[RouterA-luser-user2] quit
[RouterA] interface serial 2/0
[RouterA-Serial2/0] link-protocol ppp
[RouterA-Serial2/0] ppp authentication-mode pap domain system
[RouterA-Serial2/0] ip address 200.1.1.1 16
[RouterA-Serial2/0] quit
[RouterA] domain system
[RouterA-isp-system] authentication ppp local
2 Configure Router B.
<RouterB> system-view
[RouterB] interface serial 2/0
[RouterB-Serial2/0] link-protocol ppp
[RouterB-Serial2/0] ppp pap local-user user2 password simple pass2
[RouterB-Serial2/0] ip address 200.1.1.2 16
Network requirements
As shown in
Figure
Configuration procedure
Approach I: use local username and password to perform CHAP
1 Configure Router A.
<RouterA> system-view
[RouterA] local-user user2
[RouterA-luser-user2] password simple hello
[RouterA-luser-user2] service-type ppp
[RouterA-luser-user2] quit
[RouterA] interface serial 2/0
[RouterA-Serial2/0] link-protocol ppp
[RouterA-Serial2/0] ppp chap user user1
96, Router A and Router B are interconnected through the
96, Router A is required to use CHAP to authenticate Router B.
Router B
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers