ā09-28-2010 03:44 PM - edited ā03-16-2019 01:04 AM
I would like to keep my phone firmware files in a directory rather than the root of the flash. When I do this however I cannot get the CME to recognise the file location. I have added the TFTP-SERVER statement, but this still fails.
cme-124-24T on a 2811
I'm obviously missing something, but I can't see my mistake.
Cisco IOS Software, 2800 Software (C2800NM-SPSERVICESK9-M), Version 12.4(24)T4, RELEASE SOFTWARE (fc2)
R6(config-telephony)#
R6(config-telephony)#do sho flash | i PHONES
36 531737 Sep 28 2010 21:20:54 PHONES/7962SCCP/cnu42.9-0-3TH1-22.sbn
37 4581763 Sep 28 2010 21:19:14 PHONES/7962SCCP/apps42.9-0-3TH1-22.sbn
167 0 Sep 27 2010 22:50:58 PHONES
168 0 Sep 27 2010 22:51:18 PHONES/7962SCCP
169 676 Sep 28 2010 21:22:26 PHONES/7962SCCP/SCCP42.9-0-3S.loads
170 2162646 Sep 28 2010 21:21:22 PHONES/7962SCCP/cvm42sccp.9-0-3TH1-22.sbn
172 680 Sep 28 2010 21:23:00 PHONES/7962SCCP/term62.default.loads
173 680 Sep 28 2010 21:22:44 PHONES/7962SCCP/term42.default.loads
174 1756858 Sep 28 2010 21:22:02 PHONES/7962SCCP/jar42sccp.9-0-3TH1-22.sbn
175 343211 Sep 28 2010 21:21:36 PHONES/7962SCCP/dsp42.9-0-3TH1-22.sbn
R6(config-telephony)#do sho run | i tftp
tftp-server flash:PHONES/7962SCCP/apps42.9-0-3TH1-22.sbn alias flash:apps42.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/cnu42.9-0-3TH1-22.sbn alias flash:cnu42.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/cvm42sccp.9-0-3TH1-22.sbn alias flash:cvm42sccp.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/dsp42.9-0-3TH1-22.sbn alias flash:dsp42.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/jar42sccp.9-0-3TH1-22.sbn alias flash:jar42sccp.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads alias SCCP42.9-0-3S.loads
tftp-server flash:PHONES/7962SCCP/term42.default.loads alias flash:term42.default.loads
tftp-server flash:PHONES/7962SCCP/term62.default.loads alias flash:term62.default.loads
R6(config-telephony)#load 7962 SCCP42.9-0-3S.loads
LOAD COMMAND ERROR: File:SCCP42.9-0-3S.loads not found,
command retained, create
tftp bindings manuallyUpdating CNF files
CNF-FILES: Clock is not set or synchronized, retaining old versionStamps
CNF files update complete for phonetype(7962)
R6(config-telephony)#
Solved! Go to Solution.
ā09-29-2010 05:08 PM
Please, rate answers and mark the discussion is resolved. Thanks.
ā09-28-2010 04:04 PM
Hello,
Under Telephony Services it looks like you are trying to specify the firmware with the ".loads" extension. You need to specify the line exactly how you have it (for each phone type respectively) but without the ".loads" extension. Try it and see if it works.
ā09-28-2010 04:13 PM
the .loads extension worked fine when I had the file in the root of flash. I made the wild and unfounded assumption that the syntax would be consistant, silly me!
It now takes the load command (minus extension) but the phone errors, as though the file is not there or inaccessible.
ā09-28-2010 04:25 PM
Not to question you but maybe the flash directories are not set (syntax-wise) exactly how you have it under tftp-server. Can you post a "show flash"
ā09-28-2010 05:05 PM
Always wise to question, I also had that thought (did include th
is info in the original post) but I cannot see any typo.
I primarity cut & paste for this reason.
R6(config-telephony)#do sho flash | i PHONES
36 531737 Sep 28 2010 21:20:54 PHONES/7962SCCP/cnu42.9-0-3TH1-22.sbn
37 4581763 Sep 28 2010 21:19:14 PHONES/7962SCCP/apps42.9-0-3TH1-22.sbn
167 0 Sep 27 2010 22:50:58 PHONES
168 0 Sep 27 2010 22:51:18 PHONES/7962SCCP
169 676 Sep 28 2010 21:22:26 PHONES/7962SCCP/SCCP42.9-0-3S.loads
170 2162646 Sep 28 2010 21:21:22 PHONES/7962SCCP/cvm42sccp.9-0-3TH1-22.sbn
172 680 Sep 28 2010 21:23:00 PHONES/7962SCCP/term62.default.loads
173 680 Sep 28 2010 21:22:44 PHONES/7962SCCP/term42.default.loads
174 1756858 Sep 28 2010 21:22:02 PHONES/7962SCCP/jar42sccp.9-0-3TH1-22.sbn
175 343211 Sep 28 2010 21:21:36 PHONES/7962SCCP/dsp42.9-0-3TH1-22.sbn
ā09-29-2010 12:48 AM
First thing is why do you use
tftp-server flash:PHONES/7962SCCP/term42.default.loads alias flash:term42.default.loads ?
Try without 'flash:', simply:
tftp-server flash:PHONES/7962SCCP/term42.default.loads alias term42.default.loads
Why do you load 7962 using firmware for 7942?
R6(config-telephony)#load 7962 SCCP42.9-0-3S.loads
And certainly you need use this command without .loads
Your IP Phone can't find files because you determined almost all files like flash:term42.default.loads,
try term42.default.loads.
ā09-29-2010 12:56 AM
Hi
Agree with most of the comments above, however... there is a change since CME7 with newer firmware loads:
In Cisco Unified CME 7.0(1) and later versions:
ā¢You must use the complete filename, including the file suffix, when you configure the load command for phone firmware versions later than version 8-2-2 for all phone types. For example:
Router(config-telephony)# load 7941 SCCP41.8-3-3S.loads
Router(config-telephony)#
ā¢The load command is enhanced to automatically create TFTP bindings for phone firmware files if the cnf-location command is configured with the flash or slot0 argument. You are no longer required to configure the tftp-server command to create TFTP bindings only if the location of the cnf files is router flash or slot 0 memory. If the cnf-location command is configured for something other than flash or slot 0, such as a TFTP server (url) or system memory (system:its/), you still must configure the tftp-server command to create TFTP bindings for phone firmware files. Use the complete filename, including the file suffix, when you configure the tftp-server command for phone firmware versions later than version 8-2-2 for all phone types.
To verify TFTP bindings, including the dictionary, language, and tone configuration files that are associated with the ISO-3166 codes that have been selected, use the show telephony-service tftp-bindings command.
How well this works with subdirectories would be another question.
Aaron
Please rate helpful posts...
ā09-29-2010 03:20 AM
I don't know about this, maybe it works.
All I know is that I have CME 7.0(1) and I loaded firmwares as I had described before. It works.
ā09-29-2010 04:32 AM
Hi
I'm with you there - I rarely do CME these days but when I do, I do it the old fashioned way.
Just thought it was worth mentioning.
Regards
Aaron
ā09-29-2010 02:25 PM
Viacheslav ,
You make a fair point, the flash: in front of my alias commands were only added as I went through every possible permutation I could think of, before posting.
I have however restored these commands back to my original config
tftp-server flash:PHONES/7962SCCP/apps42.9-0-3TH1-22.sbn alias apps42.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/cnu42.9-0-3TH1-22.sbn alias cnu42.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/cvm42sccp.9-0-3TH1-22.sbn alias cvm42sccp.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/dsp42.9-0-3TH1-22.sbn alias dsp42.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/jar42sccp.9-0-3TH1-22.sbn alias jar42sccp.9-0-3TH1-22.sbn
tftp-server flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads alias SCCP42.9-0-3S.loads
tftp-server flash:PHONES/7962SCCP/term42.default.loads alias term42.default.loads
tftp-server flash:PHONES/7962SCCP/term62.default.loads alias term62.default.loads
I have continued to use the extension based on the post subsequent to yours. This however has made no change, my phone still errors.
Regarding the firmware, this is correct & downloaded from the Cisco website specifically, the firmware is called "cmterm-7942_7962-sccp.9-0-3.rar" and covers both models. It does look incorrect, but I assure you that it works fine in the root directory.
ā09-29-2010 02:52 PM
Again, just going with what I know, have you restored the correct alias syntax under the tftp while leaving the extension off in telephony services? I would try that. Otherwise I am sure debuging tftp would point you to your problem.
ā09-29-2010 04:03 PM
Yes, I believe I have the correct syntax under
TFTP-Server.
I was going to wireshark the phone, but prefer your suggestion of a debug (thanks) Basically, the TFTP statement does not appear to work. I can tftp off the firmware if I add it to the flash root from DOS:
tftp 192.168.200.6 get SCCP42.9-0-3S.loads
However, if I either rely on the TFTP-Server as a redirect, or try to TFTP directly from the subdirectory
tftp 192.168.200.6 get PHONES/7962SCCP/SCCP42.9-0-3S.loads
This fails, it seems that the router will not allow me to FTP from a sub directory.
___________________________________
I have progressed further, there is a syntax issue, there is some issue with the file name that over-rides the TFTP statement, if I use a TFTP statement
tftp-server flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads alias frank
I can happily ftp the file off with the dos command
tftp 192.168.200.6 get frank
I can also use frank-1-1-1 or frank.1-1-1 or frank.loads, even I have discovered it works with alias SCCP42.9-0-3S
ONLY fails with both the filename & extension (SCCP42.9-0-3S.loads) unless it is in the root of flash.
I guess I'm back to the root of the flash. I'm slightly underwhelmed with CME sofar.
ā09-29-2010 04:14 PM
All you need is:
1. Bind you files on Router fftp server using commands under 'telephone-service' like:
tftp-server flash:/phones/SCCP41.8-4-2S.loads alias SCCP41.8-4-2S.loads
tftp-server flash:/phones/apps41.8-4-1-23.sbn alias apps41.8-4-1-23.sbn
tftp-server flash:/phones/cnu41.8-4-1-23.sbn alias cnu41.8-4-1-23.sbn
tftp-server flash:/phones/cvm41sccp.8-4-1-23.sbn alias cvm41sccp.8-4-1-23.sbn
tftp-server flash:/phones/dsp41.8-4-1-23.sbn alias dsp41.8-4-1-23.sbn
tftp-server flash:/phones/jar41sccp.8-4-1-23.sbn alias jar41sccp.8-4-1-23.sbn
tftp-server flash:/phones/term41.default.loads alias term41.default.loads
2. Use command 'load SCCP41.8-4-2S'.
That's all.
For example, the line 'tftp-server flash:/phones/cnu41.8-4-1-23.sbn alias cnu41.8-4-1-23.sbn' means that this file can be get as
tftp get cnu41.8-4-1-23.sbn (you don't need to include all path to the file, you publish this file like it would locate on flash:cnu41.8-4-1-23.sbn).
ā09-29-2010 04:32 PM
That is what I have:
tftp-server flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads alias SCCP42.9-0-3S.loads
C:\Documents and Settings\csco1>tftp 192.168.200.6 get SCCP42.9-0-3S.load
Error on server : No such file
Connect request failed
The debug shows:
*Sep 29 23:31:29.277: TFTP: Looking for SCCP42.9-0-3S.load
It ONLY fails if I try to TFTP off the SCCP42.9-0-3S.load
for example:
tftp-server flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads alias SCCP42.9-0-3S
C:\Documents and Settings\csco1>tftp 192.168.200.6 get SCCP42.9-0-3S
Transfer successful: 676 bytes in 1 second, 676 bytes/s
*Sep 29 23:28:43.693: TFTP: Looking for SCCP42.9-0-3S
*Sep 29 23:28:43.697: TFTP: Opened flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads, fd 7, size 676 for process 194
*Sep 29 23:28:43.701: TFTP: Finished flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads, time 00:00:00 for process 194
Or
tftp-server flash:PHONES/7962SCCP/SCCP42.9-0-3S.loads alias frank.loads
C:\Documents and Settings\csco1>tftp 192.168.200.6 get frank.loads
Transfer successful: 676 bytes in 1 second, 676 bytes/s
ā09-29-2010 04:35 PM
tftp 192.168.200.6 get SCCP42.9-0-3S.load
Error on server : No such file
Connect request failed
The debug shows:
*Sep 29 23:31:29.277: TFTP: Looking for SCCP42.9-0-3S.load
It ONLY fails if I try to TFTP off the SCCP42.9-0-3S.load
You try to get SCCP42.9-0-3S.load while you publish SCCP42.9-0-3S.loads.
You miss 's' at the end of file....
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