DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
670
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To remove a VLAN ID 2:
DGS-3710-12C:admin#delete vlan vlanid 2
Command: delete vlan vlanid 2
Success.
DGS-3710-12C:admin#
72-5
config vlan
Description
This command is used to add or delete ports to or from the port list of a previously configured
VLAN. Users can specify the additional ports as tagged, untagged, or forbidden.
Format
config vlan <vlan_name 32> {[add [ tagged | untagged | forbidden] | delete ] <portlist> |
advertisement [enable | disable]} (1)
Parameters
<vlan_name 32>
- Specifies the name of the VLAN to add or delete ports to. The maximum
length is 32 characters.
add
- Specifies the port attribute to add.
tagged
- Specifies the additional ports as tagged.
untagged
- Specifies the additional ports as untagged.
forbidden
- Specifies the ports to be forbidden from becoming members of the VLAN
dynamically and not able to forward packets in this VLAN.
delete
- Specifies the port status to delete.
<portlist>
- Specifies a range of ports to add or delete to the VLAN.
advertisement
- Specifies to send GVRP out for this VLAN or not. If not, the VLAN cannot be
joint dynamically.
enable
- Specifies to enable GVRP.
disable
- Specifies to disable GVRP.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To add 4 through 8 as tagged ports to the VLAN v1: