Flush the ARP cache on Linux and Windows
Commands to display and flush the ARP table on Linux and Windows.
Commands to inspect and flush the ARP cache (the table that maps IP addresses to MAC addresses) on Linux and Windows.
Linux
# Show the neighbor table
arp -n
arp -a
# Delete one entry
arp -d 192.0.2.10
# Flush all entries (with statistics)
sudo ip -s -s neigh flush all
Windows
netsh interface ip delete arpcache
Further reading
Communication through multiple switches explains how ARP works across switches.