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

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
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).
How Do I Interconnect a Local PPPoE Client with a Remote PPPoE Server That Requires Packets to Carry a VLAN Tag?

How Do I Interconnect a Local PPPoE Client with a Remote PPPoE Server That Requires Packets to Carry a VLAN Tag?

You must bind a dialer interface to an interface to implement the PPPoE client function. The PPPoE client function can be configured on a physical Ethernet interface, PON interface, or virtual Ethernet interface. When the remote PPPoE server requires packets to carry a VLAN tag, the device can be successfully interconnected with the remote PPPoE server by binding the PPPoE client to a sub-interface.

Perform the following operations to configure the PPPoE client function on a sub-interface:
  1. Configure a dialer interface.
    1. Run:
      system-view

      The system view is displayed.

    2. Run:
      dialer-rule

      The dialer rule view is displayed.

    3. Run:
      dialer-rule dialer-rule-number { acl { acl-number | name acl-name } | ip { deny | permit } | ipv6 { deny | permit } }

      A dialer ACL is specified for a dialer access group.

    4. Run:
      quit

      Return to the system view.

    5. Run:
      interface dialer number

      A dialer interface is created and the dialer interface view is displayed.

    6. Run:
      dialer user username

      The RS-DCC function is enabled.

    7. Run:
      dialer bundle number

      A dialer bundle is specified for the dialer interface.

    8. Run:
      dialer-group group-number

      A dialer access group is configured for the dialer interface.

      NOTE:

      Ensure that the value of group-number in the dialer-group command is the same as the value of dialer-rule-number in the dialer-rule command.

    9. Configure an IP address for the dialer interface.
      • Configure an IPv4 address for the dialer interface.
        • Configure an IP address.

          Run:

          ip address ip-address { mask | mask-length }

          An IP address is configured for the dialer interface.

        • Configure the interface to obtain an IP address from the remote device.

          Run:

          ip address ppp-negotiate

          The interface is configured to obtain an IP address from the remote device through PPP negotiation.

      • Configure an IPv6 address for the dialer interface.

        Run:

        ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

        An IPv6 address is configured for the dialer interface.

        NOTE:
        Before configuring an IPv6 address for an interface, run the ipv6 command in the system view to enable IPv6 packet forwarding and run the ipv6 enable command on the interface to enable IPv6.
  2. Configure a sub-interface for VLAN tag termination.
    1. Run:
      system-view

      The system view is displayed.

    2. Run:
      interface { ethernet | gigabitethernet } interface-number.subinterface-number

      The Ethernet sub-interface view is displayed.

    3. Run:
      control-vid vid dot1q-termination

      The mappings between the control VLAN and the Ethernet sub-interface are specified.

      NOTE:

      Only V200R001C00, V200R001C01, and V200R002C00 support this command. In later versions of V200R002C00, you do not need to configure this command.

      AR650&AR1600 series do not support this command.

    4. Configure a sub-interface for VLAN tag termination.
      NOTE:

      VLAN packets are classified into Dot1q packets (one layer of VLAN tag) and QinQ packets (double layers of tags). Accordingly, there are two VLAN tag termination modes. Dot1q termination terminates Dot1q packets and QinQ termination terminates QinQ packets. In V200R003C00 or later versions, PPPoE supports Dot1q packets and QinQ packets. You can use either of the following commands. In earlier versions of V200R003C00, PPPoE does not support QinQ packets. Only Dot1q termination can be configured.

      • Run:
        dot1q termination vid low-pe-vid [ to high-pe-vid ]

        The sub-interface is configured to terminate single-tagged packets.

      • Run:
        qinq termination pe-vid pe-vid ce-vid ce-vid1 [ to ce-vid2 ]

        The sub-interface is configured to terminate double-tagged packets.

        NOTE:

        AR650&AR1600 series do not support to ce-vid2 parameters.

    5. Run:
      arp broadcast enable

      The ARP broadcast function is enabled on the Ethernet sub-interface.

      NOTE:

      When you enable or disable the ARP broadcast function on a sub-interface, the routing status of the sub-interface becomes Down and then Up. This may result in flapping of routes on the entire network, affecting the normal operation of services.

  3. Run:

    pppoe-client dial-bundle-number number [ on-demand ] [ no-hostuniq ]

    A dialer bundle is specified for the PPPoE session.

    The number of the specified dialer bundle must be the same as the number of the dialer bundle configured using the dialer bundle command.

    If on-demand is specified to set the PPPoE dial-up mode to on-demand, run the dialer timer idle seconds command to set the link idle time on the dialer interface.

After the device is configured as a PPPoE client, hosts on the LAN connected to the device can dial up to the Internet. After a PPPoE session is set up, run the display pppoe-client session { packet | summary } [ dial-bundle-number number ] command to view the PPPoE session status and PPPoE packet statistics on the PPPoE client.

Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 451107

Downloads: 4309

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