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 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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).
Adding PWs to a PW Protection Group

Adding PWs to a PW Protection Group

After configuring PWs, add them to a PW protection group, specify PW priorities, and configure PW protection group parameters to implement PW redundancy.

Context

After configuring two VPLS PWs on a UPE, add them to a PW protection group, specify their priorities, and configure PW protection group parameters for the two PWs to work in backup mode.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name static

    The view of the created VSI is displayed.

  3. Run pwsignal ldp

    The VSI-LDP view is displayed.

  4. Run protect-group group-name

    A PW protection group is created, and the PW protection group view is displayed.

  5. Run protect-mode pw-redundancy { master | independent }

    The PW redundancy mode is configured for the current PW protection group.

    In HVPLS scenarios, the PW redundancy mode of the PW protection group can only be master. In VPLS accessing VLL scenarios, a bypass PW must be configured between NPEs if the PW redundancy mode of the PW protection group is master.

    NOTE:

    The PW redundancy mode of the PW protection group must have been configured before you perform the following configurations.

  6. Run peer peer-address [ negotiation-vc-id vc-id ] preference preference-value

    A PW is added to the PW protection group, and the priority of the PW is specified. The smaller the value, the higher the priority. Between the two PWs added to a PW protection group, the one with a higher priority functions as the primary PW.

  7. (Optional) Run stream-dual-receiving

    Both the primary and secondary PWs are configured to receive packets.

    By default, only the primary PW can receive packets.

    NOTE:

    This command helps prevent packet loss during traffic switchbacks, but may incur routing loops.

  8. (Optional) Run holdoff holdoff-time

    A switching delay is configured for the PW protection group.

    By default, no switching delay is configured for a PW protection group with the master/slave PW redundancy mode. If a fault occurs on the primary PW, traffic immediately switches to the secondary PW. If the working path flaps or an error occurs in the detection mechanism, traffic frequently switches between the working and protection paths. To prevent this problem, configure a switching delay.

    NOTE:

    On a VPLS network that uses BFD for fault detection, traffic immediately switches from the primary PW to the secondary PW after BFD detects a fault on the primary PW, irrespective of whether delayed switching is configured. It is recommended that you determine whether to use BFD or delayed switching based on your requirements.

    After you configure a switching delay, traffic forwarded during the delay period will be interrupted if the primary PW fails to recover before the delay period expires.

  9. (Optional) Run reroute { delay delay-time | immediately | never }

    A revertive switching policy is configured.

    The default revertive switching policy is delayed switchback, and the delay is 30s. The reroute command can be used only for a PW protection group with the master/slave PW redundancy mode.
    • delay delay-time: indicates delayed switchback, meaning that traffic is switched back to the primary PW after a delay.
    • immediately: indicates immediate switchback.
    • never: indicates non-switchback, meaning that traffic is not switched back to the primary PW after the primary PW recovers. Traffic is switched back only after the backup PW fails.

    The revertive switching policy for a PW protection group in independent PW redundancy mode can only be immediate switchback and cannot be changed.

    The revertive switching policy affects traffic switchback after the primary PW recovers.

  10. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 27875

Downloads: 53

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