No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring PPPoE Dialup Access in Easy IP Mode

Example for Configuring PPPoE Dialup Access in Easy IP Mode

Networking Requirements

The command output is as follows: As shown in Figure 5-22, the router obtains an IP address from the PPPoE server. The IP address of Eth2/0/1 on the router is and the IP address of the PPPoE server is Internal hosts connect to the network using routers. The router obtains a public IP address from the PPPoE server in PPPoE dialup mode. Users hope that internal hosts can access external networks.

Figure 5-22  Networking diagram for configuring PPPoE dialup access in Easy IP mode

Configuration Roadmap

The configuration roadmap is as follows:

Create a dialer interface and set parameters of the dialer port, establish a PPPoE session, configure a static route on the router, and configure Easy IP on the dialer interface to implement external network access by configuring PPPoE dialup in Easy IP mode.


  1. Configure a PPPoE server.

    Configure the authentication mode, IP address allocation mode, and IP address or IP address pool for the PPPoE client. For details about the configuration procedure, see the documentation of the PPPoE server. If the router functions as a PPPoE server, see Example for Configuring the PPPoE Server.

  2. Configure a dialer port.

    <Huawei> system-view
    [Huawei] sysname Router
    [Router] dialer-rule
    [Router-dialer-rule] dialer-rule 1 ip permit
    [Router-dialer-rule] quit
    [Router] interface dialer 1
    [Router-Dialer1] dialer user user2
    [Router-Dialer1] dialer-group 1
    [Router-Dialer1] dialer bundle 1
    [Router-Dialer1] dialer timer idle 300
    INFO:  The configuration will become effective after link reset.
    [Router-Dialer1] dialer queue-length 8
    [Router-Dialer1] ppp chap user user1@system
    [Router-Dialer1] ppp chap password cipher huawei123
    [Router-Dialer1] ip address ppp-negotiate
    [Router-Dialer1] quit

  3. Create a PPPoE session.

    [Router] interface gigabitethernet 1/0/0
    [Router-GigabitEthernet1/0/0] pppoe-client dial-bundle-number 1 on-demand
    [Router-GigabitEthernet1/0/0] quit

  4. Configure a static route on the router.

    [Router] ip route-static 0 dialer 1

  5. Configure outbound NAT on the dialer interface in Easy IP mode.

    [Router] acl 2000
    [Router-acl-basic-2000] rule 5 permit source
    [Router-acl-basic-2000] quit
    [Router] interface dialer 1
    [Router-Dialer1] nat outbound 2000
    [Router-Dialer1] quit

  6. Verify the configuration.

    # Run the display pppoe-client session summary command to check the PPPoE session status and configuration. Check whether the session status is Up and whether the configuration is consistent with the data plan and networking according to command output.

    <Router> display pppoe-client session summary
    PPPoE Client Session:
    ID   Bundle  Dialer  Intf             Client-MAC    Server-MAC    State
    1    1       1       GE1/0/0          00e0fc030201  00e0fc030206  PPPUP

    # Run the display nat outbound command on the router. The command output is as follows:

    <Router> display nat outbound
     NAT Outbound Information:
     Interface                     Acl      Address-group/IP/Interface      Type
     Dialer1                    2000                       easyip     
      Total : 1                                                                     

Configuration Files

Configuration file of the router

 sysname Router
acl number 2000                                                                 
 rule 5 permit source                                     
 dialer-rule 1 ip permit 
interface Dialer1                                                               
 link-protocol ppp
 ppp chap user user1@system                                                     
 ppp chap password cipher %^%#R=>NT8A-8KmWU38WOZq(s%MsRSg>3,}l9b%K.%!S%^%#                      
 ip address ppp-negotiate                                                       
 dialer user user2                                                              
 dialer bundle 1                                                                
 dialer queue-length 8                                                          
 dialer timer idle 300                                                          
 dialer-group 1                                                                 
 nat outbound 2000                                                              
interface GigabitEthernet1/0/0
 pppoe-client dial-bundle-number 1 on-demand
 ip route-static Dialer1
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 35571

Downloads: 178

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next