Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear ldp session

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear ldp session 
<all>
<destination>
<instance instance-name>
<logical-system (all | logical-system-name)>

Description

Clear Label Distribution Protocol (LDP) sessions.

Options

all

Clear LDP sessions for all destinations for all routing instances.

destination

(Optional) Clear an LDP session for the specified destination (IP address).

instance instance-name

(Optional) Clear the LDP session for the specified routing instance only.

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

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

Required Privilege Level

clear

Output Fields

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

Sample Output

clear ldp session

content_copy zoom_out_map
user@host> clear ldp session all   

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation