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

Configuration Guide - VPN

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of VPN, including GRE, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, and VPLS.
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 Dynamic PW

Configuring a Dynamic PW

A dynamic PW uses the extended LDP to transmit Layer 2 information and VC labels.

Pre-configuration Tasks

Before configuring a dynamic PW, complete the following tasks:

  • Configure an IGP protocol on PEs and Ps on the MPLS backbone network to ensure IP connectivity.

  • Configure basic MPLS functions on the backbone network.

  • Set up a tunnel (LSP tunnel or TE tunnel) between the PEs.

    You also need to configure tunnel policies when PWE3 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.

  • Setting up a remote LDP session between the PEs

Procedure

Perform the following operations on PEs at both ends of the 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 vlanif vlan-id

    The VLANIF interface view is displayed.

    Or run interface interface-type interface-number.subnum mode l2

    The Layer 2 sub-interface view is displayed.

  5. Run encapsulation { dot1q [ vid vid ] | default | untag | qinq [ vid pe-vid ce-vid ce-vid ] | qinq vid low-pe-vid [ to high-pe-vid ] ce-vid low-ce-vid [ to high-ce-vid ] }

    The flow encapsulation type is configured to send different data packets to different interfaces.

    By default, no flow encapsulation type is configured.

    NOTE:

    This command is required only in the Layer 2 sub-interface view.

  6. Run mpls l2vc [ instance-name instance-name ] ip-address vc-id [ tunnel-policy policy-name | [ control-word | no-control-word ] | [ raw | tagged ] ] *

    A dynamic PW is created.

    By default, no dynamic PW is created.

    NOTE:

    VCs of the same encapsulation mode on a PE must have a unique VC ID.

    If the flow encapsulation type of a Layer 2 sub-interface is set to termination, the mpls l2vc command must contain the raw parameter. If the flow encapsulation type of a Layer 2 sub-interface is set to transparent transmission, the mpls l2vc command cannot contain the raw parameter.

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

    A name is configured for the L2VPN service.

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

  8. (Optional) Run mpls l2vpn description description-text

    The description for an L2VPN PW is configured.

  9. Run commit

    The configuration is committed.

Verifying the Configuration

After completing the dynamic PW configuration, you can view PW information on the PEs.

  • Run the display mpls l2vc [ vc-id | interface interface-type interface-number ] command to check information about a specified PW on the local PE.
  • Run the display mpls l2vc remote-info [ vc-id ] command to check information about the PW on the remote PE.
Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14386

Downloads: 25

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