Page 1 of 1

CLI: How to configure management VLAN ?

Posted: Wed Mar 25, 2015 11:11 am
by mike99
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) ???

Re: CLI: How to configure management VLAN ?

Posted: Wed Mar 25, 2015 11:38 am
by mike99
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

Re: CLI: How to configure management VLAN ?

Posted: Wed Mar 25, 2015 12:20 pm
by sirhc
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.

Re: CLI: How to configure management VLAN ?

Posted: Wed Mar 25, 2015 2:49 pm
by mike99
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.

Re: CLI: How to configure management VLAN ?

Posted: Wed Mar 25, 2015 3:09 pm
by sirhc
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