ip-neighbor
Neighbor/ARP/NDP tables management IP subcommand. tldr-pages
On Linux
Linux
Display the neighbor/ARP table entries
ip [nIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Remove entries in the neighbor table on device ethX
sudo ip [n [f dev ethXIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Perform a neighbor lookup and return a neighbor entry
ip [n [g lookup_ip dev ethXIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Add or delete an ARP entry for the neighbor IP address to ethX
sudo ip [n add ip_address lladdr mac_address dev ethX nud reachableIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Change or replace an ARP entry for the neighbor IP address to ethX
sudo ip [n change ip_address lladdr new_mac_address dev ethXIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Display only IPv6 or IPv4 neighbors
ip -6 [nIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community