DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 
102 
Example usage: 
To create a VLAN v1, tag 2: 
DGS3100# create vlan v1 tag 2 
 
Success. 
 
DGS3100# 
 
 
delete vlan 
Purpose  To delete a previously configured VLAN on the Switch. 
Syntax 
delete vlan <vlan_name 32> 
Description The delete vlan command deletes a previously configured VLAN on 
the Switch. 
Parameters  <vlan_name 32> − The name of the VLAN to be deleted. 
Restrictions  Only administrator or operator-level users can issue this command. 
A user is required to disable Guest VLAN before deleting a VLAN. 
Example usage: 
To remove a vlan v1: 
DGS3100# delete vlan v1 
 
Success. 
 
DGS3100# 
 
 
config vlan 
Purpose  To add additional ports to a previously configured VLAN and to 
modify a VLAN name. 
Syntax 
config vlan vlanid <vlanid 1-4094> [ [ add [ tagged | untagged | 
forbidden ] | delete ] [ <portlist> | <ch1-32> ] | vlan_name 
<vlan_name 32> ] 
Description The config vlan command allows the user to add or delete ports to 
the port list of a previously configured VLAN. You can specify the 
additional ports as tagging, untagging, or forbidden. The default is to 
assign the ports as untagged. 
Parameters  <vlan_id > − The ID of the VLAN to which to add ports. 
add  − Specifies that ports are to be added to a previously created 
vlan. 
delete - Specifies that ports are to be deleted from a previously 
created vlan. 
tagged − Specifies the additional ports as tagged. 
untagged − Specifies the additional ports as untagged. 
forbidden − Specifies the additional ports as forbidden. 
<portlist> − A port or range of ports to be added to or deleted from