Deleting a static VLAN

Syntax:

no vlan vid


[CAUTION: ]

CAUTION: Prior to deleting a static VLAN, re-assign all ports in the VLAN to another VLAN.


Deleting a static VLAN

Using VLAN Names screen with a new VLAN added, 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.)

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

Y
HP Switch(config)#::