Configuring basic vlan attributes, Basic vlan interface configuration, 4 basic vlan interface configuration – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 59
7-4
z
Other types
The H3C WX6103 access controller switch interface boards support port-based VLAN and MAC
address-based VLAN.
Configuring Basic VLAN Attributes
Follow these steps to configure basic VLAN attributes:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create VLANs
vlan
{ vlan-id1 [ to vlan-id2 ] |
all
}
Optional
Using this command can create multiple VLANs in a
bulk.
Enter VLAN view
vlan
vlan-id
Required
If the specified VLAN does not exist, the command
creates the VLAN and then enters its view.
By default, only the default VLAN (that is, VLAN 1)
exists in the system.
Specify a descriptive
string for the VLAN
description text
Optional
VLAN ID used by default, for example, “VLAN 0001”
z
As the default VLAN, VLAN 1 cannot be created or removed.
z
You cannot manually create or remove reserved VLANs, which are reserved for specific functions.
z
Dynamic VLANs cannot be removed using the undo vlan command.
z
If a VLAN has a QoS policy configured, the VLAN cannot be removed.
z
If a VLAN is configured as a remote-probe VLAN for remote port mirroring, it cannot be removed
using the undo vlan command unless its remote-probe VLAN configuration is removed.
Basic VLAN Interface Configuration
Hosts of different VLANs cannot communicate directly. That is, routers or Layer 3 switches are needed
for packets to travel across different VLANs. VLAN interfaces are used to forward VLAN packets on
Layer 3.
VLAN interfaces are Layer 3 virtual interfaces (which do not exist physically on devices) used for Layer
3 interoperability between different VLANs. Each VLAN can have one VLAN interface. Packets of a
VLAN can be forwarded on network layer through the corresponding VLAN interface. As each VLAN
forms a broadcast domain, a VLAN can be an IP network segment and the VLAN interface can be the
gateway to enable IP address-based Layer 3 forwarding.