[Bridge] [PATCH iproute2 v2] iplink: add support for STP xstats

Stephen Hemminger stephen at networkplumber.org
Tue Dec 10 00:13:45 UTC 2019


On Mon,  9 Dec 2019 18:05:22 -0500
Vivien Didelot <vivien.didelot at gmail.com> wrote:

> Add support for the BRIDGE_XSTATS_STP xstats, as follow:
> 
>     # ip link xstats type bridge_slave dev lan5
>                         STP BPDU:
>                           RX: 0
>                           TX: 39
>                         STP TCN:
>                           RX: 0
>                           TX: 0
>                         STP Transitions:
>                           Blocked: 0
>                           Forwarding: 1
>                         IGMP queries:
>                           RX: v1 0 v2 0 v3 0
>                           TX: v1 0 v2 0 v3 0
>     ...

Might I suggest a more concise format:
	STP BPDU:  RX: 0 TX: 39
	STP TCN:   RX: 0 TX:0
	STP Transitions: Blocked: 0 Forwarding: 1
...


More information about the Bridge mailing list