[cisco-voip] Tools to generate firmware reports

Wes Sisk wsisk at cisco.com
Fri Aug 13 10:24:09 EDT 2010


Abebe,

Good catch. Looks like RTMT in 6.x did not expose it but the information 
is available via 'show risdb query phone' from CLI:

admin:show version active
Active Master Version: 6.1.5.10000-10

admin:show risdb query phone
----------- Phone Information -----------

#TotalPhones, #TotalRegistered, #RegisteredSCCP, #RegisteredSIP, 
#UnRegistered, #Rejected, #PartiallyRegistered, StateId
1, 1, 1, 0, 0, 0, 0, 173

DeviceName, Descr, Ipaddr, MACaddr, RegStatus, PhoneProtocol, 
DeviceModel, HTTPsupport, #regAttempts, prodId, username, seq#, 
RegStatusChg TimeStamp, IpAddrType, LoadId, LastActTimeStamp
SEP001BD5846D80, Auto 6611009, 14.48.24.12, 001BD5846D80, reg, SCCP, 
30018, yes, 1, 30044, NoUserId, 1, 1281700908, 1, SCCP41.8-5-3S, 1281700908

----------------
Total count 1
----------------

/Wes

On Friday, August 13, 2010 7:27:09 AM, Abebe Amare <abucho at gmail.com> wrote:
> Hi Wes,
>
> My CUCM is ver 6.1.3.1000-16. I don't see the ActiveLoadId column in 
> the RTMT device search. What can I do to get it displayed?
>
> Abebe
>
> On Thu, Aug 12, 2010 at 6:19 PM, Wes Sisk <wsisk at cisco.com 
> <mailto:wsisk at cisco.com>> wrote:
>
>     Phones are *supposed* to report their current load version to CM
>     in an Alarm message.  The alarm message is parsed and load stored
>     in mmf tables in 6.x and later and visible in RTMT:
>
>
>     Unfortunately all devices are not playing nice. For those that do
>     not you could use the report to get the IP address of the device
>     and then query the phone web pages.
>
>     /Wes
>
>
>
>     On Thursday, August 12, 2010 9:55:17 AM, Lelio Fulgenzi
>     <lelio at uoguelph.ca> <mailto:lelio at uoguelph.ca> wrote:
>>     I get you now. The report is what the configuration should be,
>>     i.e. what the database has. But if the firmware load failed for
>>     whatever reason, then you are right that data wouldn't be accurate.
>>
>>     Thanks for clearing that up for me.
>>
>>     Wes had a pretty neat solution for this in the Windows world,
>>     where you would run an "mmfspy" on the subs, get all IP addresses
>>     that are connected and pipe that into wget and parse. You could
>>     probably get away with doing a blanket wget on your voice network
>>     and gathering details from the home page of every phone and
>>     getting the actual firmware in use from there.
>>
>>     Hope that makes sense and helps.
>>
>>     ---
>>     Lelio Fulgenzi, B.A.
>>     Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
>>     (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
>>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>     Cooking with unix is easy. You just sed it and forget it.
>>                                   - LFJ (with apologies to Mr. Popeil)
>>
>>
>>     ------------------------------------------------------------------------
>>     *From: *"Maciej Karpinski" <maciej.karpinski at consign.se>
>>     <mailto:maciej.karpinski at consign.se>
>>     *To: *"Lelio Fulgenzi" <lelio at uoguelph.ca> <mailto:lelio at uoguelph.ca>
>>     *Sent: *Thursday, August 12, 2010 9:48:19 AM
>>     *Subject: *Re: [cisco-voip] Tools to generate firmware reports
>>
>>     No that's not really true.
>>
>>     Phones that are not listed in the report are configured to use
>>     the default
>>     firmware but that doesn't mean that they are using the right
>>     firmware.
>>     If you connect a phone with to old firmware it won't be able to
>>     upgrade to
>>     the default firmware but it will still not be seen in the report.
>>
>>     That is at least how it works in 7.1.5
>>
>>     On Thu, 12 Aug 2010, Lelio Fulgenzi wrote:
>>
>>     > You know that phones that are not listed on the report are
>>     using the default firmware, you
>>     > can get that from the device defaults page and work backwards
>>     from the file name to the
>>     > firmware version. Then on the report, click the link, and it
>>     tells you what firmware file
>>     > name the phones that are not using the default firmware are
>>     using. Again, from there, working
>>     > backwards you can get the firmware version. In actuality, if
>>     the phone is plugged in, you can
>>     > click on the URL and get the firmware version from the info.
>>     >
>>     >
>>     >
>>     >
>>     >
>>     > ---
>>     > Lelio Fulgenzi, B.A.
>>     > Senior Analyst (CCS) * University of Guelph * Guelph, Ontario
>>     N1G 2W1
>>     > (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
>>     >
>>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>     > Cooking with unix is easy. You just sed it and forget it.
>>     >                               - LFJ (with apologies to Mr. Popeil)
>>     >
>>     >
>>     >
>>     ____________________________________________________________________________________________________
>>     > From: "Maciej Karpinski" <maciej.karpinski at consign.se>
>>     <mailto:maciej.karpinski at consign.se>
>>     > To: "Lelio Fulgenzi" <lelio at uoguelph.ca> <mailto:lelio at uoguelph.ca>
>>     > Cc: "Maciej Karpinski" <maciej.karpinski at consign.se>
>>     <mailto:maciej.karpinski at consign.se>, cisco-voip at puck.nether.net
>>     <mailto:cisco-voip at puck.nether.net>
>>     > Sent: Thursday, August 12, 2010 9:01:05 AM
>>     > Subject: Re: [cisco-voip] Tools to generate firmware reports
>>     >
>>     > That report only shows phones that have firmware other that default
>>     > firmware configured in phone configuration, It doesn't show
>>     what version
>>     > is loaded on the phone.
>>     >
>>     >
>>     >
>>     > On Thu, 12 Aug 2010, Lelio Fulgenzi wrote:
>>     >
>>     > > The report I'm talking about is Device > Device Settings >
>>     Firmware Load Information . Is
>>     > > this the one you tried? I've never seen the output you
>>     mention below. But then again, I'm
>>     > > only running v4.1(3) and no 7925s yet.
>>     > >
>>     > > ---
>>     > > Lelio Fulgenzi, B.A.
>>     > > Senior Analyst (CCS) * University of Guelph * Guelph, Ontario
>>     N1G 2W1
>>     > > (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
>>     > >
>>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>     > > Cooking with unix is easy. You just sed it and forget it.
>>     > >                               - LFJ (with apologies to Mr.
>>     Popeil)
>>     > >
>>     > >
>>     >
>>     >____________________________________________________________________________________________________
>>     >
>>     > > From: "Maciej Karpinski" <maciej.karpinski at consign.se>
>>     <mailto:maciej.karpinski at consign.se>
>>     > > To: "Lelio Fulgenzi" <lelio at uoguelph.ca>
>>     <mailto:lelio at uoguelph.ca>
>>     > > Cc: cisco-voip at puck.nether.net
>>     <mailto:cisco-voip at puck.nether.net>
>>     > > Sent: Thursday, August 12, 2010 8:25:42 AM
>>     > > Subject: Re: [cisco-voip] Tools to generate firmware reports
>>     > >
>>     > > Unfortunetely that report doesn't work for phones that have
>>     an really old
>>     > > firmware and for wireless phones.
>>     > >
>>     > > If the "Active Load ID" in UCM says Unknown the phone will
>>     not end up in
>>     > > the generated report. On 7921 and 7925 this field alwaus says
>>     "Unknown"
>>     > > and also on phones with to old firmware.
>>     > >
>>     > > /M
>>     > >
>>     > > On Thu, 12 Aug 2010, Maciej Karpinski wrote:
>>     > >
>>     > >
>>     > >
>>     > >
>>     > > On Thu, 12 Aug 2010, Lelio Fulgenzi wrote:
>>     > >
>>     > > > There is a device report that tells you which phones are
>>     not using the
>>     > > > default firmware. Try that out.
>>     > > >
>>     > > > ?
>>     > > > Don't look at me, my iPod maid that spilling mistake.
>>     > > >
>>     > > > On 2010-08-12, at 6:42 AM, Maciej Karpinski
>>     <maciej.karpinski at consign.se> <mailto:maciej.karpinski at consign.se>
>>     > > > wrote:
>>     > > >
>>     > > >> Hi
>>     > > >>
>>     > > >> I'm looking fore tools that can generate reports on what
>>     firmware phones in
>>     > > >> my network have. I have a unix script that can get such
>>     info from wired
>>     > > >> phones but it isn't able to get this info from 7921/7925
>>     phones.
>>     > > >>
>>     > > >> Are there any tools that can do this? Would like to have
>>     something windows
>>     > > >> based so other people than me could generate the reports.
>>     > > >>
>>     > > >> Br.
>>     > > >> Maciej
>>     > > >> _______________________________________________
>>     > > >> cisco-voip mailing list
>>     > > >> cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
>>     > > >> https://puck.nether.net/mailman/listinfo/cisco-voip
>>     > >
>>     > >
>>     >
>>     >
>>     ------------------------------------------------------------------------
>>     _______________________________________________ cisco-voip
>>     mailing list cisco-voip at puck.nether.net
>>     <mailto:cisco-voip at puck.nether.net>
>>     https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
>     _______________________________________________
>     cisco-voip mailing list
>     cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
>     https://puck.nether.net/mailman/listinfo/cisco-voip
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100813/51665274/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 34019 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100813/51665274/attachment.jpe>


More information about the cisco-voip mailing list