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 " | " tcp_metrics " }"
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 " <COUNT>
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 " <FAMILY>
52 Specifies the protocol family to use. The protocol family identifier can be one of
53 .BR "inet" , " inet6" , " bridge" , " ipx" , " dnet"
56 If this 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" .
82 .BR "\-family bridge" .
90 .BR "\-o" , " \-oneline"
91 output each record on a single line, replacing line feeds
94 character. This is convenient when you want to count records
102 .BR "\-r" , " \-resolve"
103 use the system's name resolver to print DNS names instead of
106 .SH IP - COMMAND SYNTAX
113 - protocol (IP or IPv6) address on a device.
117 - label configuration for protocol address selection.
121 - tunnel ethernet over IP (L2TPv3).
133 - watch for netlink messages.
137 - multicast routing cache entry.
141 - rule in multicast routing policy database.
145 - manage ARP or NDISC cache entries.
149 - manage network namespaces.
153 - manage the neighbor cache's operation.
157 - routing table entry.
161 - rule in routing policy database.
164 .B tcp_metrics/tcpmetrics
173 - manage TUN/TAP devices.
177 - manage IPSec policies.
180 The names of all objects may be written in full or
181 abbreviated form, for exampe
183 can be abbreviated as
191 Specifies the action to perform on the object.
192 The set of possible actions depends on the object type.
193 As a rule, it is possible to
194 .BR "add" , " delete"
199 ) objects, but some objects do not allow all of these operations
200 or have some additional commands. The
202 command is available for all objects. It prints
203 out a list of available commands and argument syntax conventions.
205 If no command is given, some default command is assumed.
208 or, if the objects of this class cannot be listed,
213 was written by Alexey N. Kuznetsov and added in Linux 2.2.
216 .BR ip-addrlabel (8),
222 .BR ip-neighbour (8),
227 .BR ip-tcp_metrics (8),
231 .RB "IP Command reference " ip-cref.ps
233 Report any bugs to the Network Developers mailing list
234 .B <netdev@vger.kernel.org>
235 where the development and maintenance is primarily done.
236 You do not have to be subscribed to the list to send a message there.
239 Original Manpage by Michail Litvak <mci@owl.openwall.com>