97NOTE:• The Ethernet II encapsulation format is used here. Besides the Ethernet II encapsulation format, otherencapsulation formats, including 802.2 LLC, 802.2 SNAP, and 802.3 raw, are also supported byEthernet. The VLAN tag fields are also added to frames encapsulated in these formats for VLANidentification.• For a frame with multiple VLAN tags, the device handles it according to its outer-most VLAN tag andtransmits its inner VLAN tags as payload.Types of VLANYou can implement VLAN based on the following criteria:• Port• MAC address• Protocol• IP subnet• Policy• Other criteriaNOTE:• S5120-SI Switch Series supports port-based VLAN, MAC-based VLAN, protocol-based VLAN. Theport-based VLAN implementation is the basis of all other VLAN implementations. To use any otherVLAN implementations, you must configure port-based VLAN settings.• You can configure all four types of VLANs on a port at the same time. When determining to whichVLAN a packet passing through the port should be assigned, the device looks up the VLANs in thedefault order of MAC-based VLAN, protocol-based VLAN, and port-based VLAN.Configuring basic VLAN settingsFollow these steps to configure basic VLAN settings:To do… Use the command… RemarksEnter system view system-view —Create VLANs vlan { vlan-id1 [ to vlan-id2 ] |all }OptionalUse this command to create VLANs in bulk.Enter VLAN view vlan vlan-idRequiredIf the specified VLAN does not exist, thiscommand creates the VLAN first.By default, only the default VLAN (VLAN 1)exists in the system.Configure a name for thecurrent VLAN name textOptionalBy default, the name of a VLAN is its VLANID, VLAN 0001 for example.