
1-8
Description
Use the
vlan
command to create VLANs. If you create only one VLAN, you enter the view of the VLAN
upon its creation; if the specified VLAN already exists, you enter its VLAN view directly.
Use the
undo vlan
command to remove VLANs.
By default, only VLAN 1 exists in the system.
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.
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...