Specifications

DGS-3048 Layer 2 Switch CLI Reference Manual
97
14
VLAN COMMANDS
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 1-4094>}
delete vlan <vlan_name 32>
config vlan <vlan_name 32> {[add [tagged | untagged | forbidden] | delete]
<portlist> | ch1 | ch2 | ch3 | ch4 | ch5 | ch6 | ch7 | ch8 |}
config gvrp [<portlist> | ch1 | ch2 | ch3 | ch4 | ch5 | ch6 | ch7 | ch8 | all] {state
[enable | disable] | ingress_checking [enable | disable]
acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}
enable gvrp
disable gvrp
show vlan {<vlan_name 32>}
show gvrp {<portlist> | ch1 | ch2 | ch3 | ch4 | ch5 | ch6 | ch7 | ch8 ]}
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 1-4094>}
Description This command allows you to create a VLAN on the Switch.
Parameters
<vlan_name 32> The name of the VLAN to be created.
tag <vlanid 1-4094> The VLAN ID of the VLAN to be created.
Allowed values = 1-4094
Restrictions Each VLAN name can be up to 32 characters. If the VLAN is not given
a tag, it will be a port-based VLAN. Only administrator-level users can
issue this command.
Example usage:
To create a VLAN v1, tag 2:
DGS3048#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS3048#
delete vlan
Purpose Used to delete a previously configured VLAN on the Switch.