Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
To create a VLAN v1, tag 2:
DGS-3400:4#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS-3400:4#
delete vlan
Purpose Used to delete a previously configured VLAN on the Switch.
Syntax
delete vlan <vlan_name 32>
This command will delete a previously configured VLAN on the
Switch.
Parameters
<vlan_name 32> − The VLAN name of the VLAN to delete.
Restrictions
Description
Only administrator-level users can issue this command.
Example usage:
To remove the VLAN “v1”:
DGS-3400:4#
DGS-3400:4#delete vlan v1
Command: delete vlan v1
Success.
config vlan
Used to add additional ports to a previously configured VLAN.
config vlan <vlan_name 32> {[add [tagged | untagged |
forbidden] | delete] <portlist> | advertisement [enable | disable]}
Parameters
<vlan_name 32> − The name of the VLAN to which to add ports.
add − Entering the add parameter will add ports to the VLAN. There
are three types of ports to add:
delete − Deletes ports from the specified VLAN.
<portlist> − A port or range of ports to add to, or delete from the
specified VLAN. The port list is specified by listing the lowest switch
number and the beginning port number on that switch, separated by a
colon. Then the highest switch number, and the highest port number
of the range (also separated by a colon) are specified. The beginning
and end of the port list range are separated by a dash. For example,
1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2,
port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and
switch 2, port 4 − in numerical order. Non-contiguous portlist entries
are separated by a comma. (ex: 1:1-1:3,1:7-1:9)
advertisement [enable | disable] − Enables or disables GVRP on the
Purpose
Syntax
Description This command allows the addition of ports to the port list of a
previously configured VLAN. The additional ports may be specified as
tagging, untagging, or forbidden. The default is to assign the ports as
untagging.
tagged − Specifies the additional ports as tagged. •
•
•
untagged − Specifies the additional ports as untagged.
forbidden − Specifies the additional ports as forbidden
115