Vlan Commands - D-Link DGS-3212SR Command Line Interface Reference Manual

12-port gigabit layer 2 stackable switch
Hide thumbs Also See for DGS-3212SR:
Table of Contents

Advertisement

The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command
create vlan
delete vlan
config vlan
config gvrp
enable gvrp
disable gvrp
show vlan
show gvrp
Each command is listed, in detail, in the following sections.
create vlan
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
DGS-3212SR Layer 3 Gigabit Switch
Parameters
<vlan_name 32> {tag <vlanid 1-4094> | advertisement}
<vlan_name 32>
<vlan_name 32> {[add [tagged | untagged | forbidden] | delete]
<portlist> | advertisement [enable | disable]}
[<portlist> | all] {state [enable | disable] | ingress_checking [enable
| disable] | acceptable_frame [tagged_only | admit_all] | pvid
<vlanid 1-4094>}
<vlan_name 32>
<portlist>
NOTE: As a stand-alone switch or as a master switch in a switch stack,
the switch number will be referred to as 15 for all configurations, graphs
and tables.
Used to create a VLAN on the switch.
create vlan <vlan_name 32> {tag <vlanid 1-4094> |
advertisement}
This command allows you to create a VLAN on the switch.
<vlan_name 32> − The name of the VLAN to be created.
<vlanid 1-4094> − The VLAN ID of the VLAN to be created.
Allowed values = 1-4094
advertisement − Specifies that the VLAN is able to join GVRP. If
this parameter is not set, the VLAN cannot be configured to have
forbidden ports.
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.
119
15
VLAN C
OMMANDS

Advertisement

Table of Contents
loading

Table of Contents