D-Link xStack DGS-3420 Series Reference Manual page 1033

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
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.
enable - Specify to enable GVRP.
disable - Specify to disable GVRP.
name - Specify the VLAN name.
<vlan_name 32> - The maximum length is 32 characters.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add 4 through 8 as tagged ports to the VLAN 1:
DGS-3420-28SC:admin#config vlan vlanid 1 add tagged 4-8
Command: config vlan vlanid 1 add tagged 4-8
Success.
DGS-3420-28SC:admin#
To delete ports 4 through 8 from VLAN 1:
DGS-3420-28SC:admin#config vlan vlanid 1 delete 4-8
Command: config vlan vlanid 1 delete 4-8
Success.
DGS-3420-28SC:admin#
To enable the VLAN default advertisement:
DGS-3420-28SC:admin#config vlan vlanid default advertisement enable
1028

Advertisement

Table of Contents
loading

Table of Contents