DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
27
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To remove VLANs from 10-30:
DWS-3160-24PC:admin# delete vlan vlanid 10-30
Command: delete vlan vlanid 10-30
Success.
DWS-3160-24PC: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
- The name of the VLAN you want to add ports to.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
add
- (Optional) Specifies to add tagged, untagged or forbidden ports to the VLAN.
tagged
- Specifies the additional ports as tagged.
untagged
- Specifies the additional ports as untagged.
forbidden
- Specifies the additional ports as forbidden.
delete
- (Optional) Specifies to delete ports from the VLAN.
<portlist>
- (Optional) Enter the list of ports used for the configuration here.
advertisement
- (Optional) Specifies the GVRP state of this VLAN.
enable
- Specifies to enable advertisement for this VLAN.
disable
- Specifies to disable advertisement for this VLAN.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add ports, 4 to 8, to the VLAN called ‘v1’, as tagged ports: