36
# 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 and Serial 2/0/:2 to the MP channel. Take Serial 2/0:1 as an
example.
[RouterB] interface serial 2/0:1
[RouterB-Serial2/0:1] ppp mp
[RouterB-Serial2/0:1] ppp authentication-mode pap domain system
[RouterB-Serial2/0:1] ppp pap local-user router-b password simple router-b
[RouterB-Serial2/0: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 and Serial 2/0:2 to the MP channel. Take Serial 2/0:1 as an
example.
[RouterC] interface serial 2/0:1
[RouterC-Serial2/0:1] ppp mp
[RouterC-Serial2/0:1] ppp authentication-mode pap domain system
[RouterC-Serial2/0:1] ppp pap local-user router-c password simple router-c
[RouterC-Serial2/0:1] quit
# Configure local authentication for the PPP users in the default ISP domain system. .
[RouterC] domain system
[RouterC-isp-system] authentication ppp local