D-Link DES-3326S Layer 3 Switch CLI Reference
config vlan
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name 32> { [ add [ tagged | untagged |
forbidden ] | delete ] <portlist> |
advertisement [ enable | disable]}
Description
This command allows you to add ports to the port list of a
previously configured VLAN. You can specify the additional ports
as tagging, untagging, or forbidden. The default is to assign the
ports as untagging.
Parameters
<vlan_name 32> − The name of the VLAN you want to add ports
to.
add − Specifies all of the ports on the Switch.
tagged − Specifies the additional ports as tagged.
untagged − Specifies the additional ports as untagged.
forbidden − Specifies the additional ports as forbidden.
delete − Deletes the above specified VLAN from the Switch.
<portlist> − A range of ports to add to the VLAN. The port list is
specified by listing the lowest Switch number and the beginning
port number on that Switch, separated by a colon. Then the
highest Switch number, and the highest port number of the range
(also separated by a colon) are specified. The beginning and end
of the port list range are separated by a dash. For example, 1:3
specifies Switch number 1, port 3. 2:4 specifies Switch number 2,
port 4. 1:3-2:4 specifies all of the ports between Switch 1, port 3
and Switch 2, port 4 − in numerical order.
advertisement [enable|disable] − Enables or disables GVRP on
the specified VLAN.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To add 4 through 8 of module 2 as tagged ports to the VLAN v1:
DES-3326S:4#config vlan v1 add tagged 2:4-2:8
Command: config vlan v1 add tagged 2:4-2:8
Success.
DES-3326S:4#
134