Vlan types, Protocols and standards, Configuring basic vlan settings – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 122
111
VLAN types
You can implement VLANs based on the following criteria:
•
Port
•
MAC address
•
Protocol
•
IP subnet
•
Policy
•
Other criteria
This chapter covers port-based VLAN, MAC-based VLAN, protocol-based VLAN, and IP subnet-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 these types of VLANs on a port at the same time. When the device is determining
which VLAN a packet that passes through the port should be assigned to, it looks up the VLANs in the
default order of MAC-based VLAN, IP subnet-based VLAN, protocol-based VLAN, and port-based
VLAN.
Protocols and standards
IEEE 802.1Q, IEEE Standards for Local and Metropolitan Area Networks: Virtual Bridged Local Area
Networks
Configuring basic VLAN settings
When you configure basic VLAN settings, follow these guidelines:
•
As the default VLAN, VLAN 1 cannot be created or removed.
•
You cannot manually create or remove VLANs reserved for special purposes.
•
To remove a protocol reserved VLAN, voice VLAN, management VLAN, dynamic VLAN, VLAN
with a QoS policy applied, control VLAN for a smart link group, control VLAN for an RRPP domain,
or remote probe VLAN for remote port mirroring, remove the configuration from the VLAN first, and
execute the undo vlan command.
To configure basic VLAN settings:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VLAN and
enter its view, or create
VLANs in batch.
vlan { vlan-id1 [ to vlan-id2 ] |
all }
Optional.
By default, only the default VLAN (VLAN 1)
exists in the system.
3.
Enter VLAN view.
vlan vlan-id
Required only when you create VLANs in
bulk.