Related Documentation
- EX, J, M, MX, PTX, T Series, QFX Series standalone switches
- show mpls lsp
- show rsvp session
clear mpls lsp
List of Syntax
SyntaxSyntax (EX and QFX Series Switches)
Syntax
Syntax (EX and QFX Series Switches)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.5 for EX Series switches.
Command introduced in Junos OS Release 13.2X51-D15 for the QFX Series.
Description
Release the routes and states associated with MPLS label-switched paths (LSPs), and start new LSPs.
![]() | Caution: This command disconnects existing Resource Reservation Protocol (RSVP) sessions on the ingress routing device. 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. |
Options
none | — | 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. |
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 the specific LSP path matching the specified regular expression. |
statistics | — | (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
clear
Related Documentation
- EX, J, M, MX, PTX, T Series, QFX Series standalone switches
- show mpls lsp
- show rsvp session
List of Sample Output
clear mpls lspOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear mpls lsp
user@host> clear mpls lsp
Published: 2014-09-26
Related Documentation
- EX, J, M, MX, PTX, T Series, QFX Series standalone switches
- show mpls lsp
- show rsvp session