From 5e86c158b7b7c0d628423405b26aacb6238fba5b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 13 Sep 2020 16:03:40 +0200 Subject: bonding: add new command for minimum-links --- docs/interfaces/bond.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/interfaces/bond.rst b/docs/interfaces/bond.rst index 74089f96..d697e5d4 100644 --- a/docs/interfaces/bond.rst +++ b/docs/interfaces/bond.rst @@ -159,6 +159,25 @@ Link Administration This mode provides load balancing and fault tolerance. +.. cfgcmd:: set interfaces bonding min-links <0-16> + + Specifies the minimum number of links that must be active before asserting + carrier. It is similar to the Cisco EtherChannel min-links feature. This + allows setting the minimum number of member ports that must be up (link-up + state) before marking the bond device as up (carrier on). This is useful for + situations where higher level services such as clustering want to ensure a + minimum number of low bandwidth links are active before switchover. + + This option only affects 802.3ad mode. + + The default value is 0. This will cause carrier to be asserted (for 802.3ad + mode) whenever there is an active aggregator, regardless of the number of + available links in that aggregator. + + .. note:: Because an aggregator cannot be active without at least one + available link, setting this option to 0 or to 1 has the exact same + effect. + .. cfgcmd:: set interfaces bonding hash-policy * **layer2** - Uses XOR of hardware MAC addresses and packet type ID field -- cgit v1.2.3