R0106-HP MSR Router Series MPLS Command Reference(V7)
53
Related commands
display mpls ldp parameter
loop-detect
Use loop-detect to enable loop detection.
Use undo loop-detect to disable loop detection.
Syntax
loop-detect
undo loop-detect
Default
Loop detection is disabled.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
Usage guidelines
This command enables LDP to detect and terminate LSP loops. LDP loop detection uses one of the
following methods:
• Hop count. For more information, see "maxhops."
• P
ath vector. For more information, see "pv-limit."
U
se LDP loop detection only in networks with devices that do not support TTL mechanism such as ATM
switches. Do not use LDP loop detection on other networks because it only results in extra LDP overhead.
Examples
# Enable LDP loop detection for the public network.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] loop-detect
Related commands
• display mpls ldp parameter
• maxhops
• pv-limit
lsp-trigger
Use lsp-trigger to configure an LSP generation policy.
Use undo lsp-trigger to restore the default.
Syntax
lsp-trigger { all | prefix-list prefix-list-name }
undo lsp-trigger