xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
350
delete vlan
Purpose
Used to delete a previously configured VLAN on the switch.
Syntax
delete vlan <vlan_name>
Description
This command is used to delete a previously configured VLAN on the Switch.
Parameters
vlan_name
– The VLAN name of the VLAN to be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To remove a VLAN v1:
D G S – 3 4 2 6 : 5 # 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 4 2 6 : 5 #
config vlan add ports
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name> { [ add [ tagged | untagged | forbidden ] | delete ] <portlist> |
advertisement [ enable | disable ]}
Description
This command is used to add ports to the port list of a previously configured VLAN. You
can specify the additional ports as tagged, untagged, or forbidden. The default is to
assign the ports as untagged. If based on VLAN ID to configure VLAN, multiple VLANs
can be configured at a time. During configuration of multiple VLANs, error message will
be returned if the configurations are conflict.
Parameters
vlan_name
– The name 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.
advertisement
– Specifies whether the VLAN is able to join a GVRP or not.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure VLAN add ports:
D G S – 3 4 2 6 : 5 # c o n f i g v l a n v 1 a d d t a g g e d 2 : 4 – 2 : 8
C o m m a n d : c o n f i g v l a n v 1 a d d t a g g e d 2 : 4 – 2 : 8
S u c c e s s .
D G S – 3 4 2 6 : 5 #