A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
120
create vlan
Purpose Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094> | type 1q_vlan | advertisement}
Description This command is used to create VLANs on the Switch.
Parameters
<vlan_name 32> The name of the VLAN to be created.
tag <vlanid 2–4094> The VLAN ID of the VLAN to be created. Allowed values = 2–4094
type – This parameter uses the type field of the packet header to determine the packet
protocol and destination VLAN:
1q_vlan – Allows the creation of a normal 802.1Q VLAN on the Switch.
advertisement Specifies that the VLAN is able to join GVRP.
Restrictions Each VLAN name can be up to 32 characters. Only Administrator and Operator-level
users can issue this command.
Example usage:
To create a VLAN v1, tag 2:
DGS–3426:5#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS–3426:5#
delete vlan
Purpose Used to delete a previously configured VLAN on the Switch.
Syntax
delete vlan <vlan_name 32>
Description This command is used to delete a previously configured VLAN on the Switch.
Parameters
<vlan_name 32> The VLAN name of the VLAN to delete.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To remove the VLAN “v1”:
DGS–3426:5#delete vlan v1
Command: delete vlan v1
Success.
DGS–3426:5#