Specifications

Table Of Contents
Multiprotocol Label Switching Commands
clear mpls ldp neighbor
MP-38
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
clear mpls ldp neighbor
To forcibly reset a label distribution protocol (LDP) session, use the clear mpls ldp neighbor command
in privileged EXEC mode.
clear mpls ldp neighbor [vr
f vpn-name] {nbr-address | *}
Syntax Description
Defaults No default behavior or values
Command Modes Privileged EXEC
Command History
Usage Guidelines The cle
ar mpls ldp neighbor command terminates the specified LDP sessions. The LDP sessions should
be reestablished if the LDP configuration remains unchanged.
You can clear an LDP session for an interface-specific label space of an LSR by issuing the no mpl
s ip
command and then the mpls ip command on the interface associated with the LDP session.
Examples The following example resets an LDP session:
Router# clear mpls ldp neighbor 10.12.12.12
vrf vpn-name (Optional) Specifies the VPN routing and forwarding instance (vpn-name)
for resetting an LDP session.
nbr-address Specifies the address of the LDP neighbor whose session will be reset. The
n
eighbor address is treated as <nbr-address>:0, which means it pertains to
the LDP session for the LSR's platform-wide label space.
* Designates that all LDP sessions will be reset.
Release Modification
12.0(26)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.3(14)T This command was integrated into Cisco IOS Release 12.3(14)T.
12.2(18)SXE This command was integrated into Cisco IOS Release 12.2(18)SXE.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.