loop-detect trigger detection

Function

The loop-detect trigger detection command sets a VLAN range for a main interface to send proactive loop detection packets.

The undo loop-detect trigger detection command disables a main interface from sending proactive loop detection packets with the specified VLAN range.

By default, a main interface sends only untagged packets and packets with the VLAN ID of 0.

Format

loop-detect trigger detection vid low-vid [ to high-vid ]

undo loop-detect trigger detection vid low-vid [ to high-vid ]

Parameters

Parameter Description Value
to high-vid

Specifies the end VLAN ID carried in loop detection packets.

The value is an integer ranging from 1 to 4094. The value of high-vid must be greater than that of low-vid.

vid low-vid

Specifies the start VLAN ID carried in loop detection packets.

The value is an integer ranging from 1 to 4094.

Views

Eth-Trunk interface view, GE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

After proactive loop detection upon interface Up is enabled both in the system view and in the interface view, you can run the loop-detect trigger detection command to set a VLAN range for the interface to send proactive loop detection packets.

Precautions

You can use this command to configure a maximum of eight VLAN ranges or VLAN IDs.

Example

# Configure GE 0/1/0 to send proactive loop detection packets with VLAN IDs ranging from 3 to 100.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] loop-detect trigger detection vid 3 to 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >