clear vlan

Last Updated : Aug 28, 2026 |
Deletes an existing VLAN and its interface. When you clear a VLAN, all ports assigned to that VLAN are returned to the default VLAN.
Prolog information

Syntax

clear vlan vlan_id | {name vlan_name}

Parameters

Parameter
Description
Possible Values
Default Value
vlan_id
The VLAN number
name
Keyword specifying to identify the VLAN by the VLAN name
vlan_name
The VLAN name.
If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example new york.

User level

read-write

Context

general

Example

To delete VLAN 100:
Gxxx-001(super)# clear vlan 100
This command will assign all ports on vlan 100 to their default in the entire 
management domain - do you want to continue (Y/N)? y
VLAN 100 deletion successful