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

CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and 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).
Configuring a Static L2TPv3 Tunnel

Configuring a Static L2TPv3 Tunnel

Context

The Layer 2 Ethernet services are transparently transmitted over the L2TPv3 tunnel. This section describes how to create a static L2TPv3 tunnel between two LCCE devices to transmit Layer 2 data.

Procedure

  1. Enable the L2TPv3 function.
    1. Run system-view

      The system view is displayed.

    2. Run l2tpv3 enable

      The L2TPv3 function is enabled.

      By default, the L2TPv3 function is disabled.

  2. Configure the L2TPv3 tunnel parameters.
    1. Run interface tunnel interface-number

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

    2. Run tunnel-protocol svpn

      A tunnel protocol on tunnel interface is set to SVPN.

      By default, the tunnel protocol is none, indicating that packets are not encapsulated.

    3. Run encapsulation l2tpv3 [ static ]

      The tunnel type is set to static L2TPv3.

      By default, the tunnel type is not specified.

    4. Run l2tpv3 local session-id local-session-id

      The local session ID is specified.

      By default, the local session ID is not specified.

    5. Run l2tpv3 remote session-id remote-session-id

      The remote session ID is specified.

      By default, the remote session ID is not specified.

    6. (Optional) Run l2tpv3 local cookie { key cipher local-cookie { length 4 plain lower-value local-lower-value | length 8 plain lower-value local-lower-value upper-value local-high-value } }

      The local cookie key is configured.

      By default, the local cookie key is not configured.

    7. (Optional) Run l2tpv3 remote cookie { key cipher local-cookie { length 4 plain lower-value local-lower-value | length 8 plain lower-value local-lower-value upper-value local-high-value } }

      The remote cookie key is configured.

      By default, the remote cookie key is not configured.

      NOTE:

      The local cookie key must be the same as the remote cookie key. If they are different, traffic cannot be forwarded.

    8. Run tunnel-source { source-ip-address | interface-type interface-number }

      A source address or source interface is specified for the tunnel interface.

      By default, no source address is specified for the tunnel.

      NOTE:

      The source address of a tunnel is the IP address of the interface that sends packets. The source interface of a tunnel is the interface that sends packets.

    9. Run tunnel-destination [ vpn-instance vpn-instance-name ] dest-ip-address

      The destination address is specified for the tunnel.

      By default, no destination address is specified for a tunnel.

      NOTE:

      The destination address of a tunnel is the IP address of the interface that receives packets.

    10. Run quit

      Return to the system view.

  3. Bind an AC interface to a tunnel interface.
    1. Run interface interface-type interface-number

      The AC interface view is displayed.

    2. Run link-bridge interface-type interface-number { tagged | raw }

      The AC interface is bound to a tunnel interface.

      By default, an AC interface is not bound to a tunnel interface.

    3. Run quit

      Return to the system view.

Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 142020

Downloads: 357

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