Technical data

arp
Examples
The following examples show how to use the
arp
command.
1.
TCPIP> arp -a
a71kt.lkg.dec.com (10.10.2.1) at aa-00-04-00-71-f8 stale
v71kt.lkg.dec.com (10.10.2.3) at aa-00-04-00-70-f8 stale
v72kt.lkg.dec.com (10.10.2.4) at aa-00-04-00-6d-f8
tlab9.lkg.dec.com (10.10.2.11) at aa-00-04-00-42-11
timber.lkg.dec.com (10.10.2.14) at aa-00-04-00-c9-f8
This example shows how to display the ARP address-mapping tables for the
local host.
2.
TCPIP> arp -a -i
a71kt.lkg.dec.com (10.10.2.1) at aa-00-04-00-71-f8 stale (WE0)
v71kt.lkg.dec.com (10.10.2.3) at aa-00-04-00-70-f8 (WE0)
v72kt.lkg.dec.com (10.10.2.4) at aa-00-04-00-6d-f8 stale (WE0)
tlab9.lkg.dec.com (10.10.2.11) at aa-00-04-00-42-11 (WE0)
timber.lkg.dec.com (10.10.2.14) at aa-00-04-00-c9-f8 (WE0)
This example shows how to display the ARP address-mapping tables for the
local host and the interface.
3.
TCPIP> arp -s laszlo 08:00:2b:0f:44:23 temp
This example shows how to add a single entry for the remote host
laszlo
to
the ARP mapping tables temporarily. The address is considered canonical
even though the bytes are separated by colons. For input, the
arp
command
does not use the colon (:) and hyphen (-) characters to indicate whether the
address is canonical or noncanonical. You must have system privileges to
execute this command.
4.
TCPIP> arp -u -s laszlo 10:00:d4:f0:22:c4 temp
This example shows how to add a single entry for the remote host
laszlo
to the
arp
mapping tables temporarily. The
-u
flag indicates the address is
noncanonical. You must have system privileges to execute this command.
5.
TCPIP> arp -f newentries
This example shows how to add multiple entries to the ARP mapping tables
from a file named
newentries
. You must have system privileges to execute
this command.
A–4 Troubleshooting Utilities Reference