R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
63
Default command level
2: System level
Examples
# Enable BFD to detect the IP connectivity to the remote LDP peer bji.
<Sysname> system-view
[Sysname] mpls ldp remote-peer bji
[Sysname-mpls-ldp-remote-bji] remote-ip bfd
reset mpls ldp
Use reset mpls ldp to reset LDP sessions.
Syntax
reset mpls ldp [ all | [ vpn-instance vpn-instance-name ] [ fec mask | peer peer-id ] ]
Views
User view
Default command level
1: Monitor level
Parameters
all: Resets sessions of all LDP instances (including the public one and the private ones).
vpn-instance vpn-instance-name: Resets the LDP sessions of the specified VPN. The vpn-instance-name
argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters.
fec mask: Resets the LDP sessions for the specified FEC. The fec mask argument specifies a FEC by a
destination IP address and mask.
peer peer-id: Resets the LDP session with the specified peer. The peer-id argument specifies a peer by its
LSR ID.
Usage guidelines
With no parameters specified, the command resets all sessions of the public network LDP instance.
Examples
# Reset all sessions of the public network LDP instance.
<Sysname> reset mpls ldp
# Reset the sessions of all LDP instances.
<Sysname> reset mpls ldp all
# Reset the sessions of LDP instance vpn1.
<Sysname> reset mpls ldp vpn-instance vpn1
# Reset the sessions for a FEC.
<Sysname> reset mpls ldp 2.2.2.2 24
# Reset the session with a specific peer.
<Sysname> reset mpls ldp peer 2.2.2.9










