Protocols and standards, Configuring basic vlan settings, Configuring basic settings of a vlan interface – H3C Technologies H3C S12500 Series Switches User Manual
Page 16: Vlan interface overview

3
Protocols and standards
•
IEEE 802.1Q, IEEE Standards for Local and Metropolitan Area Networks: Virtual Bridged Local
Area Networks
Configuring basic VLAN settings
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create VLANs.
vlan { vlan-id1 [ to vlan-id2 ] | all }
Optional.
You can use this command to
create multiple VLANs in bulk.
3.
Enter VLAN view.
vlan vlan-id
By default, only the default VLAN
(that is, VLAN 1) exists in the
system.
If the specified VLAN does not
exist, this command creates the
VLAN first.
4.
Configure a name for the
VLAN.
name text
Optional.
By default, the name of a VLAN is
its VLAN ID, for example, VLAN
0001.
5.
Configure the description of
the VLAN.
description text
Optional.
By default, VLAN ID is used, for
example, VLAN 0001.
NOTE:
The system default VLAN (VLAN 1) cannot be created or deleted.
Configuring basic settings of a VLAN interface
IMPORTANT:
Before creating a VLAN interface for a VLAN, create the VLAN first.
VLAN interface overview
For hosts of different VLANs to communicate, you must use a router or Layer 3 switch to perform layer 3
forwarding. To achieve this, VLAN interfaces are used.
VLAN interfaces are virtual interfaces used for Layer 3 communication between different VLANs. They do
not exist as physical entities on switches. For each VLAN, you can create one VLAN interface. You can
assign the VLAN interface an IP address and specify it as the gateway of the VLAN to forward traffic
destined for an IP network segment different from that of the VLAN.