R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)

30
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 pool aaa on Serial 2/1/0 of Router A.
[RouterA-Serial2/1/0] display ip pool aaa
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
200.1.1.10 S2/1/0
The output shows that one IP address has been assigned.
Using the address pool associated with an ISP domain
Network requirements
As shown in Figure 8, configure Router A to allocate an IP address from the address pool associated with
the ISP domain to Serial 2/1/0 of Router B through PPP negotiation.
Figure 8 Network diagram
Configuration procedure
1. Configure Router A:
# Configure an address pool aaa that contains IP addresses 200.1.1.10 through 200.1.1.20 for
the group AAA.
<RouterA> system-view
[RouterA] ip pool aaa 200.1.1.10 200.1.1.20 group AAA
# Create a local user for Router B.
[RouterA] local-user userb class network
# Set a password for the local user.
[RouterA-luser-network-userb] password simple 123
# Set the service type to PPP for the local user.
[RouterA-luser-network-userb] service-type ppp
[RouterA-luser-network-userb] quit
# Create an ISP domain bbb and associate the address pool aaa with bbb.
[RouterA] domain bbb