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

50
Figure 13 Network diagram
Configuration procedure
1. Configure Router A as the PPPoE server:
# Configure an IP address for interface VT 1 and specify an IP address for the peer.
<RouterA> system-view
[RouterA] interface virtual-template 1
[RouterA-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[RouterA-Virtual-Template1] remote address 1.1.1.2
[RouterA-Virtual-Template1] quit
# Enable the PPPoE server on GigabitEthernet 1/0/1, and bind the interface to VT 1.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] pppoe-server bind virtual-template 1
[RouterA-GigabitEthernet1/0/1] quit
2. Configure Router B as the PPPoE client:
# Create dialer access group 1 and configure a dial access control rule for it.
<RouterB> system-view
[RouterB] dialer-group 1 rule ip permit
# Enable bundle DDR on interface Dialer 1.
[RouterB] interface dialer 1
[RouterB-Dialer1] dialer bundle enable
# Associate Dialer 1 with dialer access group 1.
[RouterB-Dialer1] dialer-group 1
[RouterB-Dialer1] quit
# Configure Dialer 1 to obtain an IP address through PPP negotiation.
[RouterB-Dialer1] ip address ppp-negotiate
# Configure a PPPoE session that corresponds to dialer bundle 1 (dialer bundle 1 corresponds to
interface Dialer 1).
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] pppoe-client dial-bundle-number 1
[RouterB-GigabitEthernet1/0/1] quit
# Configure the PPPoE session to operate in permanent mode.
[RouterB] interface dialer 1
[RouterB-Dialer1] dialer timer idle 0
# Set the DDR auto-dial interval to 60 seconds.
[RouterB-Dialer1] dialer timer autodial 60
[RouterB-Dialer1] quit
# Configure a static route.
[RouterB] ip route-static 1.1.1.1 255.0.0.0 dialer 1
3. Verify the configuration by displaying summary information about the PPPoE session established
between Router B and Router A (PPPoE server).