DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
176
Restrictions
You must have administrator privileges.
Examples
To remove a VLAN v1:
D G S - 3 2 0 0 - 1 0 : 4 # d e l e t e v l a n v 1
C o m m a n d : d e l e t e v l a n v 1
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #
20-3 config vlan add ports
Purpose
Used to add additional ports to a previously configured VLAN.
Format
config vlan <vlan_name 32> { [ add [ tagged | untagged | forbidden ] | delete ] <portlist> |
advertisement [ enable | disable ]}
config vlan vlanid <vlanid_list> { [ add [ tagged | untagged | forbidden ] | delete ] <portlist> |
Description
The
config vlan add
command allows you to add ports to the port list of a previously configured VLAN.
You can specifiy the additional ports as tagging, untagging, or forbidden. The default is to assign the ports
as untagging.
Parameters
Parameters
Description
vlan_name 32
The name of the VLAN you want to add ports to.
vlan vlanid
The VLAN ID of the VLAN you want to add ports to.
tagged
Specifies the additional ports as tagged.
untagged
Specifies the additional ports as untagged.
forbidden
Specifies the additional ports as forbidden.
portlist
A range of ports to add to the VLAN.
Restrictions
You must have administrator privileges.
Examples
To add 4 through 8 as tagged ports to the VLAN v1: