xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
delete vlan
Used to delete a previously configured VLAN on the Switch.
Syntax
delete vlan <vlan_name 32>
Description This command will delete a previously configured VLAN on the
Switch.
Parameters
<vlan_name 32> − The VLAN name of the VLAN to delete.
Restrictions Only administrator-level users can issue this command.
Purpose
Example usage:
To remove the VLAN “v1”:
DGS-3400:4#delete vlan v1
Command: delete vlan v1
Success.
DGS-3400:4#
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]}
Description This command allows you to add 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
untagging.
Parameters
<vlan_name 32> − The name of the VLAN you want to add ports to.
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.
advertisement [enable | disable] − Enables or disables GVRP on the
specified VLAN.
Restrictions Only administrator-level users can issue this command.
Purpose
Syntax
tagged − Specifies the additional ports as tagged. •
•
•
untagged − Specifies the additional ports as untagged.
forbidden − Specifies the additional ports as forbidden
Example usage:
To add 4 through 8 as tagged ports to the VLAN v1:
DGS-3400:4#config vlan v1 add tagged 4-8
Command: config vlan v1 add tagged 4-8
Success.
DGS-3400:4#
To delete ports from a VLAN:
104