Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Get IP of PC on PC Port ??

I'm building an application to list phones, the phone's IP address and the IP address of the PC that's on the phone's PC port. (We use 7940s and 7960s). I'm using DeviceListX.asp to pull phone IPs and AXL to get other phone details.

I'm now trying to figure out how to get the PC's IP address. My software can't log into routers or switches, so pulling arp tables and mac-address tables to cross-reference is NOT an option.

I was hoping I could hit the web server on each phone to pull the info from the Network Config page:

http://<ip address of 7940>/PortInformation?2

However the IP address for the PC Port is always blank:

overflow Drop 0

Neighbor Device ID

Neighbor IP Address

Neighbor Port

Port Information Full, 100

(It's never blank for the Network or Phone page though.)

Is there ANY way to enable/configure the phone to "pull" or "find" the IP address of the PC Port??

Anyone know why it's always blank?

Is there any other command I can issue on the phone that could pull this?



  • Other Collaboration Voice and Video Subjects

Re: Get IP of PC on PC Port ??

It gets that info from CDP. Since PC isn't doing CDP the phone doesn't know. You could go to the switch and look at the CAM/MAC-address-table for that port and do a ARP to get IP address of MAC address.