[cisco-voip] Get Cisco Phones serial numbers

Anthony Holloway avholloway+cisco-voip at gmail.com
Wed Dec 5 15:16:36 EST 2018


I wrote a CLI tool about 10 years ago, so she's a little old, but it will
scan a subnet for phones and generate a CSV report for you.  It's a
standalone executable, written in Ruby, and you can download the program from
here <https://drive.google.com/open?id=0BxuyRGzNG8fvcjkzTkFXbTEwUlU>.
The source
code is here <https://drive.google.com/open?id=0BxuyRGzNG8fvdFc5NmZwWmFuRW8>.
I think it's current.  :/

Anyways, I just launched it for the first time in a long time on my Windows
10 machine, and the tool worked like this:

*C:\Users\avhol\Downloads>gcpi -i*

*IP Address: 10.1.75.0*
*Subnet Mask [255.255.255.255]: 255.255.255.224*
*Timeout [3]:*
*Output [STDOUT]:*

*Gathering info from 30 phones...*

*Model,IP Address,Device Name,Serial Number,Mac Address,Phone DN*
*CP-8851,10.1.75.7,SEP00A289087BA4,FCH2028GZAY,00A289087BA4,+16125551000*
*CP-8851,10.1.75.8,SEPEC1D8BBAFA4A,FCH2142E7LT,EC1D8BBAFA4A,+16125551001*
*CP-8851,10.1.75.9,SEPEC1D8BBAEBE2,FCH2142E60K,EC1D8BBAEBE2,+16125551002*
*CP-8861,10.1.75.10,SEP38ED18AFCCB6,FCH19518KK9,38ED18AFCCB6,+16125551003*
*CP-8851,10.1.75.11,SEPEC1D8BBAE4FA,FCH2142E58K,EC1D8BBAE4FA,+16125551004*
*CP-8851,10.1.75.12,SEP00562BB4D7E2,FCH2026GLG5,00562BB4D7E2,+16125551005*
*CP-8851,10.1.75.15,SEP00A28908726C,FCH2028GYA8,00A28908726C,+16125551006*
*CP-8851,10.1.75.16,SEPF8A5C59F6B04,FCH2102E0MR,F8A5C59F6B04,+16125551007*
*CP-8851,10.1.75.17,SEP00A289087E2C,FCH2028GZLG,00A289087E2C,+16125551008*

*Complete!*

*C:\Users\avhol\Downloads>*

It's not parallel processed, so for very large subnets, with very few
phones, it takes a long time to complete, given all of the timeouts which
need to occur.  If you need to speed it up, just run multiple command
prompt windows for a poor mans version of concurrent processing.



On Wed, Dec 5, 2018 at 1:53 PM Claiton Campos <claitoncampos at gmail.com>
wrote:

> Hey all,
> I have a cucm cluster with 1000 phones registers and i need to collect the
> serial numbers of this phones to make an inventory. How i can collect the
> serial? Using a script via python or SQL command?
>
> Best Regards,
> _______________________________________________
> cisco-voip mailing list
> 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/20181205/ca2dfc10/attachment.html>


More information about the cisco-voip mailing list