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


To have a better experience, please upgrade your IE browser.


Configuration Guide - MPLS

S7700 and S9700 V200R011C10

This document describes MPLS configurations supported by the switch, including the principle and configuration procedures of static LSPs, MPLS LDP, MPLS TE, MPLS QoS, MPLS OAM, Seamless MPLS, and MPLS common features, 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).
(Optional) Configuring the Protection Switching Trigger Mechanism

(Optional) Configuring the Protection Switching Trigger Mechanism


After configuring a tunnel protection group, you can configure a trigger mechanism of protection switching to force traffic to switch to the primary LSP or the backup LSP. Alternatively, you can perform switchover manually.

Pay attention to the protection switching mechanism before configuring the protection switching trigger mechanism.

The device performs protection switching based on the following rules, see Table 5-27. ↑ in this table indicates that the priority level in the upper line is higher than that in a lower line.

Table 5-27  Switching rules

Switching Request

Order of Priority




Clears all switching requests initiated manually, including forcible and manual switching. A signal failure does not trigger traffic switching.

Lockout of protection

Prevents traffic from switching to a protection tunnel even though a working tunnel fails.

Forcible switch

Forcibly switches traffic from a working tunnel to a protection tunnel, irrespective of whether the protection tunnel functions properly (unless a higher priority switch request takes effect).

Signal failure

Automatically triggers protection switching.

Manual switching

Switches traffic from a working tunnel to a protection tunnel only when the protection tunnel functions properly or switches traffic from the protection tunnel to the working tunnel only when the working tunnel functions properly.

Wait to restore

Switches traffic from a protection tunnel to a working tunnel after the working tunnel recovers after the wait-to-restore (WTR) timer elapses.

No request


There is no switching request.

Perform the following configurations on the ingress node of the primary MPLS TE tunnel.


  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    The tunnel interface view of the primary tunnel is displayed.

  3. Select one of the following protection switching trigger methods as required:

    • To forcibly switch traffic from the working tunnel to the protection tunnel, run mpls te protect-switch force

    • To prevent traffic from switching on the working tunnel, run mpls te protect-switch lock

    • To switch traffic to the protection tunnel, run mpls te protect-switch manual

    • To cancel the configuration of the protection switching trigger mechanism, run mpls te protect-switch clear

  4. Run mpls te commit

    The current configuration is committed.

Updated: 2019-10-18

Document ID: EDOC1000178315

Views: 123113

Downloads: 89

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