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 tunnel " | " maddr " | " mroute " }"
22 \fB\-V\fR[\fIersion\fR] |
23 \fB\-s\fR[\fItatistics\fR] |
24 \fB\-r\fR[\fIesolve\fR] |
25 \fB\-f\fR[\fIamily\fR] {
26 .BR inet " | " inet6 " | " ipx " | " dnet " | " link " } | "
27 \fB\-o\fR[\fIneline\fR] }
32 .BR "\-V" , " -Version"
33 print the version of the
38 .BR "\-s" , " \-stats", " \-statistics"
39 output more information. If the option
40 appears twice or more, the amount of information increases.
41 As a rule, the information is statistics or some time values.
44 .BR "\-l" , " \-loops"
45 Specify maximum number of loops the 'ip addr flush' logic
46 will attempt before giving up. The default is 10.
47 Zero (0) means loop until all addresses are removed.
50 .BR "\-f" , " \-family"
51 followed by protocol family identifier:
55 ,enforce the protocol family to use. If the option is not present,
56 the protocol family is guessed from other arguments. If the rest
57 of the command line does not give enough information to guess the
60 falls back to the default one, usually
65 is a special family identifier meaning that no networking protocol
76 .BR "\-family inet6" .
84 .BR "\-o" , " \-oneline"
85 output each record on a single line, replacing line feeds
88 character. This is convenient when you want to count records
96 .BR "\-r" , " \-resolve"
97 use the system's name resolver to print DNS names instead of
100 .SH IP - COMMAND SYNTAX
111 - protocol (IP or IPv6) address on a device.
115 - label configuration for protocol address selection.
119 - ARP or NDISC cache entry.
123 - routing table entry.
127 - rule in routing policy database.
135 - multicast routing cache entry.
142 The names of all objects may be written in full or
143 abbreviated form, f.e.
153 Specifies the action to perform on the object.
154 The set of possible actions depends on the object type.
155 As a rule, it is possible to
156 .BR "add" , " delete"
161 ) objects, but some objects do not allow all of these operations
162 or have some additional commands. The
164 command is available for all objects. It prints
165 out a list of available commands and argument syntax conventions.
167 If no command is given, some default command is assumed.
170 or, if the objects of this class cannot be listed,
175 was written by Alexey N. Kuznetsov and added in Linux 2.2.
178 .BR ip-addrlabel (8),
183 .BR ip-neighbour (8),
190 .RB "IP Command reference " ip-cref.ps
192 Report bug to the Network Developers mailing list
193 .B <netdev@vger.kernel.org>
194 where the development and maintenance is primarily done.
195 You do not have to be subscribed to the list to send a message there.
198 Original Manpage by Michail Litvak <mci@owl.openwall.com>