Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Deleting a VLAN

Command for deleting a VLAN  Top

The vlan delete command is used to delete the VLANs on an interface. You can delete either a specific VLAN or all VLANs associated with that interface. If all VLANs for an interface are deleted, the interface is available to be configured as a regular physical interface.

Deleting a VLAN  Top

To delete a VLAN on a filer, complete the following step.

Note
By default, the vlan delete command prompts you to confirm the deletion. If you do not want to receive this prompt, use the -q flag. This action invokes quiet mode, which causes the operation to complete without prompting.

Step

Action

1

If you want to delete...

Then...

All VLANs

Enter the following command:

vlan delete [-q] ifname 

ifname is the name of the network interface.

Example

You delete all VLANs configured on interface e4 with the following command:

vlan delete e4

If you want to delete...

Then...

A specific VLAN

Enter the following command:

vlan delete [-q] ifname 
vlanid 

ifname is the name of the network interface.

vlanid is the VLAN identifier to which the ifname interface belongs.

You can include a list of VLAN identifiers.

Example

You delete VLAN e4-3 with the following command:

vlan delete e4 3

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments