1 .\" Copyright (c) 2012-2013 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 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
28 .\" All rights reserved.
30 .\" Redistribution and use in source and binary forms, with or without
31 .\" modification, are permitted provided that the following conditions
33 .\" 1. Redistributions of source code must retain the above copyright
34 .\" notice, this list of conditions and the following disclaimer.
35 .\" 2. Redistributions in binary form must reproduce the above copyright
36 .\" notice, this list of conditions and the following disclaimer in the
37 .\" documentation and/or other materials provided with the distribution.
38 .\" 3. Neither the name of the project nor the names of its contributors
39 .\" may be used to endorse or promote products derived from this software
40 .\" without specific prior written permission.
42 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
43 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
44 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
45 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
46 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
47 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
48 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
49 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
50 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
51 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
60 .Nd control/diagnose IPv6 neighbor discovery protocol
84 .Op Cm delete | Ar interface
108 command manipulates the address mapping table
109 used by Neighbor Discovery Protocol (NDP).
112 Dump the currently existing NDP entries.
121 Erase all the NDP entries.
123 Delete specified NDP entry.
125 Parse the file specified by
128 Harmonize consistency between the routing table and the default router
129 list; install the top entry of the list into the kernel routing table.
130 .It Fl I Op Cm delete | Ar interface
131 Shows or specifies the default interface used as the default route when
132 there is no default router.
133 If no argument is given to the option,
134 the current default interface will be shown.
137 is specified, the interface will be used as the default.
140 is specified, the current default interface will be deleted from the kernel.
141 .It Fl i Ar interface Op Ar flags...
142 View ND information for the specified interface.
143 If additional arguments
147 sets or clears the specified flags for the interface.
148 Possible flags are as follows.
149 All of the flags can begin with the
152 which means the flag should be cleared.
154 .Bl -tag -width Ds -compact
158 turn on or off NUD (Neighbor Unreachability Detection) on the
160 NUD is usually turned on by default.
164 IPv6 can be disabled separately from other network protocols. This flag can be
165 turned on automatically when Duplicate Address Detection (DAD) indicates that
166 another device on the network is using the same link-local address.
170 the interface is enabled to proxy neighbor discovery for global scope prefixes
171 matching those on link at other interfaces.
175 ignore neighbor advertisements received on this interface.
178 do not use cryptographically generated addresses (CGA) on this interface.
182 Show link-layer reachability information.
184 Do not try to resolve numeric address to hostname.
188 Flush all the entries in the prefix list.
190 Show default router list.
192 Flush all the entries in the default router list.
194 Register an NDP entry for a node.
195 The entry will be permanent unless the word
197 is given in the command.
200 is given, this system will act as an proxy NDP server,
201 responding to requests for
203 even though the host address is not its own.
205 Print timestamp on each entries,
206 to make it possible to merge output with
208 Most useful when used with
211 Show extended link-layer reachability information in addition to that shown by
216 Show the cryptographically generated address (CGA) parameters for the node.
222 command will exit with 0 on success, and non-zero on errors.
230 command first appeared in WIDE Hydrangea IPv6 protocol stack kit.