xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
Example usage:
To create a VLAN v1, tag 2:
DGS-3612G:4#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS-3612G:4#
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 the VLAN “v1”:
DGS-3612G:4#delete vlan v1
Command: delete vlan v1
Success.
DGS-3612G:4#
config vlan add
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name 32> {[add [ tagged | untagged |
forbidden] <portlist> | advertisement [enable | disable]}
Description
This command is used to add ports to the port list of a previously
configured VLAN. Additional ports may be specified as tagging,
untagging, or forbidden. The default is to assign the ports as
untagging.
Parameters
<vlan_name 32>
−
The name of the VLAN to add or delete ports to.
<portlist>
−
A port or range of ports to add to the VLAN.
advertisement [enable | disable]
−
Enables or disables GVRP on the
specified VLAN.
Restrictions Only
administrator-level users can issue this command.
add
−
Specifies which ports to add. The user may also specify if the
ports are:
•
•
•
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 of module 2 as tagged ports to the VLAN v1:
109