loop-detect detection pe-vid ce-vid

Function

The loop-detect detection pe-vid ce-vid command specifies a VLAN range for a sub-interface for QinQ VLAN tag termination to send loop detection packets.

The undo loop-detect detection pe-vid ce-vid command deletes the VLAN range specified for a sub-interface for QinQ VLAN tag termination to send loop detection packets.

By default, a sub-interface for QinQ VLAN tag termination can send loop detection packets to all VLANs configured on the sub-interface.

Format

loop-detect detection pe-vid pe-vid ce-vid low-vid [ to high-vid ]

undo loop-detect detection pe-vid pe-vid ce-vid low-vid [ to high-vid ]

Parameters

Parameter Description Value
pe-vid

Specifies the outer VLAN to which a sub-interface for QinQ VLAN tag termination can send loop detection packets.

The value is an integer ranging from 1 to 4094.

low-vid

Specifies the start VLAN ID carried in loop detection packets.

The value is an integer ranging from 1 to 4094.

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 the value of low-vid.

Views

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

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

The loop-detect detection pe-vid ce-vid command can be configured on a sub-interface for QinQ VLAN tag termination only after loop detection is enabled globally and the loop-detect enable command is configured on the VPLS AC interface.

This command applies only to sub-interfaces for QinQ VLAN tag termination. By default, a sub-interface for QinQ VLAN tag termination sends loop detection packets to all configured VLANs to detect intra-VLAN loops. This command allows you to specify the VLAN range to which a sub-interface for QinQ VLAN tag termination can send loop detection packets.

Example

# Configure sub-interface for QinQ VLAN tag termination GE0/1/0.2 to send loop detection packets with outer VLAN ID 100 and inner VLAN IDs ranging from 3 to 100.
<HUAWEI> system-view
[~HUAWEI] loop-detection enable
[*HUAWEI] interface GigabitEthernet 0/1/0.2
[*HUAWEI-GigabitEthernet0/1/0.2] control-vid 3 qinq-termination
[*HUAWEI-GigabitEthernet0/1/0.2] qinq termination pe-vid 100 ce-vid 1 to 1000
[*HUAWEI-GigabitEthernet0/1/0.2] loop-detect enable
[*HUAWEI-GigabitEthernet0/1/0.2] loop-detect detection pe-vid 100 ce-vid 3 to 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >