Specifications
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
create vlan
Purpose
Used to create a VLAN on the switch.
Syntax create vlan <vlan_name 32> {tag <vlanid 1-4094>|advertisement}
Description
This command allows you to create a VLAN on the switch.
Parameters
<vlan_name 32> − The name of the VLAN to be created.
<vlanid 1-4094> − The VLAN ID of the VLAN to be created.
advertisement − Specifies the VLAN participates normally in GARP/GVRP protocol
exchanges. If this parameter is not set, the switch cannot send any GARP/GVRP messages
about the VLAN.
Restrictions
Each VLAN name can be up to 32 characters. If the VLAN is not given a tag, it will
automatically allocate a VID value. Only administrator-level users can issue this command.
Example Usage:
To create a VLAN v1, tag 2:
DGS-3224TGR:4#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS-3224TGR: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 you want to delete.
Restrictions
Only administrator-level users can issue this command.
Example Usage:
To remove a vlan v1:
DGS-3224TGR:4#delete vlan v1
Command: delete vlan v1
Success.
DGS-3224TGR:4#
75