1 .\" Copyright (c) 2012 Apple Inc. All rights reserved.
3 .\" @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 .\" This file contains Original Code and/or Modifications of Original Code
6 .\" as defined in and that are subject to the Apple Public Source License
7 .\" Version 2.0 (the 'License'). You may not use this file except in
8 .\" compliance with the License. The rights granted to you under the License
9 .\" may not be used to create, or enable the creation or redistribution of,
10 .\" unlawful or unlicensed copies of an Apple operating system, or to
11 .\" circumvent, violate, or enable the circumvention or violation of, any
12 .\" terms of an Apple operating system software license agreement.
14 .\" Please obtain a copy of the License at
15 .\" http://www.opensource.apple.com/apsl/ and read it before using this file.
17 .\" The Original Code and all software distributed under the License are
18 .\" distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
19 .\" EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
20 .\" INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
21 .\" FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
22 .\" Please see the License for the specific language governing rights and
23 .\" limitations under the License.
25 .\" @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 .\" $FreeBSD: src/usr.sbin/ndp/ndp.8,v 1.1.2.6 2001/08/16 15:56:09 ru Exp $
28 .\" $KAME: ndp.8,v 1.15 2001/02/08 07:17:03 itojun Exp $
30 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
31 .\" All rights reserved.
33 .\" Redistribution and use in source and binary forms, with or without
34 .\" modification, are permitted provided that the following conditions
36 .\" 1. Redistributions of source code must retain the above copyright
37 .\" notice, this list of conditions and the following disclaimer.
38 .\" 2. Redistributions in binary form must reproduce the above copyright
39 .\" notice, this list of conditions and the following disclaimer in the
40 .\" documentation and/or other materials provided with the distribution.
41 .\" 3. Neither the name of the project nor the names of its contributors
42 .\" may be used to endorse or promote products derived from this software
43 .\" without specific prior written permission.
45 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
46 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
47 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
48 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
49 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
50 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
51 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
63 .Nd control/diagnose IPv6 neighbor discovery protocol
87 .Op Cm delete | Ar interface
111 command manipulates the address mapping table
112 used by Neighbor Discovery Protocol (NDP).
115 Dump the currently existing NDP entries.
124 Erase all the NDP entries.
126 Delete specified NDP entry.
128 Parse the file specified by
131 Harmonize consistency between the routing table and the default router
132 list; install the top entry of the list into the kernel routing table.
133 .It Fl I Op Cm delete | Ar interface
134 Shows or specifies the default interface used as the default route when
135 there is no default router.
136 If no argument is given to the option,
137 the current default interface will be shown.
140 is specified, the interface will be used as the default.
143 is specified, the current default interface will be deleted from the kernel.
144 .It Fl i Ar interface Op Ar flags...
145 View ND information for the specified interface.
146 If additional arguments
150 sets or clears the specified flags for the interface.
151 Possible flags are as follows.
152 All of the flags can begin with the
155 which means the flag should be cleared.
157 .Bl -tag -width Ds -compact
161 turn on or off NUD (Neighbor Unreachability Detection) on the
163 NUD is usually turned on by default.
166 Show link-layer reachability information.
168 Do not try to resolve numeric address to hostname.
172 Flush all the entries in the prefix list.
174 Show default router list.
176 Flush all the entries in the default router list.
178 Register an NDP entry for a node.
179 The entry will be permanent unless the word
181 is given in the command.
184 is given, this system will act as an proxy NDP server,
185 responding to requests for
187 even though the host address is not its own.
189 Print timestamp on each entries,
190 to make it possible to merge output with
192 Most useful when used with
195 Show extended link-layer reachability information in addition to that shown by
204 command will exit with 0 on success, and non-zero on errors.
212 command first appeared in WIDE Hydrangea IPv6 protocol stack kit.