I am trying to find out on which port <targetIP> is connected to. I know there may be a hub between the switch port and the <targetIP>.
From my Telnet-session-6509, I do:
I got responses OK for both, traceroute shows only 1 line, which is the <targetIP>. That means there is no router on the way.
Then I do:
#show mac-address-table | include <targetIP>
I've got no output.
Can someone tell me what I am missing? I see that the show mac-address-table | include <targetIP> doesn't show a mac address entry associated with this(in which table I could use to see the respective switch port traffic is flowing). I thought that when getting the ICMP replies from <targetIP> the switch would record the MAC address in the CAM table.
Can you please let me know how I can find out in which switch port this respective -> Possible Hub--> <targetIP> is plugged into?
The switch should record the mac-address in the CAM table. Is this the command you used
#show mac-address-table | include
because the mac-address table does not include IP addresses.
You need to do this
2) sh arp | include
From the above command you should be able to get the mac-address
3) sh mac-address-table address "mac-address"