R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

50
# Set a password for the user account.
[RouterA-luser-userb] password simple passb
# Set the service type of the user account to PPP.
[RouterA-luser-userb] service-type ppp
[RouterA-luser-userb] quit
# Enable PPP encapsulation on Serial 2/0/1.
[RouterA] interface serial 2/0/1
[RouterA-Serial2/0/1] link-protocol ppp
# Set the authentication mode to PAP.
[RouterA-Serial2/0/1] ppp authentication-mode pap domain system
# Assign an IP address to Serial 2/0/1.
[RouterA-Serial2/0/1] ip address 200.1.1.1 16
[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
2. Configure Router B:
# Enable PPP encapsulation on Serial 2/0/1.
<RouterB> system-view
[RouterB] interface serial 2/0/1
[RouterB-Serial2/0/1] link-protocol ppp
# Configure the PAP username and password sent from Router B to Router A when Router B is
authenticated by Router A using PAP.
[RouterB-Serial2/0/1] ppp pap local-user userb password simple passb
# Assign an IP address to Serial 2/0/1 of Router B.
[RouterB-Serial2/0/1] ip address 200.1.1.2 16
3. Verify the configuration:
Use the display interface serial command to display information about Serial 2/0/1 of Router B.
The physical layer status and link layer status of the interface are both up, and the states of LCP and
IPCP are both Opened, indicating PPP negotiation is successful. Router A and Router B can ping
each other.
[RouterB-Serial2/0/1] display interface serial 2/0/1
Serial2/0/1 current state: UP
Line protocol current state: UP
Description: Serial2/0/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 200.1.1.2/16 Primary
Link layer protocol is PPP
LCP opened, IPCP opened
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Interface is V35
206 packets input, 2496 bytes
206 packets output, 2492 bytes
[RouterB-Serial2/0/1] ping 200.1.1.1