DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
120
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
Only Administrator-level users can issue this command.
Example usage:
To remove the VLAN “v1”:
DES-1228/ME:4#delete vlan v1
Command: delete vlan v1
Success.
DES-1228/ME:4#
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 ]}(1)
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
Only Administrator-level users can issue this command.
Example usage:
To add 4 through 8 as tagged ports to the VLAN v1:
DES-1228/ME:4#config vlan v1 add tagged 4-8
Command: config vlan v1 add tagged 4-8
Success.
DES-1228/ME:4#
To delete ports from a VLAN:
DES-1228/ME:4#config vlan v1 delete 6-8
Command: config vlan v1 delete 6-8
Success.