I just created a management vlan for all my AP and switches. I have set a static IP address on the switch that correspond to the new vlan subnet. I have now lost access to the switch in the unifi controller because I forgot to also changed the management vlan in the interface. So I now have a static IP address from vlan5 but the the management vlan is still on my other vlan1 on a different subnet.
I can ssh to the unifi switch on the new static IP I have set so I was wondering if there is a cli command I can run or a file to edit in order to set the correct management vlan?