R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
31
[RouterA-isp-bbb] authorization-attribute ip-pool aaa
[RouterA-isp-bbb] quit
# Configure Serial 2/1/0 to authenticate the peer interface in the ISP domain bbb by using PAP.
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] ppp authentication-mode pap domain bbb
# Configure an IP address for Serial 2/1/0.
[RouterA-Serial2/1/0] ip address 200.1.1.1 16
2. Configure Router B:
# Configure the username and password for PAP authentication by Router A.
<RouterB> system-view
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] ppp pap local-user userb password simple 123
# Enable IP address negotiation on Serial 2/1/0.
<RouterB> system-view
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] ip address ppp-negotiate
3. Verify the configuration:
# After the configuration is complete, display summary information about Serial 2/1/0 on Router
B.
[RouterB-Serial2/1/0] display interface serial 2/1/0 brief
Brief information on interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
S2/1/0 UP UP 200.1.1.10
The output shows that Serial 2/1/0 has obtained IP address 200.1.1.10 through PPP negotiation.
# Ping Serial 2/1/0 of Router A from Router B.
[RouterB-Serial2/1/0] ping 200.1.1.1
Ping 200.1.1.1 (200.1.1.1): 56 data bytes, press CTRL_C to break
56 bytes from 200.1.1.1: icmp_seq=0 ttl=128 time=3.197 ms
56 bytes from 200.1.1.1: icmp_seq=1 ttl=128 time=2.594 ms
56 bytes from 200.1.1.1: icmp_seq=2 ttl=128 time=2.739 ms
56 bytes from 200.1.1.1: icmp_seq=3 ttl=128 time=1.738 ms
56 bytes from 200.1.1.1: icmp_seq=4 ttl=128 time=1.744 ms
--- Ping statistics for 200.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.738/2.402/3.197/0.576 ms
The output shows that the ping operation is successful.
# Display the address pools on Serial 2/1/0 of Router A.
[RouterA-Serial2/1/0] display ip pool
Group name: AAA
Pool name Start IP address End IP address Free In use
aaa 200.1.1.10 200.1.1.20 10 1
In use IP addresses:
IP address Interface










