When restrictions on broadcast packets are required in a LAN to enhance the LAN security or to set up virtual working groups, VLANs must be configured. VLANs can be used only on Ethernet sub-interfaces.
When a user accesses the network through a main interface, you do not need to bind the main interface to a VLAN. When a user accesses the network through a sub-interface, you need to bind the sub-interface to a VLAN.
You can bind a sub-interface to a VLAN or configure QinQ on a sub-interface. When binding a sub-interface to a VLAN, you need the following parameters:
The system view is displayed.
A sub-interface is created and the sub-interface view is displayed.
A user-VLAN sub-interface is configured.
The configuration is committed.