summaryrefslogtreecommitdiff
path: root/docs/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'docs/interfaces')
-rw-r--r--docs/interfaces/bond.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/interfaces/bond.rst b/docs/interfaces/bond.rst
index 0f923849..3445dc57 100644
--- a/docs/interfaces/bond.rst
+++ b/docs/interfaces/bond.rst
@@ -295,6 +295,24 @@ Member Interfaces
Example
-------
+The following configuration on VyOS applies to all following 3rd party vendors.
+It creates a bond with two links and VLAN 10, 100 on the bonded interfaces with
+a per VIF IPv4 address.
+
+.. code-block:: none
+
+ # Create bonding interface bond0 with 802.3ad LACP
+ set bonding bond0 hash-policy 'layer2'
+ set bonding bond0 mode '802.3ad'
+
+ # Add the required vlans and IPv4 addresses on them
+ set bonding bond0 vif 10 address 192.168.0.1/24
+ set bonding bond0 vif 100 address 10.10.10.1/24
+
+ # Add the member interfaces to the bonding interface
+ set interfaces bonding bond0 member interface eth1
+ set interfaces bonding bond0 member interface eth2
+
Cisco
^^^^^