How to delete a linux vlan using proxmox command line

I&J-networks

New Member
Oct 19, 2024
4
0
1
Hello everyone. I am about to create a linux vlan on my network bridge that will ride on my physical interface. I have learned from past experience that if you mess something up or do something wrong you can risk cutting yourself off of your proxmox server and I not be able to log into the GUI.

If this happens, what is the command to delete the linux vlan and get it back to where it was?
 
Hello,
with ip link delete <vlan-interface> you can delete it via CLI. Depending on how it was created, it will be there again on next reboot. So better check content of /etc/network/interfaces and remove it from there too.
You could also just remove it from the interfaces-file and then run ifreload -a -s and if you have no problem reported, run ifreload -a .