DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
671
DGS-3710-12C:admin#config vlan v1 add tagged 4-8
Command: config vlan v1 add tagged 4-8
Success.
DGS-3710-12C:admin#
To delete ports 4 through 8 from VLAN v1:
DGS-3710-12C:admin#config vlan v1 delete 4-8
Command: config vlan v1 delete 4-8
Success.
DGS-3710-12C:admin#
To enable the VLAN default advertisement:
DGS-3710-12C:admin#config vlan default advertisement enable
Command: config vlan default advertisement enable
Success.
DGS-3710-12C:admin#
72-6
config vlan vlanid
Description
This command is used to add or delete ports to the port list of a previously configured VLAN.
Users can specify the additional ports as tagged, untagged, or forbidden.
Format
config vlan vlanid <vidlist> {[add [ tagged | untagged | forbidden ] | delete ] <portlist> |
advertisement [enable | disable] | name <vlan_name 32>} (1)
Parameters
<vidlist>
- Specifies the VLAN ID of the VLAN to add or delete ports to.
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.
name
- Specifies the VLAN name.
<vlan_name 32>
- The maximum length is 32 characters.