IP(8) Linux IP(8) (NAME) ip - (SYNOPSIS) ip [ OPTIONS ] OBJECT { COMMAND | help } ip [ -force ] -batch filename OBJECT := { address | addrlabel | fou | help | ila | ioam | l2tp | link | macsec | maddress | monitor | mptcp | mroute | mrule | neighbor | neighbour | netconf | netns | nexthop | ntable | ntbl | route | rule | sr | tap | tcpmetrics | token | tunnel | tuntap | vrf | xfrm } OPTIONS := { -V[ersion] | -h[uman-readable] | -s[tatistics] | -d[etails] | -r[esolve] | -iec | -f[amily] { inet | inet6 | link } | -4 | -6 | -B | -0 | -l[oops] { maximum-addr-flush- attempts } | -o[neline] | -rc[vbuf] [size] | -t[imestamp] | -ts[hort] | -n[etns] name | -N[umeric] | -a[ll] | -c[olor] | -br[ief] | -j[son] | -p[retty] } (OPTIONS) -V, -Version ip . -h, -human, -human-readable . -b, -batch . ip . -force ip . . -s, -stats, -statistics . . . -d, -details . -l, -loops 'ip address flush' . . (0) . -f, -family . inet inet6 bridge mpls link . . ip inet any . link . -4 -family inet. -6 -family inet6. -B -family bridge. -M -family mpls. -0 -family link. -o, -oneline '\' . wc(1) grep(1) . -r, -resolve DNS . -n, -netns ip NETNS . : ip netns exec NETNS ip [ OPTIONS ] OBJECT { COMMAND | help } : ip -n[etns] NETNS [ OPTIONS ] OBJECT { COMMAND | help } -N, -Numeric (scope) dsfield . -a, -all . -c[color][={always|auto|never} . always stdout . auto stdout . never . . -json . COLORFGBG ( (ENVIRONMENT) ). -t, -timestamp monitor. -ts, -tshort -timestamp . -rc, -rcvbuf netlink 1MB . -iec IEC ( 1Ki = 1024). -br, -brief . ip addr show ip link show ip neigh show . -j, -json (JSON). -p, -pretty JSON . . -echo . IP (IP - COMMAND SYNTAX) OBJECT address - (IP IPv6) . addrlabel - . fou - Foo-over-UDP. ila - (ILA). ioam - IOAM IOAM. l2tp - IP ( L2TPv3). link - . macsec - MACsec. maddress - (multicast). monitor - netlink. mptcp - MPTCP. mroute - . mrule - . neighbour - ARP NDISC. netconf - . netns - . nexthop - (nexthop). ntable - . route - . rule - . sr - IPv6 (Segment Routing). stats - . tcp_metrics/tcpmetrics - TCP (TCP Metrics). token - . tunnel - IP. tuntap - TUN/TAP. vrf - (VRF). xfrm - IPSec. address addr a . COMMAND . . add delete show ( list) . help . . . list help . (ENVIRONMENT) COLORFGBG . COLORFGBG . 0 6 8 : COLORFGBG=";0" ip -c a (EXIT STATUS) 0 1 . 2 . (EXAMPLES) ip addr . ip neigh . ip link set x up x. ip link set x down x. ip route . (HISTORY) ip Alexey N. Kuznetsov 2.2 . (SEE ALSO) ip-address(8), ip-addrlabel(8), ip-fou(8), ip-ioam(8), ip-l2tp(8), ip-link(8), ip-macsec(8), ip-maddress(8), ip-monitor(8), ip-mptcp(8), ip-mroute(8), ip-neighbour(8), ip-netconf(8), ip-netns(8), ip-nexthop(8), ip-ntable(8), ip-route(8), ip-rule(8), ip-sr(8), ip-stats(8), ip-tcp_metrics(8), ip-token(8), ip-tunnel(8), ip-vrf(8), ip-xfrm(8) IP: ip-cref.ps (REPORTING BUGS) . . (AUTHOR) Michail Litvak . iproute2 20 Dec 2011 IP(8)