Page 1 of 1

Change default VLAN from SSH

Posted: Fri Mar 16, 2018 1:28 pm
by jjonsson
Hi!

My default VLAN is set to VLAN 10 (The VLAN you can't disable)
I have also VLAN 20 configured.
Now I want to swap VLAN 10 with VLAN 20, so that the default becomes VLAN 20 instead of VLAN 10 and former VLAN20 becomes VLAN10.

It's quite easy to do from the webgui. Both I don't have webgui access to a switch at the moment, and can't get it before I have swapped above VLANs.
How do I swap VLANs from SSH (commandline) ?

Re: Change default VLAN from SSH

Posted: Fri Mar 16, 2018 2:04 pm
by Julian
You can rename, add/remove ports, change port tagging status within individual vlans, but no way to simply swap VLANs around - Can't move top VLAN (management), or disable it, even in GUI

Re: Change default VLAN from SSH

Posted: Fri Mar 16, 2018 3:09 pm
by sirhc
The CLI offers full in line HELP.

At any place type help or ? and press enter and you get a list of commands.

Type a partial command and a ? and press enter to get the rest of the command options

Our CLI was modeled after Cisco and the way they also provide inlice help

Re: Change default VLAN from SSH

Posted: Fri Mar 16, 2018 10:23 pm
by mike99
Config
Vlan 10
Id 50
Exit
Vlan 20
Id 10
Exit
Vlan 50
Id 20
Exit
Exit

Re: Change default VLAN from SSH

Posted: Wed Mar 21, 2018 12:21 pm
by jjonsson
@mike99 Thank you! Very helpful answer and it worked like a charm :hurray: