R3303-HP 6600/HSR6600 Routers Layer 2 - WAN Configuration Guide

62
In addition, you can check the state of MP virtual channels by checking the state of virtual access
interfaces by using the display virtual-access command.
(Method 2) Associate the remote username with a VT interface.
6. Configure Router A:
# Configure the username and password of Router B.
<RouterA> system-view
[RouterA] local-user rtb
[RouterA-luser-rtb] password simple rtb
[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