mirror_iproute2/man/man8
Andy Gospodarek 5d295bb8e1 add support for brief output for link and addresses
This adds support for slightly less output than is normally provided by
'ip link show' and 'ip addr show'.  This is a bit better when you have a
host with lots of interfaces.  Sample output:

$ ip -br link show
lo               UNKNOWN        00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
p2p1             UP             08:00:27:ee:0b:3b <BROADCAST,MULTICAST,UP,LOWER_UP>
p7p1             UP             08:00:27:9d:62:9f <BROADCAST,MULTICAST,UP,LOWER_UP>
p8p1             DOWN           08:00:27:dc:d8:ca <NO-CARRIER,BROADCAST,MULTICAST,UP>
p9p1             UP             08:00:27:76:d9:75 <BROADCAST,MULTICAST,UP,LOWER_UP>
p7p1.100@p7p1    UP             08:00:27:9d:62:9f <BROADCAST,MULTICAST,UP,LOWER_UP>

$ ip -br -4 addr show
lo               UNKNOWN        127.0.0.1/8
p2p1             UP             192.168.56.2/24
p7p1             UP             70.0.0.1/24
p8p1             DOWN           80.0.0.1/24
p9p1             UP             10.0.5.15/24
p7p1.100@p7p1    UP             200.0.0.1/24

$ ip -br -6 addr show
lo               UNKNOWN        ::1/128
p2p1             UP             fe80::a00:27ff:feee:b3b/64
p7p1             UP             7000::1/8 fe80::a00:27ff:fe9d:629f/64
p8p1             DOWN           8000::1/8
p9p1             UP             fe80::a00:27ff:fe76:d975/64
p7p1.100@p7p1    UP             fe80::a00:27ff:fe9d:629f/64

$ ip -br addr show p7p1
p7p1             UP             70.0.0.1/24 7000::1/8 fe80::a00:27ff:fe9d:629f/64

v2: Now with color support!
v3: Better field width estimation (except netdev names to keep output at a
decent width) and whitespace fixup.

Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
2015-08-31 16:24:10 -07:00
..
.gitignore man8: build cleanup 2012-08-01 14:58:15 -07:00
arpd.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
bridge.8 bridge fdb: add 'use' option to set NTF_USE flag in fdb add requests 2015-07-31 18:09:41 -07:00
ctstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ip-address.8.in ip-address.8.in: fix BNF syntax error 2015-08-19 16:32:56 -07:00
ip-addrlabel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-fou.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-gue.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-l2tp.8 Fix misspelling of defrag in ip-l2tp.8 2015-02-24 15:59:44 -08:00
ip-link.8.in add support for brief output for link and addresses 2015-08-31 16:24:10 -07:00
ip-maddress.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-monitor.8 ipmonitor: allows to monitor in several netns 2015-05-21 15:28:56 -07:00
ip-mroute.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-neighbour.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-netconf.8 iproute2: clarification of various man8 pages 2013-02-11 09:22:06 -08:00
ip-netns.8 netns: allow to dump and monitor nsid 2015-04-20 10:02:38 -07:00
ip-ntable.8 Fix man page whatis entry errors 2012-01-10 10:47:28 -08:00
ip-route.8.in Merge branch 'master' into net-next 2015-04-07 08:56:14 -07:00
ip-rule.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-tcp_metrics.8 iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
ip-token.8 man: token: fix couple of typos 2014-07-15 09:45:00 -07:00
ip-tunnel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-xfrm.8 xfrmmonitor: allows to monitor in several netns 2015-05-21 15:28:56 -07:00
ip.8 ip: fix and extend documentation 2015-08-13 14:11:09 -07:00
lnstat.8 lnstat, nstat, ifstat: update man pages 2013-09-24 12:00:41 -07:00
Makefile tc: bpf: add initial man page 2015-06-26 11:25:57 -07:00
nstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routef.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routel.8 Add routel and routef man page. 2008-05-09 17:07:06 -07:00
rtacct.8 lnstat, nstat, ifstat: update man pages 2013-09-24 12:00:41 -07:00
rtmon.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
rtstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ss.8 man ss: Fix explanation when no options specified 2015-07-27 14:35:02 -07:00
tc-bfifo.8 tc-bfifo: man: Add parameter value range. 2012-07-13 10:01:20 -07:00
tc-bpf.8 tc: bpf: add initial man page 2015-06-26 11:25:57 -07:00
tc-cbq-details.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-cbq.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-choke.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-drr.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-ematch.8 In tc-ematch.8, remove no-op .ti requests to prevent translation warnings 2013-07-12 08:33:08 -07:00
tc-fq_codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-hfsc.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-htb.8 Fix various typos and nitpicks 2007-10-17 09:56:11 -07:00
tc-mqprio.8 iproute2: add man page for mqprio 2014-03-04 16:59:51 -08:00
tc-netem.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-pfifo_fast.8 (Logical change 1.13) 2004-06-08 20:34:17 +00:00
tc-pfifo.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
tc-pie.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-prio.8 Fix Linux priority and band for TOS==0x2 (man 8 tc-prio) 2014-05-09 13:30:30 -07:00
tc-red.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-sfb.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-sfq.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-stab.8 tc-stab.8: Fix synopsis errors, an invalid escape, and incorrect English usge. 2013-07-09 09:07:41 -07:00
tc-tbf.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc.8 tc: bpf: add initial man page 2015-06-26 11:25:57 -07:00