Change default VLAN from SSH

User avatar
jjonsson
Associate
Associate
 
Posts: 337
Joined: Wed Nov 05, 2014 12:30 pm
Location: Denmark
Has thanked: 37 times
Been thanked: 65 times

Change default VLAN from SSH

Fri Mar 16, 2018 1:28 pm

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) ?

Julian
 

Re: Change default VLAN from SSH

Fri Mar 16, 2018 2:04 pm

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

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Change default VLAN from SSH

Fri Mar 16, 2018 3:09 pm

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
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
mike99
Associate
Associate
 
Posts: 837
Joined: Tue Nov 25, 2014 10:53 am
Location: Quebec, Canada
Has thanked: 95 times
Been thanked: 245 times

Re: Change default VLAN from SSH

Fri Mar 16, 2018 10:23 pm

Config
Vlan 10
Id 50
Exit
Vlan 20
Id 10
Exit
Vlan 50
Id 20
Exit
Exit

User avatar
jjonsson
Associate
Associate
 
Posts: 337
Joined: Wed Nov 05, 2014 12:30 pm
Location: Denmark
Has thanked: 37 times
Been thanked: 65 times

Re: Change default VLAN from SSH

Wed Mar 21, 2018 12:21 pm

@mike99 Thank you! Very helpful answer and it worked like a charm :hurray:

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 127 guests