mpls reoptimize

Under ordinary conditions, an LSP path does not change unless the path becomes inoperable. Consequently, the router must be directed to consider configuration changes made to an LSP and to optimize the LSP path based on those changes.

Syntax

mpls reoptimize { all | lsp lsp_name }

Parameters

all
Reoptimizes all LSPs.
lsplsp_name
Reoptimizes the specified LSP.

Modes

Privileged EXEC mode

Usage Guidelines

On re-optimization of an adaptive LSP, LSP accounting statistics might miss the accounting of some of the packets.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example uses the mpls re-optimize command to re-optimize LSP to20.

device# mpls reoptimize lsp to20