The following command shows two LDP sessions with neighbor 10.234.123.64.
device# show mpls ldp session
Number of link LDP sessions: 1
Number of Operational link LDP sessions: 1
Number of targeted LDP sessions: 0
Number of Operational targeted LDP sessions: 0
Peer LDP ID State Adj Used My Role Max Hold Time Left
10.234.123.64 Operational Link Passive 36 33
The following command clears both the link and targeted LDP session with neighbor 10.234.123.64.
device#clear mpls ldp neighbor 10.234.123.64
device# device#show mpls ldp session
Peer LDP ID State My Role Max Hold Time Left
10.234.123.64 Operational Passive 36 33
This command shows that after waiting for roughly 20 seconds (depends on the hello or keepalive timer periodicity), both the LDP sessions are reestablished.
device# show mpls ldp session Peer LDP ID State My Role Max Hold Time Left 10.234.123.64 Operational Passive 36 33