< Home

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 cannot advertise 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

Usage Guidelines

The switch 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 loop detection function is enabled be consistent on the two ends, run the loop-detect command to ensure that the switch sets up an LDP session with this neighbor.

Though the loop-detect command is run, the switch 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 ldp
[HUAWEI-mpls-ldp] loop-detect
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >