Create Vlan Vlanid - D-Link DGS-3000 Series Reference Manual

Layer 2 managed gigabit switch
Hide thumbs Also See for DGS-3000 Series:
Table of Contents

Advertisement

DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To create a VLAN with name "p1" and VLAN ID 2:
DGS-3000-26TC:admin#create vlan p1 tag 2 type private_vlan advertisement
Command: create vlan p1 tag 2 type private_vlan advertisement
Success.
DGS-3000-26TC:admin#
3-2

create vlan vlanid

Description
This command is used to create more than one VLANs at a time. A unique VLAN name (e.g.
VLAN10) will be automatically assigned by the system. The automatic assignment of VLAN name
is based on the following rule: "VLAN"+ID. For example, for VLAN ID 100, the VLAN name will be
VLAN100. If this VLAN name is conflict with the name of an existing VLAN, then it will be renamed
based on the following rule: "VLAN"+ID+"ALT"+ collision count. For example, if this conflict is the
second collision, then the name will be VLAN100ALT2.
Format
create vlan vlanid <vidlist> {type [1q_vlan | private_vlan]} {advertisement}
Parameters
<vidlist> - Enter the VLAN ID list to be created.
type - (Optional) Specifies the type of VLAN to be created.
1q_vlan - (Optional) Specifies that the VLAN created will be a 1Q VLAN.
private_vlan – (Optional) Specifies that the private VLAN type will be used.
advertisement - (Optional) Specifies the VLAN as being able to be advertised out.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To create some VLANs using VLAN ID:
DGS-3000-26TC:admin#create vlan vlanid 10-30
Command: create vlan vlanid 10-30
Success.
DGS-3000-26TC:admin#
23

Advertisement

Table of Contents
loading

Table of Contents