Page 1 of 1

Human readable config file?

Posted: Tue Sep 01, 2015 4:52 pm
by abjornson
Hi,

I just purchased my first Netonix switch - been hearing about you guys for quite a while. Love it so far, really well designed.

My only major complaint so far is that the config is not text / human readable...it seems to be hex. This is a major downside for me because it seems to make it impossible to automate the generation of config files with scripts or other tools.

Any plans to consider a human readable configuration file?

Re: Human readable config file?

Posted: Tue Sep 01, 2015 5:02 pm
by sirhc
Search the forums, this topic has been discussed several times.

The file it backs up is an archive file "rar". The actual config file is human readable but if you mess it up (formatting) you can hose the switch.

Re: Human readable config file?

Posted: Tue Sep 01, 2015 5:21 pm
by abjornson
Thanks for the super fast reply, and glad to hear there's a way forward for me!

Ah ok, very sorry for not finding that the topic had been discussed before! (I just searched rar and json and found only the "TFTP Usage" thread...is there a better thread to look at?)

If I read that thread it sounds like the downloaded .ncfg (rar) file contains JSON config plus other stuff.

If I wanted to created my own JSON - it sounds like the recommendation is to scp the json onto the switch and reboot (rather than trying to recreate the .rar package that the UI expects) Sound right?

thanks again!

Re: Human readable config file?

Posted: Tue Sep 01, 2015 5:25 pm
by sirhc
I believe so, I sent Eric a Skype but he is off line, I am sure he will chime in here later (by tomorrow).

Re: Human readable config file?

Posted: Tue Sep 01, 2015 9:40 pm
by Eric Stern
abjornson wrote:Thanks for the super fast reply, and glad to hear there's a way forward for me!

Ah ok, very sorry for not finding that the topic had been discussed before! (I just searched rar and json and found only the "TFTP Usage" thread...is there a better thread to look at?)

If I read that thread it sounds like the downloaded .ncfg (rar) file contains JSON config plus other stuff.

If I wanted to created my own JSON - it sounds like the recommendation is to scp the json onto the switch and reboot (rather than trying to recreate the .rar package that the UI expects) Sound right?

thanks again!


Chris was incorrect, its actually a "tar" file. If you rename the ncfg file to .tar then you can open it with just about any archive program (7zip, etc).

But yes, if you want to automate the configuration just scp'ing the new file to the switch and rebooting is the easiest way.

Re: Human readable config file?

Posted: Fri Feb 12, 2021 6:56 pm
by suge
I'm not able to extract these files by changing the ncfg to .tar, .rar, .gz, .tgz, or .tar.gz

Anything change on this? how can I view these files. I need to see if a vlan is setup properly before I just go and reset the switch.