Switch ports ip map

Unanswered Question
Jul 26th, 2007
User Badges:

I have cisco catalyst 3500 XL series 24 ports switch. I need which port connected a device and what is ip and mac address of these devices. Is is possible?


I use show mac-address-table for mac addresses. And i use show arp fro ips. But sometime show arp doesn't work. How can i do this? is it possible???

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Thu, 07/26/2007 - 03:57
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


Which device is doing the Layer 3 routing for the pc's connected to the switch. This is where you need to run the "sh arp"


Jon

baranmehmet884 Thu, 07/26/2007 - 04:43
User Badges:

i know but sh arp doesn't working enough. Sometime i can see a mac address in "show mac-address-table".but i can't find a ip for this mac address in "show arp". what is the reason of this? is it about security settings?

ankbhasi Thu, 07/26/2007 - 05:51
User Badges:
  • Cisco Employee,

Hi Friend,


sh arp on switch may not alawys show you ip address for learned mac address because l2 switch is not talking to the machines at IP layer.


Try pinging from switch to that machine and see if that is learned. Or else go to the first L3 hop for machines and try initiating ping from that device to thos emachines and arp entry will be populated.


HTH


Ankur


*Pls rate all helpfull post

baranmehmet884 Thu, 07/26/2007 - 08:30
User Badges:

Thanks for help! I don't know the devices ips. i want to learn them. And I only have mac addresses. I know i can use shwo arp after ping the ips. But there is so much devices and their ips are dinamyc. So i can't ping over ips. I must find another way. Thanks again.

Actions

This Discussion