Deleting a static VLAN (CLI)


vlan <vid>

no vlan <vid>

Before deleting a static VLAN, reassign all ports in the VLAN to another VLAN.

Deleting a static VLAN

If ports B1-B5 belong to both VLAN 2 and VLAN 3 and ports B6-B10 belong to VLAN 3, deleting VLAN 3 causes the CLI to prompt you to approve moving ports B6 - B10 to VLAN 1 (the default VLAN). (Ports B1-B5 are not moved because they still belong to another VLAN.)

switch(config)# no vlan 3
The following ports will be moved to the default VLAN:
Do you want to continue?
[y/n] Y