DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
175
Parameters
Parameters
Description
vlan_name
The name of the VLAN to be created.
vlan vlanid
The VLAN ID of the VLAN to be created.
tag
The VLAN ID of the VLAN to be created. The range is from 2 to 4094.
advertisement
Specifies the VLAN as being able to be advertised out.
Restrictions
You must have administrator privileges.
Examples
To create a VLAN with name “v2” and VLAN ID 2:
D G S - 3 2 0 0 - 1 0 : 4 # c r e a t e v l a n v 2 t a g 2 t y p e 1 q _ v l a n a d v e r t i s e m e n t
C o m m a n d : c r e a t e v l a n v 2 t a g 2 t y p e 1 q _ v l a n a d v e r t i s e m e n t
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #
20-2 delete vlan
Purpose
Used to delete a previously configured VLAN on the switch.
Format
delete
vlan
<vlan_name>
delete vlan vlanid <vlanid_list>
Description
The
delete vlan
command deletes a previously configured VLAN on the switch.
Parameters
Parameters
Description
vlan_name
The VLAN name of the VLAN to be deleted.
vlan vlanid
The VLAN ID of the VLAN to be deleted.