H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7

Command Reference
Vlan
59272-00 C 307
create
Creates a virtual LAN with the number given by [vlan_number].
delete
Deletes the virtual LAN given by [vlan_number]. The vlan number 1002 is
reserved as the default virtual LAN and cannot be deleted.
remove port [port_list]
Removes the internal ports given by [port_list] from the virtual LAN given by
[vlan_number]. [port_list] can be a set of internal port numbers (4–7) and ranges
delimited by spaces. Port numbers that are removed from a virtual LAN return to
the 1002 virtual LAN.
Examples The following is an example of the Vlan List Active command:
H3C (admin) #> vlan list active
Active VLAN Information
VLAN 1002
Ports 4-7
The following is an example of the Vlan Create command:
H3C (admin) #> admin start
H3C (admin) #> config edit
The config named default is being edited.
H3C (admin-config) #> vlan 1003 create
The VLAN has been created.
This configuration must be saved (see 'config save' command) and
activated (see 'config activate' command) before it can take effect.
To discard this configuration use the 'config cancel' command.
H3C (admin-config) #> config save
The config named default has been saved.
H3C (admin) #> config activate
The currently active configuration will be activated.
Please confirm (y/n): [n] y