DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 301
create vlan
Description
This command allows the user to create a VLAN on the Switch.
Parameters
vlan <vlan_name 32>
- Specify the name of the VLAN to be created.
tag <vlanid 2-4094>
- Specify the VLAN ID of the VLAN to be created. The range is
from 2 to 4094.
type
- Specify the type of VLAN to be created.
1q_vlan
- Specify the VLAN is a 802.1q VLAN.
advertisement
- Specify the VLAN as being able to be advertised out.
Restrictions
Each VLAN name can be up to 32 characters. Up to 4094 static VLANs may be
created per configuration. Only Administrator and Operator-level users can issue
this command.
Example usage:
To create a VLAN v1, tag 2:
DGS-3700-12:5#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS-3700-12:5#
create vlan vlanid
Purpose
Used to create multiple VLANs by VLAN ID list on the switch.
Syntax
create vlan vlanid <vidlist> {advertisement}
Description
This command is used to create multiple VLANs on the switch.
Parameters
<vidlist>
- Specify the VLAN ID of the VLAN to be created.
advertisement
- Specify the VLAN as being able to be advertised out.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To create VLAN by VLAN ID on the switch:
DGS-3700:5#create vlan vlanid 5 advertisement
Command: create vlan vlanid 5 advertisement
Success
DGS-3700: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 be delete.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To remove the VLAN “v1”: