Difference between revisions of "Arp (command)"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
* Set ARP entry:
 
* Set ARP entry:
 
** <code>arp -s address hw_addr</code>
 
** <code>arp -s address hw_addr</code>
 
== Related terms ==
 
* <code>[[/proc/sys/net/]]ipv4/route/gc_timeout</code>
 
  
 
== Windows commands ==
 
== Windows commands ==
 
* Clear ARP Cache:  
 
* Clear ARP Cache:  
 
** <code>[[arp -d]]</code>
 
** <code>[[arp -d]]</code>
 +
 +
== Cisco IOS ==
 +
* <code>[[show arp]]</code>
 +
* [[show mac-address-table]]
 +
 +
== Related terms ==
 +
* <code>[[ip]] -s neighbor list</code>
 +
* <code>[[ip link]] set arp off dev eth0; ip link set arp on dev eth0</code>
 +
* <code>[[/proc/sys/net/]]ipv4/route/gc_timeout</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 11:39, 21 April 2021

arp[1] command displays or modify IP to MAC translation table used by the Address Resolution Protocol (ARP)


Linux commands[edit]

  • View ARP Cache:
  • Delete an ARP entry:
    • arp -d 192.168.0.1
  • Set ARP entry:
    • arp -s address hw_addr

Windows commands[edit]

Cisco IOS[edit]

Related terms[edit]

See also[edit]

  • http://man7.org/linux/man-pages/man8/arp.8.html
  • Advertising: