D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
867
Example
To add 4 through 8 as tagged ports to the VLAN v1:
DGS-3420-28SC:admin#config vlan v1 add tagged 4-8
Command: config vlan v1 add tagged 4-8
Success.
DGS-3420-28SC:admin#
To delete ports 4 through 8 from VLAN v1:
DGS-3420-28SC:admin#config vlan v1 delete 4-8
Command: config vlan v1 delete 4-8
Success.
DGS-3420-28SC:admin#
To enable the VLAN default advertisement:
DGS-3420-28SC:admin#config vlan default advertisement enable
Command: config vlan default advertisement enable
Success.
DGS-3420-28SC:admin#
94-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> - Specify the VLAN ID of the VLAN to add or delete ports to.
add - Specify the port attribute to add.
tagged - Specify the additional ports as tagged.
untagged - Specify the additional ports as untagged.
forbidden - Specify the ports to be forbidden from becoming members of the VLAN
dynamically and not able to forward packets in this VLAN.
delete - Specify the port status to delete.
<portlist> - Specify a range of ports to add or delete to the VLAN.
advertisement - Specify to send GVRP out for this VLAN or not. If not, the VLAN cannot be joint
dynamically.