ndp(1Mtcp)


ndp -- control and display operation of NDP

Synopsis

ndp [-n] hostname

ndp [-n] -a

ndp [-d] hostname

ndp [-i interface_index] -s hostname address [temp]

Description

The ndp program displays and modifies the IPv6-to-hardware address translation tables used by the IPv6 neighbor discovery protocol (NDP). (ndp performs an analogous function to that of the arp(1Mtcp) command in IPv4.)

If no options are specified, ndp displays the current entry for hostname. The host may be specified by name or IPv6 address.

ndp understands the following options:


-a
Display all current NDP table entries.

-d
Delete an entry from the NDP table.

-i interface_index
Specify the index of the interface to use when an NDP table entry is added with the -s flag (useful with local-link interfaces).

-n
Display numerical network addresses as numbers instead of attempting to resolve them into domain names. This greatly speeds up the performance of the ndp command.

-s hostname address [temp]
Create an NDP entry for hostname with the specified hardware address. The address must be entered as six colon-separated hexadecimal bytes. The entry is permanent unless the keyword temp is specified.

References

ifconfig(1Mtcp)

Examples

List the entries in the NDP table:

ndp -a

This command produces output such as:

   e-crankv6 (::903:9182) at link#2 0:20:af:db:b8:cf
   e-crankv6-11 (fe80::100:0:0220:afff:fedb:b8cf) at link#2 0:20:af:db:b8:cf
Delete the entry for e-crankv6-11:

ndp -d e-crankv6-11

This command produces output such as:

   e-crankv6-11 (fe80::100:0:0220:afff:fedb:b8cf) deleted

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004