Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

SPA ATA: Saving Configuration for Analysis Using admin/config.xml

Your SPA112, SPA122, or SPA232D ATA is doing something that you don't understand. You ask for help and you are requested to provide the ATA's configuration. How do you capture the ATA's configuration and share in an easily readable format with a support person without sharing password credentials?

Comments
VIP Gold

Unfortunatelly, it's not generated correctly. The tags with empty values are saved as tags with no values.

What I mean ? For example, you have "DHCP Option To Use" set to empty value.

The configuration saved by SIP NOTIFY Event: report looks good:

<DHCP_Option_To_Use ua="na"></DHCP_Option_To_Use>

The same is not true for admin/config.xml:

<DHCP_Option_To_Use/>

Unfortunatelly, tags with no value has not the same meaning like tags with empty value. If you will attempt to restore device configuration from the saved one, you can use the first variant, but not the second one. The null tag will not set the device's option to empty value but leave it unchanged instead, so resulting configuration will not be the same as the saved one.

In advance, the configuration saved via admin/config.xml doesn't contain the information about user-access (ua=) flag at all ...

Conclusion ?

You should prefer exact configuration of device obtained via NOTIFY/REPORT over loose configuration obtained via admin/config.xml url whenever possible.

The side note - I'm surprised that the firmware contains two independent implementations of XML configuration generator. It reveal something not so nice about project's code management.

Community Member

This sounds like a big mistake on Cisco's part. It's obvious that things aren't tested well enough by them regarding this device. Is anyone looking into this?

Cisco Employee

Dan,

Thanks for reviewing my document and offering comment. I've filed CDETS# CSCue38181 against the SPA ATA for having two implementations of the XML config. generator.

Regards,

Patrick---

Cisco Employee

George,

I've filed a CDETS against this issue, see above. In addition, I've notified the ATAs Product Manager.

Regards,

Patrick---

VIP Gold

(posted by accident, content deleted)

1469
Views
0
Helpful
5
Comments