< Home

ethernet-loop-protection ignored-vlan

Function

The ethernet-loop-protection ignored-vlan command configures ignored VLANs for a device. Through the loop protocol calculation, the interface on which the ignored VLAN is configured does not enter the blocked state but stays in the forwarding state.

The undo ethernet-loop-protection ignored-vlan command restores the ignored VLAN to the default setting.

By default, no ignored VLAN is configured for a device.

Format

ethernet-loop-protection ignored-vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

undo ethernet-loop-protection ignored-vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }

Parameters

Parameter Description Value
vlan-id1

Specifies the ID of a start VLAN.

The value is an integer ranging from 1 to 4094.

to vlan-id2

Specifies the ID of an end VLAN.

vlan-id2 and vlan-id1 together specify a VLAN range. If you do not specify to vlan-id2, only the VLAN with ID of vlan-id1 is configured to the ignored VLAN.

The value is an integer ranging from 1 to 4094. The value of vlan-id2 must be greater than that of vlan-id1.

all

Restore all the ignored VLAN to the default setting.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a device uses a specific VLAN to create a VLANIF interface and configure it as the management network port, Layer 2 loop protocols (MSTP/RRPP/SEP/ERPS/Smart Link) are enabled on the device to prevent network loops. After the device starts or the Layer 2 loop protocols are enabled, the VLANIF interface enters the blocked state and needs to wait a long time to enter the forwarding state through the protocol calculation. During this period, services are interrupted, and users who use the VLANIF interface cannot operate the device.

To resolve the problem, the ethernet-loop-protection ignored-vlan command can be used to configure the specific VLAN to an ignored VLAN. Through loop protocol calculation, the interface on which the ignored VLAN is configured does not enter the blocked state but stays in the forwarding state.

Precautions

If the ethernet-loop-protection ignored-vlan command is run more than once, all configurations take effect.

If an ignored VLAN is configured on a ring network, a loop occurs. Therefore, you cannot configure an ignored VLAN in a ring topology.

After the ethernet-loop-protection ignored-vlan command is executed, the configuration file shows that STP has been disabled in the VLAN, for example, stp vlan 100 disable.

After the undo ethernet-loop-protection ignored-vlan command is executed, the system checks whether the number of instances exceeds the limit. If so, the system restores the VBST status in the VLAN. If not, the system displays a message about a failure to restore the VBST status in the VLAN.

Example

# Configure VLAN 2 as an ignored VLAN.

<HUAWEI> system-view
[HUAWEI] ethernet-loop-protection ignored-vlan 2
Warning: This operation may result in bridging loops. Please make sure there are
 no bridging loops in the VLAN(s). Continue?[Y/N]:Y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >