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).
Can PPPoE Server Be Configured on a Sub-interface? How Can I Configure the Function?

Can PPPoE Server Be Configured on a Sub-interface? How Can I Configure the Function?

You can configure PPPoE server on a sub-interface.

Perform the following operations to configure PPPoE server on a sub-interface:
  1. Configure a virtual template.
    1. Run:
      system-view

      The system view is displayed.

    2. Run:
      interface virtual-template vt-number

      A virtual template is created and the virtual template view is displayed.

    3. Run:
      ip address ip-address { mask | mask-length }

      An IP address is allocated to the virtual template.

  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. Enable PPPoE server.

    Run:

    pppoe-server bind virtual-template vt-number

    A specified virtual template is bound to the Ethernet sub-interface, and PPPoE server is enabled on the Ethernet sub-interface.

    NOTE:

    By default, PPPoE server is disabled on a sub-interface.

After the PPPoE server is configured, dial the PPPoE server from a PPPoE client. After a PPPoE session is set up, run the display pppoe-server session { all | packet } command to view the PPPoE session status and PPPoE packet statistics on the PPPoE server.

Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 452054

Downloads: 4311

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