[cisco-voip] How can I check to see if a PC is connected to 7900 series phone?

Wes Sisk wsisk at cisco.com
Wed Apr 10 16:12:00 EDT 2013


Or, using a bit more set theory - 

* get mac address table and cdp neighbor data from every switch
* if a port has a phone AND that port has 2 learned mac addresses then the attached phone has a device connected to the access port.

Alternatively, check the status of the access port on the phone web page.

-wes

On Apr 9, 2013, at 6:18 PM, Stephen Welsh <stephen.welsh at unifiedfx.com> wrote:

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

<image003.png>

On 9 Apr 2013, at 18:59, Wes Sisk <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> 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
> 
> <image003.png>
> 
> 
> 
> On 8 Apr 2013, at 16:50, "Madziarczyk, Jonathan" <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
>> https://puck.nether.net/mailman/listinfo/cisco-voip
> 
> <PhoneViewData_Sample.xlsx>_______________________________________________
> 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/20130410/67d4186a/attachment.html>


More information about the cisco-voip mailing list