< Home

(Optional) Configuring the Protection Switching Trigger Mechanism

Context

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 1. ↑ in this table indicates that the priority level in the upper line is higher than that in a lower line.

Table 1 Switching rules

Switching Request

Order of Priority

Description

Clear

Highest

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

Lowest

There is no switching request.

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

Procedure

  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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >