3 clear ldp session, 4 clear ldp statistics, Clear ldp session – PLANET XGS3-24042 User Manual
Page 1184: Clear ldp statistics

76-2
Function:
Cancel the LDP adjacency.
Parameters:
Command Mode:
Admin Mode.
Usage Guide:
Implementing this command will clear the adjacency between the switch and its neighbor. With all
configurations staying the same, the switch will recreate an adjacency with the neighbor through
negotiation.
Example:
Clear the adjacency with the neighbor 10.10.10.1.
Switch#clear ldp adjacency 10.10.10.1
76.3 clear ldp session
Command:
clear ldp session {<ip-addr> | *}
Function:
Clear LDP sessions.
Parameters:
<ip-addr> is the IP address of the neighbor, * means to clear all sessions.
Command Mode:
Admin Mode
Usage Guide:
Implementing this command will clear session procedures. With all configurations staying the same,
the switch will restart the session again. Please pay attention to the relationship between session
and adjacency: multiple adjacencies may be created in one session.
Example:
Switch#clear ldp session *
76.4 clear ldp statistics
Command:
clear ldp statistics