Specifications

Table Of Contents
Multiprotocol Label Switching Commands
clear mpls ldp neighbor
MP-39
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
To verify the results of the clear mpls ldp neighbor command, enter the show mpls ldp neighbor
command. Notice the value in the “Up time” field.
Router# show mpls ldp neighbor 10.12.12.12
Peer LDP Ident: 10.12.12.12:0; Local LDP Ident 10.13.13.13:0
TCP connection: 10.12.12.12.646 - 10.13.13.13.15093
State: Oper; Msgs sent/rcvd: 142/138; Downstream
Up time: 02:16:28
LDP discovery sources:
Serial1/0, Src IP addr: 10.0.0.2
Addresses bound to peer LDP Ident:
10.0.0.129 10.12.12.12 10.0.0.2 10.1.0.5
10.7.0.1
Then enter the following clear mpls ldp neighbor 12.12.12.12 command. With mpls ldp logging
configured, the easiest way to verify the clear mpls ldp neighbor command is to monitor the LDP log
messages.
Router# clear mpls ldp neighbor 10.12.12.12
1w1d: %LDP-5-CLEAR_NBRS: Clear LDP neighbors (10.12.12.12) by console
1w1d: %LDP-5-NBRCHG: LDP Neighbor 10.12.12.12:0 is DOWN
1w1d: %LDP-5-NBRCHG: LDP Neighbor 10.12.12.12:0 is UP
Reenter the show mpls ldp neighbor 10.12.12.12 command. Notice that the “Up time” value has been
reset.
Router# show mpls ldp neighbor 10.12.12.12
Peer LDP Ident: 10.12.12.12:0; Local LDP Ident 10.13.13.13:0
TCP connection: 10.12.12.12.646 - 10.13.13.13.15095
State: Oper; Msgs sent/rcvd: 125/121; Downstream
Up time: 00:00:05
LDP discovery sources:
Serial1/0, Src IP addr: 10.0.0.2
Addresses bound to peer LDP Ident:
10.0.0.129 10.12.12.12 10.0.0.2 10.1.0.5
10.7.0.1
The following example resets all LDP sessions:
Router# clear mpls ldp neighbor *
Related Commands Command Description
show mpls ldp neighbor Displays the status of the LDP sessions.