loop-detect
Syntax
View
Parameter
Description
Related command:
Example
lsp-trigger
Syntax
View
Parameter
Description
loop-detect
undo loop-detect
MPLS LDP view/MPLS LDP VPN instance view
None
Use the
command to enable loop detection.
loop-detect
Use the
undo loop-detect
By default, loop detection is disabled.
Note that you must enable loop detection before enabling LDP on any interfaces.
hops-count, path-vectors.
# Enable loop detection for the public network LDP.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] loop-detect
# Enable loop detection for LDP instance named vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] loop-detect
lsp-trigger { all | ip-prefix prefix-name }
undo lsp-trigger { all | ip-prefix prefix-name }
MPLS view
all: Specifies all FECs, that is, all static routes and IGP routes.
prefix-name: Name of the IP address prefix list, a string of 1 to 19 characters.
Use the
command to configure the LSP establishment triggering
lsp-trigger
policy.
Use the
undo lsp-trigger
command to disable loop detection.
command to restore the default.
1545