< Home

(Optional) Configuring a Best-Effort Path

Context

A best-effort path is configured on the ingress node of a primary CR-LSP to take over traffic if both the primary and backup CR-LSPs fail.

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

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel tunnel-number

    The tunnel interface view is displayed.

  3. Run mpls te backup ordinary best-effort

    A best-effort path is configured.

    A tunnel interface cannot be used for both a best-effort path and a manually configured ordinary backup tunnel. A protection failure will occur if the mpls te backup ordinary best-effort and mpls te backup ordinary commands are run on the tunnel interface.

    To establish a best-effort path over a specified path, run either or both of step 4 and step 5.

  4. (Optional) Run mpls te affinity property properties [ mask mask-value ] best-effort

    The affinity property of the best-effort path is configured.

    By default, the affinity property used by the best-effort path is 0x0 and the mask is 0x0.

  5. (Optional) Run mpls te hop-limit hop-limit-value best-effort

    The hop limit of the best-effort path is set.

    The default hop limit is 32.

  6. Run mpls te commit

    The configuration is committed.

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