mirror_iproute2/man/man8
Nikolay Aleksandrov 7abf5de677 bridge: vlan: add support to display per-vlan statistics
This patch adds support for the stats argument to the bridge
vlan command which will display the per-vlan statistics and the device
each vlan belongs to with its flags. The supported command filtering
options are dev and vid. Also the man page is updated to explain the new
option.
The patch uses the new RTM_GETSTATS interface with a filter_mask to dump
all bridges and ports vlans. Later we can add support for using the
per-device dump and filter it in the kernel instead.

Example:
$ bridge -s vlan show
port             vlan id
br0               1 Egress Untagged
                    RX: 2536 bytes 20 packets
                    TX: 2536 bytes 20 packets
                  101
                    RX: 43158 bytes 50 packets
                    TX: 43158 bytes 50 packets
eth1              1 Egress Untagged
                    RX: 2536 bytes 20 packets
                    TX: 2536 bytes 20 packets
                  100
                    RX: 0 bytes 0 packets
                    TX: 0 bytes 0 packets
                  101
                    RX: 43158 bytes 50 packets
                    TX: 43158 bytes 50 packets
                  102
                    RX: 16897 bytes 93 packets
                    TX: 0 bytes 0 packets

The format is the same as bridge vlan show but with stats, even though
under the hood the calls done to the kernel are different.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
2016-08-29 10:58:40 -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: vlan: add support to display per-vlan statistics 2016-08-29 10:58:40 -07:00
ctstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
devlink-dev.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-monitor.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-port.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-sb.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink.8 man: Point to 'devlink-sb' from 'devlink' man page 2016-07-15 11:46:39 -07:00
genl.8 genl: add manpage 2015-11-03 16:27:39 -08:00
ifcfg.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
ifstat.8 ifstat: add manpage 2015-11-03 16:27:39 -08:00
ip-address.8.in ip {link,address}: add 'macsec' item to TYPE list 2016-07-28 11:12:39 -07:00
ip-addrlabel.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-fou.8 iproute2: correct port in FOU/GRE example 2016-06-08 09:40:07 -07:00
ip-gue.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-l2tp.8 man: ip-l2tp.8: Fix BNF syntax 2016-03-02 11:23:53 -08:00
ip-link.8.in man: ip-link.8: Document missing geneve options 2016-08-12 12:58:53 -07:00
ip-macsec.8 macsec: cipher and icvlen can be set separately 2016-07-28 11:12:39 -07:00
ip-maddress.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-monitor.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-mroute.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-neighbour.8 ip neigh: Add support for keyword 2016-07-06 21:28:31 -07:00
ip-netconf.8 man: update netconf manual for new attributes 2016-03-21 12:15:58 -07:00
ip-netns.8 man: ip-netns.8: Clarify synopsis a bit 2016-03-02 11:23:52 -08:00
ip-ntable.8 man: ip-ntable.8: Review synopsis section 2016-03-02 11:23:52 -08:00
ip-route.8.in ip route: Add support for vrf keyword 2016-07-06 21:28:31 -07:00
ip-rule.8 doc, man: ip-rule: Remove incorrect statement about rule 0 2016-03-04 15:27:52 -08:00
ip-tcp_metrics.8 iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
ip-token.8 ip, token: add del command 2016-05-31 12:10:29 -07:00
ip-tunnel.8 man: ip-tunnel.8: Document missing 6rd action 2016-03-02 11:23:52 -08:00
ip-xfrm.8 man: ip-xfrm.8: Document missing parameters 2016-03-02 11:23:52 -08:00
ip.8 man: ip, ip-link: Fix ip option location 2016-05-31 12:33:48 -07:00
lnstat.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
Makefile man: Add devlink man pages to Makefile 2016-07-15 11:46:39 -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 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtacct.8 man: rtacct: add missing TP marker 2016-07-06 21:06:33 -07:00
rtmon.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtpr.8 man: rtpr: Fix minor typo 2016-06-08 08:37:30 -07:00
rtstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ss.8 ss: Add option to suppress header line 2016-07-20 11:55:43 -07:00
tc-basic.8 tc: add a man page for basic filter 2015-10-23 15:37:26 -07:00
tc-bfifo.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-bpf.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
tc-cbq-details.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cbq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cgroup.8 tc: add a man page for cgroup filter 2015-10-23 15:37:26 -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-connmark.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-csum.8 man: tc-csum.8: Add an example 2016-03-27 10:34:43 -07:00
tc-drr.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08: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-flow.8 man/man8/tc-flow.8: minor corrections 2016-07-25 08:19:25 -07:00
tc-flower.8 tc: flower: Add skip_{hw|sw} support 2016-07-06 21:24:48 -07:00
tc-fq_codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-fq.8 man: fix whatis for fq 2016-01-06 10:29:06 -08:00
tc-fw.8 tc: add a man page for fw filter 2015-10-23 15:37:26 -07:00
tc-hfsc.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-htb.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ife.8 man: tc-ife.8: man page for ife action 2016-06-08 08:38:27 -07:00
tc-mirred.8 man: tc-mirred.8: Reword man page a bit, add generic mirror example 2016-03-27 10:34:44 -07:00
tc-mqprio.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
tc-nat.8 man: Add a man page for the nat action 2016-03-04 15:27:51 -08:00
tc-netem.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-pedit.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-pfifo_fast.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08: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-police.8 police: bug fix man page 2016-08-29 10:54:40 -07:00
tc-prio.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-red.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-route.8 tc: add a man page for route filter 2015-10-23 15:37:26 -07:00
tc-sfb.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-sfq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-simple.8 man: Add a man page for the simple action 2016-03-04 15:27:51 -08:00
tc-skbedit.8 actions: skbedit add support for mod-ing skb pkt_type 2016-07-06 21:15:44 -07:00
tc-stab.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-tbf.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-tcindex.8 tc: add a man page for tcindex filter 2015-10-23 15:37:26 -07:00
tc-u32.8 man: tc-u32: Minor syntax fix 2016-03-04 15:27:52 -08:00
tc-vlan.8 man: tc-vlan.8: Describe CONTROL option 2016-03-27 10:34:49 -07:00
tc-xt.8 man: Add a man page for the xt action 2016-03-04 15:27:51 -08:00
tc.8 tc.8: Fix reference to tc-tcindex.8 2015-12-10 08:48:07 -08:00
tipc-bearer.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-link.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-media.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-nametable.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-node.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-peer.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-socket.8 man: Syntax and warning fixes 2015-11-23 15:39:25 -08:00
tipc.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00