< Home

mpls te reoptimization (tunnel interface view)

Function

The mpls te reoptimization command enables automatic re-optimization for a TE tunnel.

The undo mpls te reoptimization command restores the default setting.

By default, automatic re-optimization for a TE tunnel is disabled.

Format

mpls te reoptimization [ frequency interval ]

undo mpls te reoptimization

Parameters

Parameter Description Value
frequency interval Specifies the interval for re-optimization. The system calculates the path for a TE tunnel based on constraints at the intervals of interval. If a better path to the same destination is calculated, the TE tunnel will be re-established over the better path. The value is an integer that ranges from 60 to 604800, in seconds. By default, the interval is 3600 seconds.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a better path is calculated, to allow a TE tunnel to be automatically re-established over the better path, the mpls te reoptimization command needs to be run in the tunnel interface view. In this manner, after a better path to the same destination has been calculated for a certain reason such as the change of the cost, the TE tunnel can be automatically re-established, optimizing the resources on the network.

Re-optimization of a TE tunnel can be performed in either of the following modes:
  • Automatic re-optimization: means that the TE tunnel is periodically optimized, saving manpower. To enable automatic re-optimization, run the mpls te reoptimization command in the tunnel interface view. In addition, this command takes effect only on an established TE tunnel.

  • Manual re-optimization: means that the TE tunnel is immediately optimized. To immediately optimize the TE tunnel, run the mpls te reoptimization command in the user view.

Prerequisites

CSPF has been enabled by running the mpls te cspf command.

Precautions

  • If the re-optimization function is configured after an explicit path is configured and a new path fails to meet the explicit path constraints, the re-optimization function will not take effect.

  • After a TE tunnel is configured with the re-optimization function, the tie-breaking in most-fill mode will not be supported.

  • The mpls te reoptimization command cannot be run together with the following commands:

    • mpls te route-pinning
    • mpls te resv-style ff

Example

# Enable periodic re-optimization for a TE tunnel named Tunnel 1.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] mpls te reoptimization frequency 43200
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >