![D-Link xStack DES-3500 Series Скачать руководство пользователя страница 111](http://html1.mh-extra.com/html/d-link/xstack-des-3500-series/xstack-des-3500-series_cli-manual_4096221111.webp)
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
108
delete vlan
Purpose
Used to delete a previously configured VLAN on the Switch.
Syntax
delete vlan <vlan_name 32>
Description
This command will delete a previously configured VLAN on the
Switch.
Parameters
<vlan_name 32>
−
The VLAN name of the VLAN to delete.
Restrictions
User Account Command Level – Administrator and Operator.
Example usage:
To remove the VLAN “v1”:
DES-3500:admin#delete vlan v1
Command: delete vlan v1
Success.
DES-3500:admin#
config vlan
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name 32> {[add [tagged | untagged |
forbidden] | delete] <portlist> | advertisement [enable | disable]}
Description
This command allows the user to add ports to the port list of a
previously configured VLAN. The user can specify the additional ports
as tagging, untagging, or forbidden. The default is to assign the ports
as untagging.
Parameters
<vlan_name 32>
−
The name of the VLAN to which to add ports.
add
−
Entering the add parameter will add ports to the VLAN. There
are three types of ports to add:
•
tagged
−
Specifies the additional ports as tagged.
•
untagged
−
Specifies the additional ports as untagged.
•
forbidden
−
Specifies the additional ports as forbidden
delete
−
Deletes ports from the specified VLAN.
<portlist>
−
A port or range of ports to add to, or delete from the
specified VLAN.
advertisement [enable | disable]
−
Enables or disables GVRP on the
specified VLAN.
Restrictions
User Account Command Level – Administrator and Operator.
Example usage:
To add 4 through 8 as tagged ports to the VLAN v1:
DES-3500:admin#config vlan v1 add tagged 4-8
Command: config vlan v1 add tagged 4-8
Success.
DES-3500:admin#
To delete ports from a VLAN: