Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-8
Note:
z
As the default VLAN, VLAN 1 cannot be created, or removed.
z
You cannot create/remove reserved VLANs that are reserved for specific function
implementation.
z
Dynamic VLANs cannot be removed using the
undo vlan
command.
z
A VLAN configured with QoS policies cannot be removed.
z
If an isolate-user-vlan or a secondary VLAN is associated to another VLAN using
the
isolate-user-vlan
command, the VLAN can not 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 first.
Related commands:
display vlan
.
Examples
# Enter VLAN 2 view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Please wait............. Done.
1.2 Port-Based VLAN Configuration Commands
1.2.1 port
Syntax
port interface-list
undo port interface-list
View
VLAN interface view
Parameters
interface interface-list
: Ethernet interface list, in the format of {
interface-type
interface-number
[
to
interface-type interface-number
] }&<1-10>, where &<1-10>
means that you can specify up to 10 port ranges.