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.
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. |
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.<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