R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101

51
all: Creates or removes all VLANs except reserved VLANs. The keyword is not supported when the
maximum number of VLANs that can be created on a device is less than 4094.
Description
Use the vlan vlan-id command to create a VLAN and enter its view or enter the view of an existing VLAN.
Use the vlan vlan-id1 to vlan-id2 command to create VLANs ranging from vlan-id1 to vlan-id2, except
reserved VLANs.
Use the undo vlan command to remove the specified VLANs.
You cannot create or remove the default VLAN (VLAN 1).
You cannot create or remove VLANs reserved for specific functions.
For the following VLANs, you must remove the related configurations first, because you cannot use the
undo vlan command to directly remove them:
Protocol reserved VLANs
Management VLANs
Dynamic VLANs
VLANs configured with QoS policies
Source VLANs for port mirroring
Remote probe VLANs for remote port mirroring
If an isolate-user-VLAN is associated with a secondary VLAN with the isolate-user-vlan command, you
cannot remove the isolate-user-VLAN or secondary VLAN unless you remove the association 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.
Port-based VLAN configuration commands
display port
Syntax
display port { hybrid | trunk }
View
Any view
Default level
1: Monitor level