user-vlan any-other

Function

The user-vlan any-other command enables a user to use all VLANs that are not occupied by other interfaces.

The undo user-vlan any-other command disables a user to use all VLANs that are not occupied by other interfaces.

By default, no user-VLAN sub-interface is configured.

Format

user-vlan any-other

undo user-vlan any-other

Parameters

None

Views

100ge sub-interface view, 10GE sub-interface view, 200GE sub-interface view, 25GE sub-interface view, 400GE sub-interface view, 40GE sub-interface view, 50GE sub-interface view, Eth-Trunk sub-interface view, GE sub-interface view, Global VE sub-interface view, PW-VE sub-interface view, VE sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ethernet write

Usage Guidelines

When VLAN users access an IP core network through a BRAS, the VLAN tags carried in the user VLAN packets must be deleted as the IP core network cannot identify user VLAN information.

If a Layer 2 network connects to an IP core network through a BRAS, it is recommended that you run the user-vlan command on the BRAS's user-side sub-interface to remove the VLAN tags before sending the VLAN packets to the IP core network.

If a Layer 3 network connects to an IP core network through a BRAS, it is recommended that run the dot1q termination vid or qinq termination pe-vid ce-vid command on the BRAS's user-side sub-interface to remove the VLAN tags before sending the VLAN packets to the IP core network.

If an interface receives a packet but the VLAN Tag carried in the packet is neither a specified tag nor a specified double tag, all packets are forwarded through the User-VLAN sub-interface of the any-other type.

Example

# Configure a user VLAN on GE 0/1/1.1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] commit
[~HUAWEI-GigabitEthernet0/1/1.1] user-vlan any-other
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >