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

Reminder

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

upgrade
TechNotes-Understanding and Configuring PPPoE Dialup Emulation
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).
Understanding and Configuring PPPoE Dialup Emulation

Understanding and Configuring PPPoE Dialup Emulation

PPPoE Dialup Emulation Introduction

In PPPoE dialup emulation, an access device emulates an end user and initiates PPPoE dialup. According to the PPPoE dialup emulation result (successful or failed), users can determine the network connectivity between the access device and the broadband remote access server (BRAS). If a fault has occurred in the network, PPPoE dialup emulation helps users quickly identify whether the fault is on the network side or user side.

PPPoE dialup emulation is used for remote fault location and acceptance tests. Table 1-1 lists the comparison between the method of performing a PPPoE dialup emulation test and the method of performing a traditional PPPoE dialup test.
Table 1-1 Comparison between the method of performing a PPPoE dialup emulation test and the method of performing a traditional PPPoE dialup test

Scenario

Task

Method of Performing a Traditional PPPoE Dialup Test

Method of Performing a PPPoE Dialup Emulation Test

Acceptance test

After an access device is installed, a test engineer needs to check whether the PPPoE dialup service on the access device has been provisioned properly.

The test engineer visits the site where the access device is installed and uses an external tester or a portable computer to perform a PPPoE dialup test for each port.

The test engineer remotely logs in to the access device to perform a PPPoE dialup emulation test and determines the service status based on the test result.
NOTE:

A PPPoE dialup emulation test cannot check the status of the line between an end user and an access device.

Fault location

A maintenance engineer needs to locate a fault on an access network that covers a large area and contains geographically dispersed network devices.

The maintenance engineer visits all sites where the access devices are installed and performs a PPPoE dialup test.

The maintenance engineer preliminarily determines the network segment where the fault occurs and remotely logs in to the access devices to perform a PPPoE dialup emulation test. Based on the test result, the maintenance engineer determines the fault cause and rectifies the fault.

PPPoE Dialup Emulation Principles

PPPoE dialup emulation differs from PPPoE dialup in the following aspects:
  • The PPPoE dialup emulation process is initiated by an access device, while the PPPoE dialup is initiated by a PC, modem, or home gateway.
  • The MAC address carried in the packet in PPPoE dialup emulation is the bridge MAC of an access device, while the MAC address carried in the packet in the PPPoE dialup is that of a PC, modem, or home gateway.
The principles of PPPoE dialup emulation.
Figure 1-1 Principles of PPPoE dialup emulation

  1. A maintenance engineer can start a PPPoE dialup emulation on an access node, the access node emulates an end user and initiates PPPoE dialup.

    Enter parameters required for the PPPoE dialup emulation, including service flow ID (identifying the user), MAC address, user name, password, authentication mode, and timeout time.

  2. Access node interacts with the BRAS.

    The emulated PPPoE dialup includes two phases:
    1. PPPoE discovery phase.

      The source host discovers the MAC address of the destination host (in this case, the BRAS), and a point-to-point PPP session is set up.

    2. PPPoE session phase.
      A point-to-point connection has been set up and carries PPP packets for link negotiation, as shown in Figure 1-2.
      Figure 1-2 PPPoE session flow

  3. The maintenance engineer can stop a PPPoE dialup emulation on an access node.

PPPoE Dialup Emulation Usage Scenario

Context

On networks, access devices are closer to terminals and widely distributed. If a PPPoE dialup fault occurs, PPPoE dialup tests performed onsite increase fault location costs. To resolve this issue, PPPoE dialup emulation tests can be performed remotely.

Scenario

Figure 1-3 shows the typical networking.

Figure 1-3 Typical networking
In the preceding figure, users use the PPPoE dialup service and they are authenticated in PPPoE mode through the broadband remote access server (BRAS).
  • For ONT user, perform the PPPoE dialup emulation on the ONT.
  • For MDU user, perform the PPPoE dialup emulation on the MDU.
  • For OLT user, perform the PPPoE dialup emulation on the OLT.

Fault Location

The troubleshooting roadmap based on the test result is as follows:
Table 1-2 PPPoE dialup emulation results

Emulation Result

Corresponding Windows Error Code

Description

Handling Guide

Success

-

  • The link between the access node and the BRAS is functional.
  • The service configuration of the PPPoE user is correct.
  • Parameters such as the user name, password, and authentication mode of the PPPoE user are correct.

-

Parameter negotiation fail

732 Your computer and the remote computer could not agree on PPP control protocols.

PPPoE dialup emulation has entered the link setup phase of the PPP session, but parameter negotiation fails, causing the link failure.

Check whether the Policy Information Transfer Protocol (PITP) configuration is correct.

Link unnormal

638 The remote server is not responding in a timely fashion.

PPPoE dialup emulation has entered the link setup phase of the PPP session, but the creation of the LCP link is abnormal.

Check whether an access control list (ACL) that does not allow transmission of PPPoE packets is configured on the access node.

Authentication fail

691 The connection was denied because the username or password you specified is not valid or because the selected authentication protocol is not permitted on the remote server.

PPPoE dialup emulation has entered the user authentication phase of the PPP session, but user name or password mismatch occurs between the client and server.

  • The user's account is configured on the access node is not correct.
  • The user's account is configured on the BRAS is not correct.

Time out

721 The remote computer is not responding.

PPPoE dialup emulation exceeds the preset emulation timeout time.

  • The present emulation time out time is too short.
  • The link between access node and BRAS is abnormal, transmission delay is too large.

Peer down request

668 The connection was terminated.

The server forcibly terminates the PPPoE dailup emulation.

The user's account is restricted on the BRAS.

