< Home

mpls te reoptimization (user view)

Function

The mpls te reoptimization command immediately triggers re-optimization for an MPLS TE tunnel.

Format

mpls te reoptimization [ tunnel interface-number ]

Parameters

Parameter Description Value
tunnel interface-number Specifies a tunnel that needs immediate re-optimization. -

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The manual re-optimization function is used in either of the following situations:
  • After the network topology is modified manually, a new optimal path will be calculated. The new optimal path needs to be immediately used by the TE tunnel.

  • TE tunnels need to be immediately optimized in batches, optimizing resources of these TE tunnels in time.

If you run the mpls te reoptimization command without specifying the tunnel interface-number parameter, all TE tunnels are optimized. If you run the mpls te reoptimization command and specify the tunnel interface-number parameter, the specified TE tunnels are optimized.

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 (tunnel interface view) 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.

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

# Immediately re-optimize all the TE tunnels on the local device.

<HUAWEI> mpls te reoptimization
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >