- clear mpls lsp
- <autobandwidth>
- <logical-system (all | logical-system-name)>
- <name name>
- <optimize | optimize-aggressive>
- <path regular-expression>
- <statistics>
Command introduced before JUNOS Release 7.4.
Release the routes and states associated with Multiprotocol Label Switching (MPLS) label-switched paths (LSPs), and start new LSPs.
![]() |
Caution: This command disconnects existing Resource Reservation Protocol (RSVP) sessions on the ingress router. If there is a time lag between the old path being torn down and the new path being set up, this command might impact traffic traveling along the LSPs. |
none — Reset and restart all LSPs that originated from this router; that is, all LSPs for which this router is the ingress router. Depending on the number of LSPs involved, it might take a while to restart all the LSPs.
autobandwidth — (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.
path regular-expression — (Optional) Clear specific LSP path matching the specified regular expression.
statistics — (Optional) Clear LSP statistics.
clear
When you enter this command, you are provided feedback on the status of your request.