[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
AIX Version 4.3 Commands Reference, Volume 4
ndp Command
Purpose
IPv6 neighbor discovery display and control.
ndp [ -n ] hostname
ndp [ -n ] -a
ndp [ -d ] hostname
ndp [ -i interface_index ] -s hostname addr [ temp ]
Description
The ndp program displays and modifies the IPv6-to-Ethernet, IPv6-to-Fddi, or the IPv6-to-TokenRing address translation tables used by the IPv6 neighbor discovery protocol (ndp (4)).
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.
Flags
- 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. |
Examples
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 |
Related Information
The ifconfig command.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]