Syntax
ARP[-[Inetaddr] [-NIfaceaddr] [-G[Inetaddr] [-NIfaceaddr]
[-D INetaddr[Ifaceaddr] [-SInetaddr etheraddr[Ifaceaddr]
Table 12.1 provides the meanings of the ARP Command Options.
Table12.1arp Command Option
Option |
Description |
-[Inetaddr] [-NIfaceaddr] |
Displays the current ARP cache table for all interfaces. To display ARP cache items for a specific IP address, useInetaddrParameterARP-,InetaddrRepresents the IP address. If not specifiedInetaddr, The first applicable interface is used. To display the ARP cache table for a specific interface, Set-NIfaceaddrParameters and-Parameters are used together.IfaceaddrIndicates the IP address assigned to this interface.-NThe parameters are case sensitive. |
-G[Inetaddr] [-NIfaceaddr] |
And-Same. |
-DInetaddr[Ifaceaddr] |
Delete the specified IP address.InetaddrRepresents the IP address. To delete an entry in a table for the specified interface, useIfaceaddrParameter.IfaceaddrIndicates the IP address assigned to this interface. To delete all items, use the asterisk (*) wildcard instead.Inetaddr. |
-SInetaddr etheraddr[Ifaceaddr] |
Add an IP address to the ARP cacheInetaddrResolved to a physical addressEtheraddr. To add a static ARP cache entry to the table of the specified interface, useIfaceaddrParameter.IfaceaddrIndicates the IP address assigned to this interface. |
/? |
Display help at a command prompt. |
Windows:
Add a static ARP table to the ARP-s IP Mac;
ARP-A: view the ARP table of the current host.
No RARP command.
Linux:
ARP | grep IP/MAC;
RARP .....