HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
a
arp(1M) arp(1M)
NAME
arp - address resolution display and control
SYNOPSIS
arp hostname
arp -a[n] [system][core]
arp [-d | -D] hostname
arp -f filename
arp -s hostname hw_address [temp][
pub][rif rif_address]
arp -sfc hostname nport_id
DESCRIPTION
The arp command displays and modifies the Internet-to-Ethernet and Internet-to-Fibre Channel address
translation tables used by the Address Resolution Protocol (ARP).
Options
arp has the following keyletter options:
hostname (first form above) Display the current ARP entry for hostname, which must appear in the
hostname database (see hosts(4)), or for the DARPA Internet address expressed in Internet
standard "dot" notation.
-a[n] Display all current ARP entries by reading the table from file core (default /dev/kmem)
based on the kernel file system (default
/stand/vmunix
). The -an option provides the
same information as the
-a option except that network addresses are not displayed sym-
bolically.
-d If an ARP entry exists for the host called hostname, delete it. This option cannot be used to
delete a permanent ARP entry whose IP address is an interface on the local system.
-D (Not recommended). Delete a permanent ARP entry whose IP address is an interface on the
local system. The removal of such an ARP entry may result in loss or limitation of network
connectivity with remote machines. The local system will no longer respond to ARP
requests for this IP address. Consequently, communication with remote systems is possible
only when that communication is initiated by the local system. This option should be used
with extreme caution.
-f Read file filename and set multiple entries in the ARP tables. Fibre Channel entries in the
file should be of the form:
-sfchostname nport_id
Other entries in the file should be of the form:
hostname hw_address
[temp]
[pub]
[rif
rif_address ]
The argument meanings are the same as for the -s option.
-s Create an ARP entry for the host called hostname with the hardware station address
hw_address. The hardware station address is given as six hexadecimal bytes separated by
colons. If an ARP entry already exists for hostname, the existing entry is updated with the
new information.
The entry is permanent unless the word temp is given in the command.
If the word pub is specified, the entry is published, which means that this system will act
as an ARP server responding to requests for hostname even though the host address is not
its own.
The word rif specifies source routing information used for token ring networks. This
information allows you to specify the particular bridge route which the token ring packet
should be delivered. rif_address is given as an even number of hexadecimal bytes
Section 1M−−44 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005