DES-3000 Series Layer 2 Switch CLI Reference Manual
17
VLAN C
OMMANDS
The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command Parameters
create vlan
<vlan_name 32> {tag <vlanid 2-4094>}
delete vlan
<vlan_name 32>
config vlan
<vlan_name 32> {[add [tagged | untagged] | delete] <portlist>}
show vlan
{<vlan_name 32>}
Each command is listed, in detail, in the following sections.
create vlan
Purpose
Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094>}
Description
This command allows the creation of a VLAN 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. VLAN 1 is reserved for the default VLAN set
originally on the Switch.
Restrictions
Each VLAN name can be up to 32 characters. Only administrator-level
users can issue this command.
Example usage:
To create a VLAN v1, tag 2:
DES-3026:4#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DES-3026: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:
105