Table of ContentsView in Frames

Deleting VLANs

You can delete a specific VLAN or all VLANs that are configured on a network interface. When you delete all VLANs on an interface, the interface is then available to be configured as a regular physical interface.

Step

  1. Enter the following command: vlan delete [-q] interface_name
    If you want to delete... Enter the following command:
    One or more specific VLANs vlan delete [-q] interface_name vlanid
    Note: If you want to delete more than one specific VLAN, you can include a list of VLAN identifiers.

    For example, to delete the VLAN e4-30, enter the following command: vlan delete e4 30

    All VLANs configured on a network interface vlan delete [-q] interface_name

    For example, to delete all VLANs configured on the interface e4, enter the following command: vlan delete e4

    interface_name is the name of the network interface.
    vlanid is the VLAN identifier to which the interface_name interface belongs. You can include a list of VLAN identifiers.
    The -q option invokes the quiet mode.

Result

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