I have Cisco catalyst switch, with many VLANs and address ranges.

How do I find IP addresses connected to the switch that are not Cisco devices?

  • But as a reminder there's always interference.
    – user6030
    Jun 9, 2014 at 15:47
  • You should accept the answer.
    – user36472
    Feb 25, 2019 at 9:42
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Jan 3, 2021 at 4:06

6 Answers 6


Perform a show mac address-table interface <switchport> on the switch that has the device(s) connected to it.

switch#show mac address-table int gi1/0/34
          Mac Address Table

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 132    001b.78d5.a2d7    DYNAMIC     Gi1/0/34

Then go to the router for the VLAN specified in the previous command and perform a show ip arp vlan <vlan#> | include <mac-address>.

router#show ip arp vlan 132 | include 001b.78d5.a2d7
Internet        62   001b.78d5.a2d7  ARPA   Vlan132

That will give you the IP address for the device.

  • In my network I dont have router, communication between VLANs. This Catalyst is my Core swith. I just have multiple VLANs on that switch, a lot of servers, and other smaller Cisco switches connected on that Core switch. I need to see addresses of that servers.
    – John
    Jun 9, 2014 at 11:52
  • I tried that, the commands, on my Core switch, and there was no result. Can I try anything else?
    – John
    Jun 9, 2014 at 11:53
  • @John What model of switch are you using? Are you saying you don't have any interVLAN communication at all or that the devices in each of the VLANs do not communicate outside of their respective VLAN? Jun 9, 2014 at 12:10
  • Model is 4507 R. I dont have any interVLAN communication at all. Machines communicate only in their VLAN, with their server.
    – John
    Jun 9, 2014 at 12:23
  • 1
    @John Do you have access to the server or one of the workstations in each VLAN? You could do a ping sweep and then look in the ARP cache and then compare the MAC addresses you learned from the switch. Jun 9, 2014 at 12:38

If you do not have any Layer 3 interface on the actual VLAN, you won't really be able to see any IPs going on.

One way would be to do port miroring and sniff the packet to see what IP's going through, but it might not give you a complete picture either


Though this is not exactly a solution, you can try

show ip arp inspection log

which will output the contents of the log buffer before the buffer was flashed. If the end device triggered some sort of log event, for instance a DHCP reject, it will be identifiable by looking the log data since the output will display interface, MAC address, and IP address on the same output line.

Once again, this is not a real solution, so be mindful that it may as well not work at all.

edit: sample output from Cisco Catalyst command index pages:

Switch# show ip arp inspection log

 Total Log Buffer Size : 32

 Syslog rate : 10 entries per 300 seconds.

 Interface   Vlan  Sender MAC      Sender IP        Num Pkts   Reason       Time
 ----------  ----  --------------  ---------------  ---------  -----------  ----
 Gi1/0/1       5     0003.0000.d673               5  DHCP Deny    19:39:01 UTC Mon Mar 1 1993
 Gi1/0/1       5     0001.0000.d774               6  DHCP Deny    19:39:02 UTC Mon Mar 1 1993
 Gi1/0/1       5     0001.c940.1111               7  DHCP Deny    19:39:03 UTC Mon Mar 1 1993
 Gi1/0/1       5     0001.c940.1112               8  DHCP Deny    19:39:04 UTC Mon Mar 1 1993
 Gi1/0/1       5     0001.c940.1114               10  DHCP Deny    19:39:06 UTC Mon Mar 1 1993
 Gi1/0/1       5     0001.c940.1115               11  DHCP Deny    19:39:07 UTC Mon Mar 1 1993
 Gi1/0/1       5     0001.c940.1116               12  DHCP Deny    19:39:08 UTC Mon Mar 1 1993
  • 1
    Add SHOW IP DHCP SNOOPING BINDING. If DHCP Snooping is enabled (and it should be ;) it'll give you a list of clients that requested address from DHCP server. Caveat Emptor: this doesn't cover clients with static IP.
    – vhu
    Jun 19, 2014 at 7:21

If port security is on you can do what David suggested and do show ip device tracking but instead of all, do mac xxxx.xxxx.xxxx to get the ip of just that device


Show Lldp neighbors if you have lldp enable on both devices you should be able to enable that but usually a show cdp neoghbors shows more than only cisco devices

  • ... only if non-cisco device do support CDP, which often is not the case. Apr 8, 2019 at 6:21
  • Yes, LLDP should be run on both the device. in order to get the ip address of the peer device you should run "show lldp neighbors detail " Apr 19, 2019 at 14:06

The IP Device tracking feature will enable your switch to snoop arp packets, once enabled the command:

show ip device tracking all

will contain a list of all learned devices and the associated IP addresses

  • 2
    Only works if port security is on
    – Ron Trunk
    Jun 9, 2014 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.