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 the SVC VLL

Configuring the SVC VLL

The SVC VLL is a simplified Martini mode, in which inner labels are manually specified. The SVC mode facilitates planning of label resources on VLL networks, but it increases configuration workload and is not easy to extend.

Pre-configuration Tasks

Before configuring the SVC VLL, you need to complete the following tasks:

  • Configuring static routes or an IGP protocol for the PE and P devices on the MPLS backbone network to implement IP connectivity.

  • Enabling the MPLS for PEs and Ps.

  • Setting up a tunnel (GRE tunnel, LSP tunnel, or TE tunnel) between the PEs.

    You also need to configure tunnel policies when VLL services need to be transmitted over TE tunnels or when VLL services need to be load balanced among multiple tunnels to fully use network resources. For details, see step 1 in Configuring and Applying a Tunnel Policy.

Procedure

Perform the following operations on the PE devices at both ends of a VC:

  1. Run system-view

    The system view is displayed.

  2. Run mpls l2vpn

    MPLS L2VPN is enabled and the MPLS L2VPN view is displayed.

  3. Run quit

    Return to the system view.

  4. Run interface interface-type interface-number

    The AC interface view is displayed.

    The SVC VLL can use the following interfaces as AC interfaces: GE interfaces, GE sub-interfaces, XGE interfaces, XGE sub-interfaces, Ethernet interfaces, Ethernet sub-interfaces, Eth-Trunk interfaces, Eth-Trunk sub-interfaces, and VLANIF interfaces.

    The sub-interfaces can be dotlq sub-interfaces or QinQ sub-interfaces.

  5. Run mpls static-l2vc { { destination ip-address | pw-template pw-template-name vc-id } * | destination ip-address [ vc-id ] } transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value [ tunnel-policy tnl-policy-name | [ control-word | no-control-word ] | [ raw | tagged ] ] *

    The SVC VLL is created.

    Configure a PW template before you can use it. Refer to Creating a PW Template and Setting Attributes for the PW Template for details on the PW template configuration.

  6. (Optional) Run bpdu transmit enable

    The interface connected to a VLL is enabled to transparently transmit BPDU packets.

  7. (Optional) Run mpls l2vpn service-name service-name

    A name is configured for the L2VPN service, so you can maintain the L2VPN service by clicking the name directly on the NMS GUI.

  8. (Optional) Run mpls l2vpn frag

    Fragmentation of L2VPN IPv4 packets is enabled.

Verifying the Configuration

After you complete configuring the SVC VLL, run the following commands to check information about the SVC connection and interfaces used by the SVC connection.

  • Run the display mpls static-l2vc [ interface interface-type interface-number ] command to check the SVC L2VPN connection information on the PE.
  • Run the display mpls static-l2vc brief command to check the SVC L2VPN connection brief information on the PE.
  • Run the display l2vpn ccc-interface vc-type static-vc [ down | up ] command to check the interface information of the SVC connections in Up/Down state.
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 152472

Downloads: 369

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