Difference between revisions of "Arp (command)"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/arp.8.html
(36 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>[[wikipedia:arp|arp]]</code> displays or | + | <code>[[wikipedia:arp|arp]]</code><ref>http://man7.org/linux/man-pages/man8/arp.8.html</ref> command displays or modify [[IP]] to [[MAC]] translation table used by the [[Address Resolution Protocol (ARP)]] |
== Linux commands == | == Linux commands == | ||
− | * View ARP Cache: <code>arp -a</code> | + | * View ARP Cache: |
− | * Delete an ARP entry: <code>arp -d 192.168.0.1</code> | + | ** <code>arp -a</code> |
+ | ** <code>[[arp -an]]</code> (Linux, MacOS) | ||
+ | ** <code>cat [[/proc/net/]]arp</code> | ||
+ | * Delete an ARP entry: | ||
+ | ** <code>arp -d 192.168.0.1</code> | ||
+ | * Set ARP entry: | ||
+ | ** <code>arp -s address hw_addr</code> | ||
== Windows commands == | == Windows commands == | ||
− | * Clear ARP Cache: <code>arp -d</code> | + | * Clear ARP Cache: |
+ | ** <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 == | ||
− | * | + | * {{ARP}} |
− | * | + | * {{ethernet}} |
− | + | * {{Networking}} | |
[[Category:Networking]] | [[Category:Networking]] | ||
+ | [[Category:Linux commands]] |
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:
arp -a
arp -an
(Linux, MacOS)cat /proc/net/arp
- Delete an ARP entry:
arp -d 192.168.0.1
- Set ARP entry:
arp -s address hw_addr
Windows commands[edit]
- Clear ARP Cache:
Cisco IOS[edit]
Related terms[edit]
ip -s neighbor list
ip link set arp off dev eth0; ip link set arp on dev eth0
/proc/sys/net/ipv4/route/gc_timeout
See also[edit]
- Address Resolution Protocol (ARP):
arp (command)
,arping
, arp spoofing, MAC, CAM,show ip arp
, ARP table, Proxy ARP, Address - Ethernet: MII, MDI, bonding, etherchannel, STP, ARP, MAC, STP, Jumbo frames, 802.1X, MTU, Ethernet In-Band Access (IBA), LACP, Multicast, Broadcast, SPI
- Networking: bandwidth, latency, Jitter, Ethernet, UPnP, MPLS, Frame Relay, ATM, TCP/IP, ARP, WiFi, BGP, Networking timeline, Router, Proxy ARP, Services & Networking, Traffic shapper
Advertising: