Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear mpls container-lsp



Release the routes and states associated with MPLS container label-switched paths (LSPs), and start new LSPs.



Reset and restart all LSPs that originated from this routing device; that is, all LSPs for which this routing device is the ingress routing device. Depending on the number of LSPs involved, it might take a while to restart all the LSPs.


(Optional) Clear LSP autobandwidth counters.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

name name

(Optional) Reset and restart the specified LSP or group of LSPs. You can include wildcard characters in the interface name, as described in the Junos Network Interfaces Configuration Guide.

optimize | optimize-aggressive

(Optional) Run nonpreemptive optimization or aggressive optimization computation now.


(Optional) Clear LSP statistics. You cannot clear the MPLS LSP statistics using a regular expression (name and path options) on transit routers.

Required Privilege Level


Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear mpls container-lsp

clear mpls container-lsp name

clear mpls container-lsp statistics

Release Information

Statement introduced in Junos OS Release 14.2.

Statement introduced for QFX Switches in Junos OS Release 15.1X53-D30.