DGS-3024 Layer 2 Switch CLI Reference Manual
delete vlan
Purpose
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.
Example usage:
To remove a vlan v1:
DGS-3024:4#delete vlan v1
Command: delete vlan v1
Success.
DGS-3024:4#
config vlan
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name 32> {[add [tagged | untagged |
forbidden] | delete] <portlist> | advertisement [enable |
disable]}
Description
This 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_name 32>
−
The name of the VLAN to add ports to.
add
−
Specifies to add ports to a previously created vlan.
delete
- Specifies to delete ports to 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
the VLAN.
advertisement [enable | disable]
−
Enables or disables GVRP on
the specified VLAN.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To add ports 4 through 8 as tagged ports to the VLAN v1:
90