Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Re: Sh mac Address-table

Does anyone remember the command to identify an ip address via mac on a host. I would like to be able to find the port and ip address information using the mac address on a 6513.

thanks.

4 REPLIES
Silver

Re: Re: Sh mac Address-table

U can check the ARP table with the MAC Address but of course in which case the VLAN has to be a Layer 3 VLAN and provided there is an ARP entry for that IP

Re: Re: Sh mac Address-table

Hi,

As such there is not command to get the host IP address via its MAC. If you try to ping a host on the switch, only the host maintains the arp cache not the switch. On a windows host do arp -a to get the arp cache. There is no command on switch to get that.

You can use a freeware tool "ccgetmacaddress ", whihc will give you the IP of teh host using the mac-address.

regards,

-amit singh

Community Member

Re: Re: Sh mac Address-table

you can use the command

show mac-address-table | inc xxxx.xxxx.xxxx

where xxxx.xxxx.xxxx is the mac address of the machine to get the port details on the switch. u can also use

show arp | inc xxxx.xxxx.xxxx

Incase, your switch can access that machine, then you should be able to get the IP address also.

Regards,

Naveen B

Community Member

Re: Re: Sh mac Address-table

Thank you very much! the Sh arp | inc is what I was looking for.

186
Views
8
Helpful
4
Replies
CreatePlease to create content