H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration
1-4
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.
Enter VLAN view
vlan vlan-id
Required
The VLAN must be created first
before entering its view; otherwise,
using the command creates a VLAN
and enters its view
By default, only one default VLAN
(that is, VLAN 1 ) exists in the
system.
Specify a descriptive
character string for
the VLAN
description text
Optional
VLAN ID used by default, for
example, “VLAN 0001”
Note:
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 QoS policy configured, the VLAN cannot be removed.
z If an isolate-user-vlan or a secondary VLAN is associated with another VLAN, the
isolate-user-vlan or secondary VLAN cannot be removed unless the association is
removed.
z If a VLAN is configured as a remote mirroring VLAN, it cannot be removed using the
undo vlan command unless its mirroring VLAN configuration is removed.
1.3 Configuring Basic VLAN Interface Attributes
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.