loop-detection enable

Function

The loop-detection enable command enables loop detection globally.

The undo loop-detection enable command restores the default configuration.

By default, loop detection is not enabled globally.

Format

loop-detection enable

undo loop-detection enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

Run the loop-detection enable command to enable loop detection globally before you use other loop detection commands.

After you run the undo loop-detection enable command, loop detection will be disabled on interfaces configured with loop detection and the loop-detect enable command will be deleted from these interfaces.

Example

# Enable loop detection globally.
<HUAWEI> system-view
[~HUAWEI] loop-detection enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >