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.


NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
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).
Configuring a VT

Configuring a VT

Layer 2 protocols cannot directly carry each other. Before configuring PPPoE access, create a virtual template (VT).


Layer 2 protocols, such as PPP can communicate only over a virtual access (VA) session. A VA session, however, cannot be manually created or configured. Instead, a VA session is automatically generated after PPPoE services are configured and PPPoE parameters are configured in a VT.

Based on interface parameters defined in a VT, a device can automatically create VA interfaces for Layer 2 communication.

  • PPP packets are encapsulated based on parameters configured in a VT. A VT defines NCP parameters, such as IP addresses and upper-layer application protocols.

  • A VA session transmits data between the local and remote ends based on parameters defined in a VT.

When a VT is used for PPPoE services, the link layer protocol can only be PPP, and the network layer protocol can only be IP.

Before deleting a VT, ensure that the VT is not in use and the VA session automatically generated upon VT creation has been deleted.


  1. Run system-view

    The system view is displayed.

  2. Run interface virtual-template virtual-template-number

    A VT is created and its view is displayed, or the view of an existing VT is displayed.

  3. Run ppp authentication-mode { auto | { pap | chap | mschapv1 | mschapv2 } * }

    A PPP authentication mode is configured.

  4. (Optional) Perform the following steps to configure PPP negotiation parameters:

    • Run ppp timer { negotiate seconds | retransmit retry-times } *

      A PPP negotiation timeout period and the maximum number of retransmission times allowed are configured.

    • Run ppp delay-lcp-negotiation [ force ]

      Delayed LCP packet transmission is configured.

    • Run ppp keepalive { interval interval-time | retransmit times | response-timeout response-timeout-time } * [ datacheck | no-datacheck ]

      A PPP detection interval and the maximum number of retransmission times allowed are configured.

    • Run ppp keepalive adjustment { system-state | retransmit }

      Adjustment of the number of PPP detection times is enabled.

    • Run mtu mtu

      An MTU is configured in the VT.

    • Run ppp mru mru

      An MRU is configured for PPP negotiation.

    • Run pppoe-motm motm-value

      The device is configured to encapsulate clock synchronization information to the MOTM tag in a PPPoE active discovery message (PADM).

    • Run quit

      Return to the system view.

    • Run pppoe ppp-max-payload enable

      The device is enabled to negotiate the MRU in compliance with standard protocols.

  5. (Optional) Run ppp chap user user-name

    A user name is specified.

  6. Run commit

    The configuration is committed.

Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17249

Downloads: 70

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