Other error

635 There was an unknown error.

Unknown errors.

-

Configuring PPPoE Dialup Emulation

Context

If a PPPoE dialup fault occurs, a PPPoE dialup emulation test can be performed on the ONT or MDU to check the connection between the ONT or MDU and the BRAS and locate the fault according to the test result.

Procedure

  1. Run the simulate pppoe start command to perform a PPPoE dialup emulation.
  2. Run the display simulate pppoe command to query the status of the PPPoE dialup emulation.

    NOTE:

    Query the status of the PPPoE dialup emulation only after the test is started. The status cannot be queried if the emulation is stopped.

  3. Run the simulate pppoe stop command to stop PPPoE dialup emulation.

    NOTE:

    Another PPPoE dialup emulation can be performed only after the current PPPoE dialup emulation is stopped.

Example

In FTTB or FTTC scenario, remotely log in to the access node device and perform PPPoE dialup emulation on it.

  • Service port ID: 0
  • MAC address of the emulation user: 00e0-fc00-1111
  1. Start PPPoE dialup emulation.
    huawei(config)#simulate pppoe start
     Service-port(index<0-1999>):0
     Mac-address<P><XXXX-XXXX-XXXX>[default 5623-5987-dead]:00e0-fc00-1111
     User Name(length<1,65>):user-0
     User Password(length<0,16>):*******
     Authentication Mode:
     1. Chap  2. Pap [default 1]:1
     Overtime Time(5-60s)[default 5]:10
  2. Query the status of PPPoE dialup emulation.
    huawei(config)#display simulate pppoe
      PPPoE simulate information is:
      -----------------------------------------------------------------
      Service-port:  0
      Mac-address:   00e0-fc00-1111
      User name:     user-0
      Current phase: - 
      Result:        Success
      Start time:    2019-03-06 08:20:23+08:00
      End time:      2019-03-06 08:23:36+08:00
      Session ID:    591
      User IP:       192.168.1.172
      Gateway IP:    192.168.1.1
      -----------------------------------------------------------------
  3. Stop PPPoE dialup emulation.
    huawei(config)#simulate pppoe stop

NOTE:

During the PPPoE dialup emulation, the IP address obtained can be used for multicast emulation.

  • Port to which the ONT connects: 0/3/0
  • ONT ID: 0
  • Ethernet port: 1
  • VLAN ID: 100
  • IP address of the multicast program: 225.0.0.1
  • IP address of the multicast source: 10.2.3.4
  1. Start PPPoE dialup emulation.
    huawei(config-if-gpon-0/3)#pppoe simulate start
    { portid<U><0,3>}:0
    { ontid<U><0,63>}:0
    { eth<K>|untagged<K>|vdsl<K>|vlanid<U><0,4095> }:eth
    { ont-portid<U><1,24>}:1
    { untagged<K>|vlanid<K> }:100
    { priority<U><0,7>|user-name<K> }:2
    {user-name<K> }:user-name
    {user-name<S><Length 1-64> }:pppoe
    { user-password<K> }:user-password
    { password<S><Length 1-64> }:password
    { authentication-mode<K> }:authentication-mode
    { protocol<U><chap,pap> }:chap
    { <cr>|group-ip-address<K> }:group-ip-address
    { group-ip-address<I><X.X..X> }:225.0.0.1
    { <cr>|igmp-version<K> }:igmp-version
    {v2<K>|v3<K>}:v2
    { <cr>|source-ip-address<K> }:source-ip-address
    { source-ip-address<I><X.X..X> }:10.2.3.4
    
    Command:
            pppoe simulate start 0 0 eth 1 100 2 user-name pppoe user-password password 
     authentication-mode chap groupip 225.0.0.1 igmp-version v2
      ----------------------------------------------------------------------------
      ONT PPPoE Test Result               
      ----------------------------------------------------------------------------  
      F/S/P                   : 0/3/0    
      ONT-ID                  : 0         
      ONT ETH Port ID         : 1         
      ONT Vlan ID             : 100  
      Vlan Priority           : 2 
      Multicast group IP      : 225.0.0.1
      Multicast source IP     : 10.2.3.4
      Multicast version       : v2
      Multicast traffic(kbps) : 1500
      Emluator result          : Multicast test fail
      Session ID              : 0
      User IP                 : 192.168.1.1
      Gateway IP              : 255.255.255.0
    ----------------------------------------------------------------------------
  2. Query ONT PPPoE dialup emulation results of port 0/3/0.
    huawei(config-if-gpon-0/3)#display simulation pppoe 0
    {<cr>|ontid<U><0,127>}
    
     Command:
              display pppoe simulate 0
    ----------------------------------------------------------------------------  
      F/S/P                    : 0/3/0    
      ONT-ID                   : 0         
      ONT ETH Port ID          : 1         
      ONT Vlan ID              : 100  
      Vlan Priority            : 2 
      Multicast group IP       : 225.0.0.1
      Multicast source IP      : 10.2.3.4
      Multicast version        : v2
      Multicast Data rate(kbps): 1500
      Emluator result          : Multicast test fail
      Session ID               : 0
      User IP                  : 192.168.1.1
      Gateway IP               : 255.255.255.0
  3. Run the simulate pppoe stop command to stop PPPoE dialup emulation.
    huawei(config)#simulate pppoe stop

PPPoE Dialup Emulation Reference Standards and Protocols

IETF RFC 2516: A Method for Transmitting PPP Over Ethernet (PPPoE)

IETF RFC 1661: The Point-to-Point Protocol (PPP)

Translation
Download
Updated: 2019-09-19

Document ID: EDOC1100105781

Views: 542

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next