loop-detect

Function

The loop-detect command enables a device to advertise the capability of loop detection during the initialization of an LDP session.

The undo loop-detect command disables a device from advertising the capability of loop detection during the initialization of an LDP session.

By default, a device is disabled from advertising the capability of loop detection during the initialization of an LDP session.

Format

loop-detect

undo loop-detect

Parameters

None

Views

MPLS-LDP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

The device does not support the loop detection function. In the scenario where its neighbor supports the loop detection function and requires that the notification about whether the same loop detection function is enabled on the two ends, to ensure that the VRP sets up an LDP session with this neighbor, run the loop-detect command.

Although the loop-detect command is run, the VRP still does not support the LDP loop detection function but only has the loop detection negotiation capability.

Example

# Enable the device to advertise the capability of loop detection during the initialization of an LDP session.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls ldp
[*HUAWEI-mpls-ldp] loop-detect
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >