< Home

Configuring Re-optimization for CR-LSP

Context

By configuring the tunnel re-optimization function, you can periodically recompute routes for a CR-LSP. If the recomputed routes are better than the routes in use, a new CR-LSP is then established according to the recomputed routes. In addition, services are switched to the new CR-LSP, and the previous CR-LSP is deleted.

If an upstream node on an MPLS network is busy but its downstream node is idle or an upstream node is idle but its downstream node is busy, a CR-LSP may be torn down before the new CR-LSP is established, causing a temporary traffic interruption. In this case, you can configure the switching and deletion delays.

  • If the re-optimization is enabled, the route pinning cannot be used at the same time.

  • The CR-LSP re-optimization cannot be configured when the resource reservation style is FF.

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 interface-number

    The tunnel interface view of the MPLS TE tunnel is displayed.

  3. Run mpls te reoptimization [ frequency interval ]

    Periodic re-optimization is enabled.

    By default, re-optimization is disabled. The default periodic re-optimization interval is 3600 seconds.

  4. Run mpls te commit

    The current tunnel configuration is committed.

  5. Run quit

    The system view is displayed.

  6. (Optional) Set the switching and deletion delays.

    1. Run mpls

      The MPLS view is displayed.

    2. Run mpls te switch-delay switch-time delete-delay delete-time

      The switching and deletion delays are set.

      By default, the switching delay is 5000 ms and the deletion delay is 7000 ms.

  7. Run return

    Back to the user view.

  8. (Optional) Run mpls te reoptimization [ tunnel interface-number ]

    Manual re-optimization is enabled.

    After you configure the automatic re-optimization in the tunnel interface view, you can return to the user view and run the mpls te reoptimization command to immediately re-optimize all tunnels or the specified tunnel on which the automatic re-optimization is enabled. After you perform the manual re-optimization, the timer of the automatic re-optimization is reset and counts again.

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