DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
174
20
VLAN Command List
create vlan <vlan_name 32 > tag <vlanid 2-4094> { type 1q_vlan advertisement }
create vlan vlanid <vlanid_list> { advertisement }
delete vlan <vlan_name>
delete vlan vlanid <vlanid_list>
config vlan < vlan_name > { [ add [ tagged | untagged | forbidden ] | delete ] <portlist> |
advertisement [ enable | disable ]}
config vlan vlanid <vlanid_list> { [ add [ tagged | untagged | forbidden ] | delete ] <portlist> |
advertisement [ enable | disable ]| name <vlan_name>}
config vlan <vlan_name> delete <portlist>
config vlan vlanid <vlanid_list> delete <portlist>
config gvrp [<portlist> | 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> | vlanid <vlanid_list> | ports <portlist>}
show gvrp {<portlist>}
enable pvid auto_assign
disable pvid auto_assign
show pvid auto_assign
20-1 create vlan
Purpose
Used to create a VLAN on the switch.
Format
create vlan <vlan_name 32 > tag <vlanid 2-4094> { type 1q_vlan advertisement }
create vlan vlanid <vlanid_list> { advertisement }
Description
The
create vlan
command creates a VLAN on the switch. The VLAN ID must be always specified for
creating a VLAN.