Hi, friend!
Before deleting a VLAN, delete the Layer 3 interface, upstream port, and service port of the VLAN.
You can run the display vlan command to query the information about the VLAN, such as the serial number, type, attribute, upstream port, and service port. Then perform related deletion operations.
Thanks!