Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Ip to port location

I have 2950 switches. There is an suspicious ip address on my network that I would like to track down. Is there a way to look at the switching tables and determine what port a specific IP address is connected to?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Ip to port location

ok first your gonna need the MAC address of the device as the 2950 is Layer 2 device. To do this ping the suspect IP address and check the arp table, To do this in windows issue an "arp -a" from a command prompt.

Once you have the MAC address you can then check out the MAC swithcing table on the switch with

show mac-address-table

or even

show mac-address-table | inc XXXX.YYYY.ZZZZ

or

show mac-address-table address XXXX.YYYY.ZZZZ

depending on IOS version. This will show you which port this mac is associated with.

HTH,

ACW.

3 REPLIES
New Member

Re: Ip to port location

ok first your gonna need the MAC address of the device as the 2950 is Layer 2 device. To do this ping the suspect IP address and check the arp table, To do this in windows issue an "arp -a" from a command prompt.

Once you have the MAC address you can then check out the MAC swithcing table on the switch with

show mac-address-table

or even

show mac-address-table | inc XXXX.YYYY.ZZZZ

or

show mac-address-table address XXXX.YYYY.ZZZZ

depending on IOS version. This will show you which port this mac is associated with.

HTH,

ACW.

New Member

Re: Ip to port location

Thanks for the reply. Worked great and found the machine.

Re: Ip to port location

http://kb.packetpros.com/kb.asp?a=show&ID=16

I can't post the actual, it's too big.

116
Views
0
Helpful
3
Replies
CreatePlease to create content