Config Vlan - D-Link DGS-3120-48PC Reference Manual

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-48PC:
Table of Contents

Advertisement

®
xStack
Example
To remove VLANs from 10-30:
DGS-3120-24TC:admin# delete vlan vlanid 10-30
Command: delete vlan vlanid 10-30
Success.
DGS-3120-24TC:admin#
3-5

config vlan

Description
This command is used to configure a VLAN based on the name.
Format
config vlan <vlan_name 32> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable]}(1)
Parameters
<vlan_name 32> - Enter the VLAN name you want to add ports to. This name can be up to 32
characters long.
add - (Optional) Specify to add tagged, untagged or forbidden ports to the VLAN.
tagged - Specify the additional ports as tagged.
untagged - Specify the additional ports as untagged.
forbidden - Specify the additional ports as forbidden.
delete - (Optional) Specify to delete ports from the VLAN.
<portlist> - (Optional) Enter the list of ports used for the configuration here.
advertisement - (Optional) Specify the GVRP state of this VLAN.
enable - Specify to enable advertisement for this VLAN.
disable - Specify to disable advertisement for this VLAN.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add 4 through 8 of unit 2 as tagged ports to the VLAN v1:
DGS-3120-24TC:admin# config vlan v1 add tagged 2:4-2:8
Command: config vlan v1 add tagged 2:4-2:8
Success.
DGS-3120-24TC:admin#
DGS-3120 Series Managed Switch CLI Reference Guide
26

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents