Is there a command in a Cisco Catalyst (in the 2950 and 3548 series) that will tell me the IP address of the PC...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
hanging off a particular port? I cannot use a sniffer on the network. The network is remote to me. I am using SecureCRT, and I log into the Cisco.
A single command won't tell you these things. From what I gather you don't have a lot of access to manage and configure the switches but you are able to view the route and ARP tables in the switches and routers.
Just a note, there are several tools available that utilize SNMP discovery to automate this process for you. You might want to investigate these if you have SNMP access to the switches and routers. In fact, Cisco wrote a fairly good article on how to accomplish this with SNMP: How to get MAC and IP address accounting information using SNMP.
Now to address your question from the CLI, it's a multi-step process. Because the Catalyst switches are Layer 2 switches, they operate mostly on MAC addresses. Therefore you would need the default gateway router to identify the MAC address of the IP in question. The show ARP command on a Cisco router will output the IP address and MAC address. You want to use the show ARP
Once you have identified the MAC address you can then identify the port it's attached to on the switch by using a show CAM dynamic or show MAC command. Thus, SNMP is probably the easiest way for you to obtain what you need. Let me know if you want some recommendations on SNMP products for network discovery.
Dig Deeper on IP Networking
Related Q&A from Lindi Horton
Lindi Horton explains how to provide the fastest Internet sharing speed to a client when many users are trying to access the internet as well as ...continue reading
Network Administration expert, Lindi Horton provides her expertise on advantages of DNS, and provides an example of a reliable and flexible DNS ...continue reading
Network administration expert, Lindi Horton answers a query regarding file server troubleshooting. She explains potential reasons for file server ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.