arp(1M)
NAME
arp − address resolution display and control
SYNOPSIS
arp hostname
arp -a [system] [core]
arp -d hostname
arp -f filename
arp -s hostname address [temp] [pub] [trail] [rif rif-address]
arp −sfc hostname nport_id [ipa ipa_value]
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:
none (first form above) Display the current ARP entry for hostname, which must either appear in the hostname database (see hosts(4)), or be a DARPA Internet address expressed in Internet standard "dot" notation.
-a Display all current ARP entries by reading the table from file core (default /dev/kmem) based on the kernel file system (default /stand/vmunix).
-d If an ARP entry exists for the host called hostname, delete it.
-f Read file filename and set multiple entries in the ARP tables. Fibre Channel entries in the file should be of the form:
-sfc hostname nport_id
Other Entries in the file should be of the form:
hostname address [temp] [pub] [trail] [rif rifAddress]
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 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 trail indicates that trailer encapsulations can be sent to this host.
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 separated by colons, up to a maximum of 16 bytes.
−sfc Create a permanent ARP entry for the Fibre Channel host called hostname with the N_Port address nport_id. The N_Port address is given as three hexadecimal bytes separated by colons. If an ARP entry already exists for hostname, the existing entry is updated with the new information. The word ipa specifies the Initial Process Associator value for Fibre Channel nodes. This information allows a user to specify the particular process which the Fibre Channel packet should be delivered to within a Fibre Channel node. ipa_value is given as four hexadecimal bytes separated by colons. The default value for ipa_value is zero. This value is not required for HP-to-HP communications. This option is applicable and only valid on HP 9000 systems with Fibre Channel Links.
You need superuser privilege to use the -d, -f, -s and -sfc options.
WARNINGS
HP 9000 systems can receive trailer packets but do not send them. Setting the trail flag has no effect.
AUTHOR
arp was developed by the University of California, Berkeley.
SEE ALSO
ifconfig(1M), lanconfig(1M), inet(3N), hosts(4), arp(7P).
Hewlett-Packard Company — HP-UX Release 10.20: July 1996