Locate a computer/server/printer in a cisco environment

At work I was recently assigned some more network related task.
One of the task I fine myself repeating over and over is locating a computer on the network. The only info you need is the ip-address of the computer.

This is how I do it:
1. Telnet core switch
2. show ip arp | include <ip-address>
This gives me the mac address of the computer
3. show mac address-table address <mac address>
This shows what port the computer is behind
4. show cdp neighbors <port on core>
This shows the name of the switch that is connected on that port
5. Telnet to that switch
6. Repeat step 3-5 until step 4 returns no switches, that means the computer is directly connected to that port!

Category(s): Cisco, Network
Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.