loop-detect priority

Function

The loop-detect priority command configures the blocking priority of an interface for loop detection.

The undo loop-detect priority command restores the blocking priority of an interface for loop detection.

By default, the blocking priority of an interface is 0.

Format

loop-detect priority priority-value

undo loop-detect priority

Parameters

Parameter Description Value
priority-value

Specifies the blocking priority of an interface.

The value is an integer ranging from 1 to 255.

Views

Eth-Trunk sub-interface view, Eth-Trunk interface view, GE sub-interface view, GE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

The loop-detect priority command can be configured on an interface only after loop detection is enabled globally and the loop-detect enable command is configured on the VPLS AC interface.

The smaller the priority value, the higher the blocking priority of an interface. When a loop occurs, the interface with the highest blocking priority is preferentially blocked. If you do not configure the loop-detect priority command, the priority value is 0 by default.

Example

# Configure the blocking priority of GE0/1/0.1 as 3.
<HUAWEI> system-view
[~HUAWEI] loop-detection enable
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] loop-detect enable
[*HUAWEI-GigabitEthernet0/1/0.1] loop-detect priority 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >