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

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the VPN configuration procedures and provides 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).
Creating a Dynamic PW

Creating a Dynamic PW

Context

To create a dynamic PW, VCs using the same encapsulation type must have different IDs.

Perform the following operations on the PEs.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The AC interface view is displayed.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.
    NOTE:

    Only the S5720HI, S5720EI, S6720EI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

  4. Create a PW.
    1. To create a primary PW, run:

      mpls l2vc { ip-address | pw-template pw-template-name } * vc-id [ tunnel-policy policy-name | [ control-word | no-control-word ] | [ raw | tagged ] ] *

    2. (Optional) To create a secondary PW, run:

      mpls l2vc { ip-address | pw-template pw-template-name } * vc-id [ tunnel-policy policy-name | [ control-word | no-control-word ] | [ raw | tagged ] ] * secondary

    NOTE:
    • When the AC interfaces are Ethernet interfaces, you can specify the parameters raw and tagged.
    • The combination of the VC ID and VC type must be unique on each node. The VC IDs at both ends of a switching PW can be the same. Primary and secondary PWs must have different VC IDs.

    • Primary and secondary PWs must use the same control word; otherwise, many packets may be lost during service switching.

    • A dynamic PW requires that the IDs of VCs using the same encapsulation type are different. Changing the encapsulation type may cause a VC ID collision.

    • To enable label-based load balancing, specify a PW template before creating a dynamic PW.

  5. (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.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141944

Views: 110109

Downloads: 588

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