Question Locked

Tracing Ip address to a port on cisco switch ?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Tracing Ip address to a port on cisco switch.

4 replies

by netman1958

form a workstation, ping the ip address. Then open a command prompt and run "arp -a".
Look for the ip address in the output and write down the corresponding mac address.
convert the mac address to this format xxxx.xxxx.xxxx so that this:
00-15-17-63-cf-dc
becomes
0015.1763.cfdc
Then telnet to the switch and run:
sh mac-address-table | include 0015.1763.cfdc
That should return something like this:
* 10 0015.1763.cfdc dynamic Yes -- Gi2/1
where Gi2/1 is the port.

by tecmjl1981

Assuming you have the IP address and the node is online, go to EXEC mode and ping the ip address;
ping xxx.xxx.xxx.xxx
Once the ping is successful you can type: show IP arp.

This will bring up the ARP table, you can find the IP address and locate the mac address next to it. Once you have that you can type:
Show mac-address address {address of MAC in xxxx.xxxx.xxxx format).

Once you issue that command it will give you information about that MAC including the switchport it is connected to.

This discussion is closed to new replies.