![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg162.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
350
delete vlan
Purpose Used to delete a previously configured VLAN on the switch.
Syntax
delete vlan <vlan_name>
Description
This command is used to delete a previously configured VLAN on the Switch.
Parameters vlan_name – The VLAN name of the VLAN to be deleted.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To remove a VLAN v1:
DGS–3426:5# delete vlan v1
Command: delete vlan v1
Success.
DGS–3426:5#
config vlan add ports
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name> { [ add [ tagged | untagged | forbidden ] | delete ] <portlist> |
advertisement [ enable | disable ]}
Description This command is used to add ports to the port list of a previously configured VLAN. You
can specify the additional ports as tagged, untagged, or forbidden. The default is to
assign the ports as untagged. If based on VLAN ID to configure VLAN, multiple VLANs
can be configured at a time. During configuration of multiple VLANs, error message will
be returned if the configurations are conflict.
Parameters vlan_name – The name of the VLAN you want to add ports to.
tagged – Specifies the additional ports as tagged.
untagged – Specifies the additional ports as untagged.
forbidden – Specifies the additional ports as forbidden.
portlist – A range of ports to add to the VLAN.
advertisement – Specifies whether the VLAN is able to join a GVRP or not.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure VLAN add ports:
DGS–3426:5#config vlan v1 add tagged 2:4–2:8
Command: config vlan v1 add tagged 2:4–2:8
Success.
DGS–3426:5#