summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-31 12:17:33 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-31 12:17:33 +0100
commit551db355da12bb6f2d3cfab4f8c997e440f01984 (patch)
treee988c9af85630ad30c2c0e8a04bcf70e716616d7 /docs
parentb572987387392366614297337222e1ef296a8cff (diff)
downloadvyos-documentation-551db355da12bb6f2d3cfab4f8c997e440f01984.tar.gz
vyos-documentation-551db355da12bb6f2d3cfab4f8c997e440f01984.zip
bond: fix example (bad CLI syntax)
Diffstat (limited to 'docs')
-rw-r--r--docs/interfaces/bond.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/interfaces/bond.rst b/docs/interfaces/bond.rst
index 76d76b02..936f7752 100644
--- a/docs/interfaces/bond.rst
+++ b/docs/interfaces/bond.rst
@@ -302,12 +302,12 @@ 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'
+ set interfaces bonding bond0 hash-policy 'layer2'
+ set interfaces 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
+ set interfaces bonding bond0 vif 10 address 192.168.0.1/24
+ set interfaces 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