R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

62
[RouterA-luser-rtb] service-type ppp
[RouterA-luser-rtb] quit
# Specify a VT interface to user RTB.
[RouterA] ppp mp user rtb bind virtual-template 1
# Create the VT interface and configure its IP address.
[RouterA] interface virtual-template 1
[RouterA-Virtual-Template1] ip address 8.1.1.1 24
[RouterA-Virtual-Template1] ppp mp binding authentication
[RouterA-Virtual-Template1] quit
# Configure Serial 2/0/2.
[RouterA] interface serial 2/0/2
[RouterA-Serial2/0/2] link-protocol ppp
[RouterA-Serial2/0/2] ppp authentication-mode pap domain system
[RouterA-Serial2/0/2] ppp pap local-user rta password simple rta
[RouterA-Serial2/0/2] ppp mp
[RouterA-Serial2/0/2] shutdown
[RouterA-Serial2/0/2] undo shutdown
[RouterA-Serial2/0/2] quit
# Configure Serial 2/0/1.
[RouterA] interface serial 2/0/1
[RouterA-Serial2/0/1] link-protocol ppp
[RouterA-Serial2/0/1] ppp authentication-mode pap domain system
[RouterA-Serial2/0/1] ppp pap local-user rta password simple rta
[RouterA-Serial2/0/1] ppp mp
[RouterA-Serial2/0/1] shutdown
[RouterA-Serial2/0/1] undo shutdown
[RouterA-Serial2/0/1] quit
# Configure local authentication for the PPP users in the default ISP domain system.
[RouterA] domain system
[RouterA-isp-system] authentication ppp local
[RouterA-isp-system] quit
7. Configure Router B:
# Configure the username and password of Router A.
<RouterB> system-view
[RouterB] local-user rta
[RouterB-luser-rta] password simple rta
[RouterB-luser-rta] service-type ppp
[RouterB-luser-rta] quit
# Specify a VT interface to user RTA.
[RouterB] ppp mp user rta bind virtual-template 1
# Create the VT interface and configure its IP address.
[RouterB] interface virtual-template 1
[RouterB-Virtual-Template1] ip address 8.1.1.2 24
[RouterB-Virtual-Template1] ppp mp binding authentication
[RouterB-Virtual-Template1] quit
# Configure Serial 2/0/2.