[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
IPv6 neighbor discovery display and control.
ndp [ -n ] hostname
ndp [ -n ] -a
ndp [ -d ] hostname
ndp [ -i
interface_index ] -s hostname
addr [ temp ]
The ndp program displays and modifies the IPv6-to-Ethernet, or
the IPv6-to-TokenRing address translation tables used by the IPv6 neighbor
discovery protocol.
With no flags, the program displays the current ndp entry for
hostname. The host may be specified by name or by number,
using IPv6 textual notation.
- a
| Displays all of the current ndp entries.
|
- d
| Lets a super-user delete an entry for the host called hostname
with the -d flag.
|
- i
interface_index
| Specifies the index of the interface to use when an ndp entry
is added with the -s flag (useful with the local-link
interface).
|
- n
| Shows network addresses as numbers (normally ndp attempts to
display addresses symbolically).
|
- s hostname addr
| Creates an ndp entry for hostname with the Hardware
address addr. The Hardware address is given as six hex bytes
separated by colons. The entry is permanent unless the temp
is specified in the command.
|
This is an example output from the - a flag:
# ndp -a
e-crankv6 (::903:9182) at link#2 0:20:af:db:b8:cf
e-crankv6-11 (fe80:0:100::20:afdb:b8cf) at link#2 0:20:af:db:b8:cf
# ndp -d e-crankv6-11
e-crankv6-11 (fe80:0:100::20:afdb:b8cf) deleted
The ifconfig command, ndpd-host command, ndpd-router command, autoconf6 command.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]