HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

arp — Show and manipulate your system's ARP cache. More information: <https://manned.org/arp.8>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandshowandarpmanipulatecliyoursystem

Problem

How to use the arp command: Show and manipulate your system's ARP cache. More information: <https://manned.org/arp.8>.

Solution

arp — Show and manipulate your system's ARP cache. More information: <https://manned.org/arp.8>.

Show the current ARP table:
arp


Show [a]lternative BSD style output format with on fixed columns:
arp -a


[d]elete a specific entry:
sudo arp -d {{address}}


[s]et up a new entry in the ARP table:
sudo arp -s {{address}} {{mac_address}}

Code Snippets

Show the current ARP table

arp

Show [a]lternative BSD style output format with on fixed columns

arp -a

[d]elete a specific entry

sudo arp -d {{address}}

[s]et up a new entry in the ARP table

sudo arp -s {{address}} {{mac_address}}

Context

tldr-pages: common/arp

Revisions (0)

No revisions yet.