DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
27
DGS-3000-26TC:admin#config vlan v2 add tagged 4-8
Command: config vlan v2 add tagged 4-8
Success.
DGS-3000-26TC:admin#
config vlan vlanid
3-6
Description
This command is used to configure multiple VLANs at one time. But conflicts will be generated if
you configure the name of multiple VLANs at one time.
Format
config vlan vlanid <vidlist> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable] | name <vlan_name 32>}(1)
Parameters
<vidlist>
- Enter a list of VLAN IDs to configure.
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.
name
- (Optional) The new name of the VLAN.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add 4 through 8 as tagged ports to the VLAN ID from 10-20:
DGS-3000-26TC:admin#config vlan vlanid 10-20 add tagged 4-8
Command: config vlan vlanid 10-20 add tagged 4-8
Success.
DGS-3000-26TC:admin#
Summary of Contents for DGS-3000 series
Page 1: ......