summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-13 16:03:40 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-13 16:03:40 +0200
commit5e86c158b7b7c0d628423405b26aacb6238fba5b (patch)
tree81e4a6cbf6a4a142aee5b5b9a19e783ddcbbdc3f
parent9982cb495567e107c00c44a3dcc134592997bb1e (diff)
downloadvyos-documentation-5e86c158b7b7c0d628423405b26aacb6238fba5b.tar.gz
vyos-documentation-5e86c158b7b7c0d628423405b26aacb6238fba5b.zip
bonding: add new command for minimum-links
-rw-r--r--docs/interfaces/bond.rst19
1 files changed, 19 insertions, 0 deletions
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 <interface> 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 <interface> hash-policy <policy>
* **layer2** - Uses XOR of hardware MAC addresses and packet type ID field