Article Overview

To perform an ARP lookup on a core switch, use the switch's ARP table to map IP addresses to MAC addresses, then correlate with the MAC address table to identify physical ports.

Understanding ARP and MAC Tables

  • ARP Table: Populated on Layer 3 interfaces, it maps IP addresses to MAC addresses. It is built when the switch or router communicates with devices in its subnet or receives traffic from them .
  • MAC Address Table: Populated on Layer 2 interfaces, it maps MAC addresses to physical switch ports. It is built as frames are received on the switch ports . A core switch that performs Layer 3 routing will maintain an ARP table for its VLAN interfaces, but may not automatically have all MAC addresses of connected hosts unless traffic has passed through it .

Commands for ARP Lookup

  1. View ARP Table:

    show ip arp This displays IP-to-MAC mappings for devices the switch has communicated with .

  2. View MAC Address Table:

    show mac address-table This shows which MAC addresses are associated with which physical ports .

  3. Correlate IP to Port:
    • First, find the MAC address of the IP in the ARP table.
    • Then, locate that MAC in the MAC address table to determine the switch port .

Forcing ARP Discovery

  • Ping devices in the subnet from the switch management interface to populate ARP entries. Only active hosts will appear in the ARP table .
  • Proxy ARP can be enabled with:

    ip proxy-arp to allow the switch to respond to ARP requests on behalf of other devices .

  • Tools like nmap followed by arp -an can also help discover active hosts and populate the ARP table .

Notes and Best Practices

  • Only managed switches with a Layer 3 interface can maintain an ARP table. Unmanaged switches cannot be queried for ARP entries .
  • ARP entries have a timeout (commonly 4 hours on Cisco devices), after which they are removed unless refreshed .
  • For mapping IP addresses to switch ports in VLANs, ensure the switch has an IP address configured in the same VLAN as the devices . By combining the ARP table and MAC address table, network administrators can effectively identify which devices are connected to which ports on a core switch and troubleshoot connectivity issues.

IP Addressing: ARP Configuration Guide

Perform the following tasks to clear the Address Resolution Protocol (ARP) cache of entries associated with an

Checking the ARP Table in Linux: A Comprehensive Guide

Understanding how to check the ARP table in Linux is essential for network troubleshooting, security auditing, and

Checking network connections with arp and ip neigh

Both arp and ip neigh are great commands for displaying information on local systems. Being able to check

How To: Extreme

How to Configure Extreme switch / router as IP Helper using SSH / Telnet and multiple commands to fetch ARP table information as

ExtremeSwitching 200 Series: Administration Guide

ARP Table Configuration Use the ARP Table Configuration page to change the configuration parameters for the Address Resolution

show arp | Junos OS | Juniper Networks

Display all entries in the Address Resolution Protocol (ARP) table. To display entries for a particular logical system

Catalyst 6500/6000 Switches ARP or CAM Table Issues Troubleshooting

This document provides information on how to troubleshoot Address Resolution Protocol (ARP) or Content

Viewing the IP ARP Table

To view the IP ARP table entries and configuration, use the show iparp command.

show arp

show arp show arp counters vlan <vlanid> Description This command show Address Resolution Protocol (ARP) entries for the

How to get ARP table of a switch through command line interface?

Are you specifically looking for an ARP table, and not the bridge MAC table? Most switches won''t have anything more

Solved: show arp vs show mac-address-table

Solved: show arp vs show mac-address-table I am using GNS3. For switch, I am attaching switch 16 module for

How to Check ARP Table Cisco Switch? Why Is It Your Network

Connect to your Cisco switch via console, SSH, or telnet. The go-to command is show arp in privileged EXEC mode (enable first).

IP Addressing: ARP Configuration Guide, Cisco IOS XE Release 3SE

IP Addressing: ARP Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)

The ARP table on a Cisco router

This article describes the Address Resolution Protocol (ARP) table on a Cisco router. The ARP table fields are also explained in this

Command Reference

With CIM Cisco Internetworking Basics, you can gain a practical understanding of the fundamental technologies, principles, and

arp Command Cheatsheet

The Linux arp command is used to view and manipulate the system''s Address Resolution Protocol (ARP) table. This table maps IP

Mapping out network interfaces using mac-addr-table, arp, and

Basically determine what each port is connected to, for the entire core and distribution layer of this network topology. To do this, I''ve

Fix ARP Table Issues: Step-by-Step Guide

ARP table issues can lead to network connectivity problems, packet loss, slow performance, or even security vulnerabilities like ARP

Verify Nexus 9000 Series ARP and MAC Table Sync Behavior

This document describes a specific synchronization behavior observed in the ARP and MAC address tables of Cisco

What is an ARP (Address Resolution Protocol) Table?

An ARP table is composed of devices'' IP and MAC addresses. The ARP table is built from the replies to the ARP

How To Force Arp Discovery On Cisco Switch

When assessing the core switch connected to 13 edge switches and executing the “show

ExtremeSwitching 200 Series: Command Reference Guide

show arp switch This command displays the contents of the switch''s Address Resolution Protocol (ARP) table.

So nutzen Sie den ARP-Cache für die Netzwerkdiagnose

Mit ARP können Admins wichtige Informationen im Netzwerk sammeln und zur Diagnose nutzen. Das funktioniert für

ARP Table Explainer

Video: ARP Explained Related Tools & Guides Frequently Asked Questions ARP Table Explainer Understand how the Address

show arp

This command displays information about ARP entries, including the IP address, MAC address, port, and state. When no parameters

Core switch not generating arp requests in response to ping

There is no communication with the device until you ping it from the core switch. My theory is that the core switch is not

Solved: show arp vs show mac-address-table

You and I are mostly in agreement - the ARP table on a layer 2 switch is not a good way to find what is connected to

Showing ARP table information

When you use the interface parameter with the show ip arp command you can display ARP configuration information only for a

Troubleshooting with ARP Information

At the most basic, ARP information helps identify which devices are physically connected to the router and their associated IP

Related Resources

Ready to Equip Your Data Center?

Request a free quote for 19″ server racks, open frame racks, AI high-density cabinets, intelligent PDUs, environment monitoring, asset tracking, or modular rack systems. EU‑owned German factory – reliable, scalable, and cost‑effective infrastructure for your IT equipment.