R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

58
[RouterA-Serial2/0/1:1] ppp authentication-mode pap domain system
[RouterA-Serial2/0/1:1] ppp pap local-user router-a password simple router-a
[RouterA-Serial2/0/1:1] quit
# Configure local authentication for the PPP users in the default ISP domain system.
[RouterA] domain system
[RouterA-isp-system] authentication ppp local
2. Configure Router B:
# Create a user account for Router A.
<RouterB> system-view
[RouterB] local-user router-a
[RouterB-luser-router-a] password simple router-a
[RouterB-luser-router-a] service-type ppp
[RouterB-luser-router-a] quit
# Create a VT interface for the user and specify to use the NCP information of this interface for PPP
negotiation.
[RouterB] ppp mp user router-a bind virtual-template 1
# Configure the VT interface.
[RouterB] interface virtual-template 1
[RouterB-Virtual-Template1] ip address 202.38.166.2 255.255.255.0
[RouterB-Virtual-Template1] quit
# Add interfaces Serial 2/0/1:1 and Serial 2/0/1/:2 to the MP channel. Take Serial 2/0/1:1 as
an example.
[RouterB] interface serial 2/0/1:1
[RouterB-Serial2/0/1:1] ppp mp
[RouterB-Serial2/0/1:1] ppp authentication-mode pap domain system
[RouterB-Serial2/0/1:1] ppp pap local-user router-b password simple router-b
[RouterB-Serial2/0/1:1] quit
# Configure local authentication for the PPP users in the default ISP domain system.
[RouterB] domain system
[RouterB-isp-system] authentication ppp local
3. Configure Router C:
# Create a user account for Router A.
<RouterC> system-view
[RouterC] local-user router-a
[RouterC-luser-router-a] password simple router-a
[RouterC-luser-router-a] service-type ppp
[RouterC-luser-router-a] quit
# Create a VT interface for the user and specify to use the NCP information of the interface for PPP
negotiation.
[RouterC] ppp mp user router-a bind virtual-template 1
# Configure the VT interface.
[RouterC] interface virtual-template 1
[RouterC-Virtual-Template1] ip address 202.38.168.2 255.255.255.0
[RouterC-Virtual-Template1] quit
# Add interfaces Serial 2/0/1:1 and Serial 2/0/1:2 to the MP channel. Take Serial 2/0/1:1 as
an example.