how to determine host ip that is connected to switch?

Unanswered Question
Jun 16th, 2010
User Badges:

Hi,


I have a Cisco 4000 CatOS switch.  I ran "show cam dynamic" and  it listed the MAC of the servers connected to the switch. Is there a command that will show the ip address or a way that i can use the mac address to determine the respective ip address?


thanks,

ricardo

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Ganesh Hariharan Wed, 06/16/2010 - 21:54
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

Hi,


I have a Cisco 4000 CatOS switch.  I ran "show cam dynamic" and  it listed the MAC of the servers connected to the switch. Is there a command that will show the ip address or a way that i can use the mac address to determine the respective ip address?


thanks,

ricardo

Hi Ricardo,


Show arp is the command which will tell you the assoiciated ip with mac in interface .


Hope to Help !!


Ganesh.H


Remember to rate the helpful post

glen.grant Thu, 06/17/2010 - 05:22
User Badges:
  • Purple, 4500 points or more

  If you have multiple vlans on the switch the show arp won't help.  You would have to compare the cam listing on the catos device to the layer 3 routing device arp table to resolve them .  If its a single vlan on the switch and the management address is in the same address space then you can look at the arp table .  A cat 4000 is a layer 2 only device so the arp table can only be used if the management interface (SC0) is in the same address space.

Actions

This Discussion