D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
10
8
15
VLAN COMMANDS
The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
create vlan <vlan_name 32> {tag <vlanid 2-4094>}
delete vlan <vlan_name 32>
config vlan
vlanid <vlanid 1-4094> [ [ add [ tagged | untagged | forbidden ] | delete ]
[ <portlist> | <ch1-32> ] | vlan_name <vlan_name 32> ]
config gvrp
[<portlist> | <ch1-32> | 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>}
show gvrp {<portlist> | <ch1-32>}
enable vlan_trunk
disable vlan_trunk
show vlan_trunk
config vlan_trunk ports <portlist> state [enable | disable]
enable asymmetric_
vlan
disable
asymmetric_vlan
show asymmetric_vlan
config voice_vlan
[enable [<vlan_name 32> | vlanid <vlanid 1-4094>] | disable] |
oui-table [add <mac-address-prefix> description <string 32> | delete <mac-
address-prefix>] | [ add <portlist> {mode secure} | delete <portlist> ] |
cos <0-7> {remark} |
aging_time <1-43200>
show voice vlan [ethernet <interface> | port-channel port-channel]
Each command is listed in detail, as follows:
create vlan
Purpose To create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094>}
Description The create vlan command creates a VLAN on the Switch.