From 551db355da12bb6f2d3cfab4f8c997e440f01984 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Tue, 31 Dec 2019 12:17:33 +0100
Subject: bond: fix example (bad CLI syntax)

---
 docs/interfaces/bond.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'docs')

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
-- 
cgit v1.2.3