Home
> Commands A-M
> Commands A
ARP
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Displays and modifies the IP-to-Ethernet or token ring physical
address translation tables used by the Address Resolution Protocol
(ARP). This command is available only if the TCP/IP protocol has
been installed.
Syntax
ARP
/?
ARP
[-a
| -g]
[inet_address]
[-N
[if_address]]
ARP
-d
inet_address
[if_address]
ARP
-s
inet_address
ether_address
[if_address]
Parameters
- ether_address
(NT3.1)
- Specifies a physical address.
- if_address
(NT3.1)
- Specifies, if present, the IP address of the
interface whose address translation table should be
modified. If not present, the first applicable interface
is used.
- inet_address
(NT3.1)
- Specifies an IP address in dotted decimal notation.
Switches
- /?
(NT2000)
- Display help.
- -a
(NT3.1)
- -g
(NT3.1 ONLY)
- Displays current ARP entries by querying TCP/IP.
If inet_addr is specified, only the IP and physical
addresses for the specified computer are displayed.
- -d
(NT3.1)
- Deletes the entry specified by inet_addr.
- -N
(NT3.1)
- Displays the ARP entries for the network interface
specified by if_addr.
- -s
(NT3.5)
- Adds an entry in the ARP cache to associate the IP
address inet_addr with the physical address ether_addr.
The physical address is given as 6 hexadecimal bytes
separated by hyphens. The IP address is specified using
dotted decimal notation. The entry is permanent, that is,
it is automatically removed from the cache after the
time-out expires.
Related
SCHTASKS
Notes
none.
Examples
Display the ARP cache tables for all interfaces:
arp -a
Display the ARP cache table for the interface that is
assigned the IP address 10.0.0.99:
arp -a -N 10.0.0.99
Add static ARP cache entry that resolves the IP
address 10.0.0.80 to the physical address
00-AA-00-4F-2A-9C:
arp -s 10.0.0.80 00-AA-00-4F-2A-9C
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT3.1
NT3.5
NT3.51
NT4
NT2000
NTXP
NT2003
Last Updated: 2006/12/01
Direct corrections or suggestions to:
Rick Lively