R211x-HP Flexfabric 11900 MPLS Command Reference

53
Examples
# Set the path vector limit as 3 for LDP loop detection on the public network.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] pv-limit 3
Related commands
display mpls ldp parameter
loop-detect
maxhops
reset mpls ldp
Use reset mpls ldp to reset LDP sessions.
Syntax
reset mpls ldp [ vpn-instance vpn-instance-name ] [ peer peer-id ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. The command resets the LDP sessions in the specified VPN. If you do not specify
a VPN instance, the command resets the LDP sessions in the public network.
peer peer-id: Specifies a peer by its LSR ID. If you do not specify a peer, the command resets all LDP
sessions in the specified VPN instance or the public network.
Usage guidelines
Resetting an LDP session deletes and reestablishes the session and all LSPs based on the session.
To apply new parameters to an LDP session, you must use this command to reset the LDP session.
Examples
# Reset all LDP sessions in the public network.
<Sysname> reset mpls ldp
# Reset all LDP sessions in the VPN instance vpn1.
<Sysname> reset mpls ldp vpn-instance vpn1
session protection
Use session protection to enable session protection.
Use undo session protection to disable session protection.