HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

n
ndp(1M) ndp(1M)
NAME
ndp - IPv6 Neighbor Discovery cache display and control
SYNOPSIS
ndp host
ndp [-i interface][-n
] -a
ndp
[-i interface][-n]
-A interval
ndp [-i interface][-q]
-d host
ndp [-i interface] [-nq] -F
ndp
[-i interface] -p
ndp
[-i interface][-q
] -P
ndp -s
interface host hw_addr [pub]
ndp -f filename
DESCRIPTION
The ndp command displays and modifies the IPv6 Neighbor Discovery cache as specified in the IPv6 Neigh-
bor Discovery (ND) protocol.
Options
ndp recognizes the following options and arguments:
host Display the current Neighbor Discovery cache entries for the host specified by host, which
is either a name present in the hostname database (see hosts(4)), or an IPv6 address
expressed in colon notation (see inet6(3N)).
-i interface
Select the Neighbor Discovery cache entries for the specified interface. There is no distinc-
tion between primary and secondary interfaces. Therefore, specifying -i lan1:1 is the
same as specifying -i lan1.
-n Display host addresses in IPv6 colon notation. If this option is not specified,
ndp attempts
to display host addresses symbolically first, and falls back to displaying the host addresses
in IPv6 colon notation if that failed.
-a Display all Neighbor Discovery cache entries.
-A interval
Continuously display all Neighbor Discovery cache entries, updated at each interval , meas-
ured in seconds.
-d host Deletes Neighbor Discovery cache entries with IP addresses that are not associated with
local interfaces for the host specified by host.
-F Flushes all Neighbor Discovery cache entries with IP addresses that are not associated with
local interfaces. These are entries with the L flag set.
-q (Quiet) Do not write anything to standard output. This option only applies to -d, -F, and
-P options.
-p Display the prefix list in the Neighbor Discovery cache table. The prefix list defines a set of
IP address ranges that the host can reach. The prefix flags are L for on-link, and A for
autonomous. The on-link flag indicates that addresses with that prefix can be reached
directly without going through a router. The autonomous flag indicates that the prefix
came from stateless autoconfiguration.
-P Flushes all autoconfigured addresses learned from prefixes advertised by the Router Adver-
tisement Messages.
-s interface host hw_addr [pub]
Create a Neighbor Discovery cache entry for the interface specified by interface, the host
specified by host, and the hardware address (link-layer address) specified by hw_addr. The
hw_addr is specified as xx:xx:xx:xx:xx:xx, where each x is a hexadecimal digit. If pub
is specified, the entry is published, which means that this system will respond to Neighbor
Solicitation for the specified "host" even though the host address is not its own.
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 41