D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
10
9
Parameters <vlan_name 32> The name of the VLAN to be created.
tag <vlanid 2-4094> The VLAN ID of the VLAN to be created. The
allowed values range from 2 to 4094.
Restrictions Each VLAN name can be up to 32 characters. If the VLAN is not
given a tag, it will be a port-based VLAN.
Only administrator or operator-level users can issue this command.
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