1 .TH IP 8 "20 Dec 2011" "iproute2" "Linux"
3 ip \- show / manipulate routing, devices, policy routing and tunnels
10 .RI "[ " OPTIONS " ] " OBJECT " { " COMMAND " | "
16 .BR link " | " addr " | " addrlabel " | " route " | " rule " | " neigh " | "\
17 ntable " | " tunnel " | " tuntap " | " maddr " | " mroute " | " mrule " | "\
18 monitor " | " xfrm " | " netns " | " l2tp " }"
23 \fB\-V\fR[\fIersion\fR] |
24 \fB\-s\fR[\fItatistics\fR] |
25 \fB\-r\fR[\fIesolve\fR] |
26 \fB\-f\fR[\fIamily\fR] {
27 .BR inet " | " inet6 " | " ipx " | " dnet " | " link " } | "
28 \fB\-o\fR[\fIneline\fR] }
33 .BR "\-V" , " -Version"
34 print the version of the
39 .BR "\-s" , " \-stats", " \-statistics"
40 output more information. If the option
41 appears twice or more, the amount of information increases.
42 As a rule, the information is statistics or some time values.
45 .BR "\-l" , " \-loops"
46 Specify maximum number of loops the 'ip addr flush' logic
47 will attempt before giving up. The default is 10.
48 Zero (0) means loop until all addresses are removed.
51 .BR "\-f" , " \-family"
52 followed by protocol family identifier:
56 ,enforce the protocol family to use. If the option is not present,
57 the protocol family is guessed from other arguments. If the rest
58 of the command line does not give enough information to guess the
61 falls back to the default one, usually
66 is a special family identifier meaning that no networking protocol
77 .BR "\-family inet6" .
85 .BR "\-o" , " \-oneline"
86 output each record on a single line, replacing line feeds
89 character. This is convenient when you want to count records
97 .BR "\-r" , " \-resolve"
98 use the system's name resolver to print DNS names instead of
101 .SH IP - COMMAND SYNTAX
108 - protocol (IP or IPv6) address on a device.
112 - label configuration for protocol address selection.
116 - tunnel PPP over IP (L2TP).
128 - watch for netlink messages.
132 - multicast routing cache entry.
136 - rule in multicast routing policy database.
140 - manage ARP or NDISC cache entries.
144 - manage network namespaces.
148 - manage the neighbor cache's operation.
152 - routing table entry.
156 - rule in routing policy database.
164 - manage TUN/TAP devices.
168 - manage IPSec policies.
171 The names of all objects may be written in full or
172 abbreviated form, f.e.
182 Specifies the action to perform on the object.
183 The set of possible actions depends on the object type.
184 As a rule, it is possible to
185 .BR "add" , " delete"
190 ) objects, but some objects do not allow all of these operations
191 or have some additional commands. The
193 command is available for all objects. It prints
194 out a list of available commands and argument syntax conventions.
196 If no command is given, some default command is assumed.
199 or, if the objects of this class cannot be listed,
204 was written by Alexey N. Kuznetsov and added in Linux 2.2.
207 .BR ip-addrlabel (8),
212 .BR ip-neighbour (8),
220 .RB "IP Command reference " ip-cref.ps
222 Report bug to the Network Developers mailing list
223 .B <netdev@vger.kernel.org>
224 where the development and maintenance is primarily done.
225 You do not have to be subscribed to the list to send a message there.
228 Original Manpage by Michail Litvak <mci@owl.openwall.com>