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

spa962 wont configure via tftp

Scope:

Get a spa 962 to retrieve a config file from a server using tftp or http, and properly take up the settings.

Users have reportedly done it, but the documentation from cisco has nothing whatsoever.

Anyway,

The xml config for the phone can be reached at:

http://<ip_address_of_phone>/admin/spacfg.xml

I visited that url of an already working spa962, then saved the file changed the extension to a different number.

I then loaded it to the tftp server, and changed the name to include the mac address as specified, with all capital letters:

spa<mac_address_all_caps>.cfg

I then verified that tftp was working

tftp <ip_of_tftp_server>

get spa<mac_address_all_caps>.cfg

success

( just for kicks I put a copy in the web root to try http provisioning as a backup resort )

So, the only thing left was to point the phone at its config file.

I went to the phones web gui, went to the "provisioning" tab,

I then changed the "Profile Rule:" field

original value: /spa$PSN.cfg

to:

<ip_of_tftp_server>/spa$PSN.cfg

tftp://<ip_of_tftp_server>/spa$PSN.cfg

http://<ip_of_tftp_server>/spa$PSN.cfg

<ip_of_tftp_server>/spa$MA.cfg

tftp://<ip_of_tftp_server>/spa$MA.cfg

http://<ip_of_tftp_server>/spa$MA.cfg

<ip_of_tftp_server>/spa<full_typed_out_mac_address>.cfg

tftp://<ip_of_tftp_server>/spa<full_typed_out_mac_address>.cfg

http://<ip_of_tftp_server>/spa<full_typed_out_mac_address>.cfg

absolutly nothing,

Then I found you could force feed the phone new configs

http://<ip_address_of_phone>/upgrade?tftp://<ip_of_tftp_server>/spa<full_typed_out_mac_address>.cfg

Still defiant,

It should have read the file, and accepted the new xml settings which were identical except for the extension number.

Why didnt it upload the new file and accept it?

2 REPLIES
Cisco Employee

Re: spa962 wont configure via tftp

Hi uleave hudson,

I replied to your other thread, but take a look at this document https://supportforums.cisco.com/docs/DOC-9954 starting page 9 where I describe how the phone resolves spa$PSN.cfg Continue reading through page 13 and you should now be able to succeed with your exercise.

Pages 14-22 show the WireShark traces of what the phone looks for and how it reacts. Your SPA962 behaves in the same way as the SPA525G that I used to write this paper.

Best of luck, it really does work.

Regards,

Patrick

----------

You only need one reference document for all SPA phone firmware, information, and utilities.

New Member

Re: spa962 wont configure via tftp

Can anyone direct me to the fabled DOC-9954 , this link does not go anywhere ?

 

Thanks in advance

 

Paul

688
Views
0
Helpful
2
Replies
CreatePlease to create content