Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-9
Caution:
z
VLAN 1 is the default VLAN and cannot be removed.
z
You cannot use the
undo vlan
command to directly remove the VLANs reserved by
the protocol, voice VLAN, control VLANs for Smart Link, probe VLANs for remote
mirroring, or VLANs used for performing any other features. To remove them, you
must remove the associations of them with the features.
z
After you use the
undo vlan
command to remove a VLAN functioning as the default
VLAN of a trunk or a hybrid port, the configuration of the default VLAN on the trunk
port or hybrid port does not change. The port will continue to use the removed VLAN
as its default VLAN.
Examples
# Create VLAN 5 and enter its VLAN view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 5
[Sysname-vlan5]
# Remove VLAN 5.
[Sysname-vlan5] quit
[Sysname] undo vlan 5
# Create VLAN 4 through VLAN 100.
[Sysname] vlan 4 to 100
Please wait............. Done.
# Remove VLAN 2 through VLAN 9 in bulk. VLAN 7 is the voice VLAN.
[Sysname] undo vlan 2 to 9
Note:The VLAN kept by protocol, the voice VLAN, the default VLAN, the
management VLAN and the remote probe VLAN will not be deleted!
Please wait... Done.
[Sysname] display vlan
The following VLANs exist:
1(default), 7
The above output information indicates that VLAN 7 (the voice VLAN) cannot be
removed, while the other VLANs are removed successfully.