Configuring basic settings of a vlan interface, Vlan interface overview, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 96

87
NOTE:
•
As the default VLAN, VLAN 1 cannot be created or removed.
•
You cannot manually create or delete VLANs reserved for special purposes.
•
You cannot use the undo vlan command to delete the dynamic VLANs.
•
You cannot delete a VLAN with a QoS policy configured.
•
You cannot delete a VLAN configured as a source VLAN for port mirroring. To delete it, remove the
source VLAN configuration first.
Configuring basic settings of a VLAN interface
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 devices. 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 subnet different from that of the VLAN.
Configuration procedure
Follow these steps to configure basic settings of a VLAN interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VLAN interface and
enter VLAN interface view
interface vlan-interface
vlan-interface-id
Required
If the VLAN interface already exists, you
enter its view directly.
Assign an IP address to the
VLAN interface
ip address ip-address { mask |
mask-length }
Optional
By default, no IP address is assigned to
any VLAN interface.
Shut down the VLAN interface
shutdown
Optional
By default, a VLAN interface is in the up
state. The VLAN interface is up if one or
more ports in the VLAN is up, and goes
down if all ports in the VLAN go down.
A VLAN interface shut down with the
shutdown command, however, will be in
the DOWN (Administratively) state until
you bring it up, regardless of how the
state of the ports in the VLAN changes.
NOTE:
Before creating a VLAN interface for a VLAN, create the VLAN first.