HP MSR2000/3000/4000 Router Series MPLS Command Reference
50
Syntax
pv-limit pv-number
undo pv-limit
Default
The path vector limit is 32.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
Parameters
pv-number: Specifies the path vector limit in the range of 1 to 32.
Usage guidelines
LDP adds LSR ID information in a label request or label mapping message. Each LSR checks whether its
LSR ID is contained in the message. If not, the LSR adds its own LSR ID into the message. If yes, the LSR
considers that a loop occurs and terminates LSP establishment. In addition, when the number of LSR IDs
in the message reaches the path vector limit, LDP also considers that a loop occurs and terminates LSP
establishment.
Examples
# Set the path vector limit as 3 for LDP loop detection in 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
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.