D-Link DGS-3224TGR Command Line Interface Reference Manual page 79

Layer 2 gigabit ethernet switch
Hide thumbs Also See for DGS-3224TGR:
Table of Contents

Advertisement

create vlan
Used to create a VLAN on the switch.
Purpose
Syntax
create vlan <vlan_name 32> {tag <vlanid 1-4094>|advertisement}
Description
This command allows you to create a VLAN on the switch.
<vlan_name 32> − The name of the VLAN to be created.
Parameters
<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.
Each VLAN name can be up to 32 characters. If the VLAN is not given a tag, it will
Restrictions
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.
<vlan_name 32> − The VLAN name of the VLAN you want to delete.
Parameters
Only administrator-level users can issue this command.
Restrictions
Example Usage:
To remove a vlan v1:
DGS-3224TGR:4#delete vlan v1
Command: delete vlan v1
Success.
DGS-3224TGR:4#
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
75

Advertisement

Table of Contents
loading

Table of Contents