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

S7700 and S9700 V200R013C00

This document describes the configurations of VPN, including GRE, IPSec, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, VPLS, L2VPN Access to L3VPN.
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 [ .subinterface-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.

  4. Create a PW.
    1. Run mpls l2vc { ip-address | pw-template pw-template-name } * vc-id [ tunnel-policy policy-name | [ control-word | no-control-word ] | [ raw | tagged ] ] *

      A primary PW is created.

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

      A secondary PW is created.

    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-04-08

Document ID: EDOC1100065751

Views: 32314

Downloads: 50

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