netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in iproute2 man page (or in iproute itself)
@ 2020-07-24 12:45 George Shuklin
  2020-07-24 15:35 ` Stephen Hemminger
  2020-07-24 16:15 ` [RFT iproute2] iplink_bridge: scale all time values by USER_HZ Stephen Hemminger
  0 siblings, 2 replies; 14+ messages in thread
From: George Shuklin @ 2020-07-24 12:45 UTC (permalink / raw)
  To: netdev

Hello.

I'm writing Ansible module for iproute, and I found some discrepancies 
between man page and actual behavior for ip link add type bridge.

man page said:

hello_time HELLO_TIME - set the time in seconds between hello packets 
sent by the bridge, when it is a root bridge or a designated bridges.  
Only relevant if STP
is enabled. Valid values are between 1 and 10.

max_age MAX_AGE - set the hello packet timeout, ie the time in seconds 
until another bridge in the spanning tree is assumed to be dead, after 
reception of its
last hello message. Only relevant if STP is enabled. Valid values are 
between 6 and 40.

In reality 'ip link add type bridge' requires hello_time to be at least 
100, and max_age to be at least 600. I suspect there is a missing x100 
multiplier, either in docs, or in the code.

(I'm not sure where I should send bugreports for iproute2).


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-07-27 16:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-24 12:45 Bug in iproute2 man page (or in iproute itself) George Shuklin
2020-07-24 15:35 ` Stephen Hemminger
2020-07-24 16:15 ` [RFT iproute2] iplink_bridge: scale all time values by USER_HZ Stephen Hemminger
2020-07-24 16:24   ` nikolay
2020-07-24 19:05     ` Stephen Hemminger
2020-07-24 22:51       ` Nikolay Aleksandrov
2020-07-24 23:18         ` Vladimir Oltean
2020-07-25  0:31     ` David Miller
2020-07-26  3:17       ` Stephen Hemminger
2020-07-26 10:43         ` [RFC iproute2] ip: bridge: use -human to convert time-related values to seconds Nikolay Aleksandrov
2020-07-26 16:21           ` Vladimir Oltean
2020-07-26 16:34             ` Nikolay Aleksandrov
2020-07-26 16:50               ` Vladimir Oltean
2020-07-27 16:36                 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).