CLI: How to configure management VLAN ?

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

CLI: How to configure management VLAN ?

Wed Mar 25, 2015 11:11 am

CLI is normally use to unlock access and I can't find any way to configure the management VLAN from CLI if you screw up things.

Other things missing or strange via CLI

Are we able to show vlan config ? I never found how.
Show config is shown on a single line without parsing it (a cat of the /www/config.json file) ???

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: CLI: How to configure management VLAN ?

Wed Mar 25, 2015 11:38 am

Just saw than on a other switch, the config is not all on the same line but this config was uploaded via WebUI. Firmware 1.1.2 model WS-12-250A

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

Re: CLI: How to configure management VLAN ?

Wed Mar 25, 2015 12:20 pm

mike99 wrote:Just saw than on a other switch, the config is not all on the same line but this config was uploaded via WebUI. Firmware 1.1.2 model WS-12-250A


When you see the config as one long line that is from saving the config in the CLI. I have asked Eric to fix that, what firmware version are you running as maybe he did fix it in v1.1.3?

If you save the config in the UI it formats it pretty.
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: CLI: How to configure management VLAN ?

Wed Mar 25, 2015 2:49 pm

Tryed it on 1.1.3 and change via CLI (serial terminal) create a config file in a single line so impossible to read.

I think it would be nice to be able to show vlan without passing via config file

show vlans = show all VLANs ID on switch and which one is the management VLAN
show vlans $VLAN_ID = port configured on this VLAN ID, something like 1U 3T 4T 5U 6T would be nice.

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

Re: CLI: How to configure management VLAN ?

Wed Mar 25, 2015 3:09 pm

Thanks for pointing out some weaknesses in the CLI

Eric said in the next release of v1.3.0 that will all be

If you charge the config in the CLI it un-formats it to one long string - YUK

Will do better on CLI in v1.3.0
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.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 163 guests