On upgrading to Aruba OS 8.x from 6.x, we cannot delete VLAN directly once configured on the controller.
Generally in previous codes after removing IP from the VLAN, we can delete the VLAN directly as shown below:
However with 8.0.x, we cannot remove the VLAN simply from the controller. A new interface is created as soon as we create a VLAN. If we execute the above steps, we will get an error:
Reason for this is that a different interface is created as soon as we create a VLAN. That interface needs to be removed as well before removing the VLAN ID. As shown below: