NOTE:
The Ethernet II encapsulation format is used here. Besides the Ethernet II encapsulation format, other
•
encapsulation formats, including 802.2 LLC, 802.2 SNAP, and 802.3 raw, are also supported by
Ethernet. The VLAN tag fields are also added to frames encapsulated in these formats for VLAN
identification.
For a frame with multiple VLAN tags, the device handles it according to its outer-most VLAN tag and
•
transmits its inner VLAN tags as payload.
Types of VLAN
You can implement VLAN based on the following criteria:
•
Port
MAC address
•
Protocol
•
IP subnet
•
Policy
•
•
Other criteria
NOTE:
S5120-SI Switch Series supports port-based VLAN, MAC-based VLAN, protocol-based VLAN. The
•
port-based VLAN implementation is the basis of all other VLAN implementations. To use any other
VLAN 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 which
•
VLAN a packet passing through the port should be assigned, the device looks up the VLANs in the
default order of MAC-based VLAN, protocol-based VLAN, and port-based VLAN.
Configuring basic VLAN settings
Follow these steps to configure basic VLAN settings:
To do...
Enter system view
Create VLANs
Enter VLAN view
Configure a name for the
current VLAN
Use the command...
system-view
vlan { vlan-id1 [ to vlan-id2 ] |
all }
vlan vlan-id
name text
97
Remarks
—
Optional
Use this command to create VLANs in bulk.
Required
If the specified VLAN does not exist, this
command creates the VLAN first.
By default, only the default VLAN (VLAN 1)
exists in the system.
Optional
By default, the name of a VLAN is its VLAN
ID, VLAN 0001 for example.
Need help?
Do you have a question about the S5120-SI series and is the answer not in the manual?