04-03-2017 01:51 AM - edited 03-21-2019 10:39 AM
Hi all,
i have some SPA8000 with firmware 5.1.10 and want to backup devices configurations. I've already tried, unsuccessfully, to get from /admin/config.xml and /admin/spacfg.xml, as saw in other threads on supporto forum.
There's any change with newest firmware ? How i can backup/dump device configuration ?
Sincerely, Michele
05-05-2017 02:25 PM
Hello,
I hope you are doing well, my name is Jonathan, and I am part of the Small Business department here at Cisco.
have you tried this form: http:///spacfg.xml or you can try the following:
There are two distinct sections that must be saved separately, namely the Network tab and the Voice tab.
A. Saving the Network configuration of the SPA8000:
1. Direct your browser to http://<IP_of_device>/admin/advanced
2. Use your browser's save page feature to write the device's entire Network configuration to a single file:
IE: Page > Save As > Save as type Webpage, HTML only
FireFox: File > Save Page As > Save as type Web Page, complete
3. Name the file as follows: SPA8000-Network_date_time.html
Example: SPA8000-Network_Sep082009_06h44.html
B. Saving the Voice configuration of the SPA8000:
1. Direct your browser to http://<IP_of_device>/admin/voice/advanced
2. Use your browser's save page feature to write the device's entire Voice configuration to a single file:
IE: Page > Save As > Save as type Webpage, HTML only
FireFox: File > Save Page As > Save as type Web Page, complete
3. Name the file as follows: SPA8000-Voice_date_time.html
Example: SPA8000-Voice_Sep082009_06h44.html
Now you can send the HTML configuration files to someone in order to show them how you have configured the device. Don't worry, they cannot access your device's passwords.
if you need a XML file, try http://<spa_ip_address>/spacfg.xml
also you can check if the device needs a firmware upgrade on the following link.
I hope this helps. thanks
08-28-2017 10:46 AM
Any suggestions on how to accomplish this with 'wget'?
Thus far, for backup purposes, I have retrieved XML manually with a browser, but I'd like to automate the process. It works fine until you set a password on the device; at that point I can't figure out how to get authorization to work. I've tried --user & --password (as well as --http-user & --http-password), and even took a couple stabs in the dark with --post-data, to no avail.
If you have any insight on how to authenticate with 'wget', I'd appreciate it.
07-24-2018 06:42 AM
Still looking for a way to retrieve the XML with 'wget' when a password is set. Is everybody simply backing these up manually via browser? We have seven of these in production now, and it's starting to get tedious.
07-24-2018 08:04 AM
I assume there's either GET or POST form on device's "login" page. With correct credentials, you will receive temporary cookie that's used to authorize subsequent access to other pages.
07-24-2018 08:53 PM
One would think that, but I only ever get the same "401 Unauthorized !" response when I wget the root (http://[ip]/) as I do from http://[ip]/spacfg.xml--and an empty cookie jar. To date, I have only been able to authenticate via browser--meaning a manual login to each device.
Believe me, I'm not a newbie to scripting and Linux, and I've spent hours trying everything I can think of to get this to work. If there is a way to do this, it isn't an obvious one.
Has nobody ever tried this and actually gotten it working?!
07-24-2018 11:26 PM
It seems no one familiar enough with SPA8000 is here. Fortunately, if you are skilled administrator, you need no one else to analyze issue.
Just use (tcp)dump to dump session between a browser and SPA8000. You will know how the authorization works then.
Then we can speak about use of wget to mimic the same behavior.
07-25-2018 12:53 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide