cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2184
Views
0
Helpful
7
Replies

Cisco SPA8000 configuration backup

MicheleP
Level 1
Level 1

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

7 Replies 7

jonrodr2
Level 1
Level 1

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

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.

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.

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.

 

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

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.

 

Yes, or ngrep. I asked here in the hope of saving time.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: