[cisco-voip] How can I check to see if a PC is connected to 7900 series phone?
Stephen Welsh
stephen.welsh at unifiedfx.com
Tue Apr 9 18:18:59 EDT 2013
Hi Wes,
Yes, out of the 'box' PhoneView queries the "network" page on all IP Phones in a cluster(s) so the 99% scenarios is covered. If there are a number of PC's with Cisco software installed that broadcast CDP data then we could easily extend PhoneView to also gather the CDP data from the "access" page too.
Based on Jonathan's original question if it's just MAC addresses per port then a SNMP table query on each access switch to get the phone's mac address and all devices connected behind it:
https://supportforums.cisco.com/thread/2106563
Alternatively a favourite switch feature of mine (if available) is 'ip device tracking':
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_55_se/command/reference/cli1.html#wpmkr13241721
Thanks
Stephen Welsh
CTO
[cid:CBBF0493-235C-43D2-A874-9FB3D95AF598 at b2.unifiedfx.com]
On 9 Apr 2013, at 18:59, Wes Sisk <wsisk at cisco.com<mailto:wsisk at cisco.com>>
wrote:
CDP is *generally* only going to come from the switch. The "network" and "access" web pages from the phone show the connection status of the respective ethernet interfaces on the phone. Does UnifiedFX have access to this information via any existing vehicle?
-wes
On Apr 8, 2013, at 3:16 PM, Stephen Welsh <stephen.welsh at unifiedfx.com<mailto:stephen.welsh at unifiedfx.com>> wrote:
Hi Jonathan,
As some others have stated you can get details about device connectivity using CDP, this is either from each switch using command line or SNMP. Alternatively you can query the IP Phone(s) web-server.
When querying the IP Phone web-server the following URL gets the switch port details:
http://[Phone IP]/PortInformationX?port=0
An extract of the XML response includes the following:
<CDPNeighborDeviceId>UFXB2SW1</CDPNeighborDeviceId>
<CDPNeighborIP>10.1.25.254</CDPNeighborIP>
<CDPNeighborIPv6/>
<CDPNeighborPort>GigabitEthernet0/6</CDPNeighborPort>
In-fact you can actually get CDP data for the PC Port too:
http://[Phone IP]/PortInformationX?port=1
Note: Technically if you have a Cisco product installed on your PC's like VT Advantage or IP Communicator, the PC will advertise CDP to the phone, so it may be possible to gather some PC related information too ;)
In order to gather and collate all this data it can be a bit of a challenge, happy to discuss the technicalities in more detail if you are looking to pull this together yourself.
Because gathering asset and inventory data is a common requirements there are multiple 3rd Party products/tools that can do this, obviously each have their pros\cons (i.e. limited phone model support, single purpose tool etc.) so you probably have some research to do ;)
In terms of UnifiedFX we have a product called PhoneView the most advanced endpoint management product available that can do literally anything with one, many or all your phones remotely, a bold claim but we are happy to stand by it ;)
In your case one of the features is gathering and exporting a whole range of phone/user data from CUCM/Phones (including CDP data), I've attached a small sample spreadsheet to give you an idea of some of the information available. We value customer feedback, if there is anything not in there that we can obtain through our existing interactions we will happily add it in.
You can download PhoneView for Free, it's limited to 50 Phones but has most of the features enabled, if you need to try on more than 50 phones you can request a trial here:
http://www.unifiedfx.com/phoneview/trial
We are working hard on some more unique features and additional free functionality in our next release (3.1), if you register on our website you'll be notified with the details when it's ready.
Kind Regards.
Stephen Welsh, CCIE #12345
CTO
http://www.unifiedfx.com<http://www.unifiedfx.com/>
<image003.png>
On 8 Apr 2013, at 16:50, "Madziarczyk, Jonathan" <jmad at cityofevanston.org<mailto:jmad at cityofevanston.org>>
wrote:
I’m trying to do a rough inventory of PCs/network devices on one of our sites, I can easily see which ports are in use on my switches (show ip interface brief). However a number of those devices are 7900 series phones, and I’m looking for an easy way to find out if they have PCs connected to them.
And if possible, there’s a couple of phones that have switches connected to the PC port and I’d like to see how many devices (mac addresses) are behind those phones too.
Suggestions?
_______________________________________________
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
<PhoneViewData_Sample.xlsx>_______________________________________________
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/20130409/2d219614/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1364 bytes
Desc: image003.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20130409/2d219614/attachment.png>
More information about the cisco-voip
mailing list