summaryrefslogtreecommitdiff
path: root/docs/interfaces/bond.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/interfaces/bond.rst')
-rw-r--r--docs/interfaces/bond.rst69
1 files changed, 11 insertions, 58 deletions
diff --git a/docs/interfaces/bond.rst b/docs/interfaces/bond.rst
index 9e67809a..859c25c3 100644
--- a/docs/interfaces/bond.rst
+++ b/docs/interfaces/bond.rst
@@ -13,62 +13,22 @@ Additionally, link integrity monitoring may be performed.
Configuration
#############
-Address
--------
-
-.. cfgcmd:: set interfaces bonding <interface> address <address | dhcp | dhcpv6>
-
- Configure interface `<interface>` with one or more interface addresses.
-
- * **address** can be specified multiple times as IPv4 and/or IPv6 address,
- e.g. 192.0.2.1/24 and/or 2001:db8::1/64
- * **dhcp** interface address is received by DHCP from a DHCP server on this
- segment.
- * **dhcpv6** interface address is received by DHCPv6 from a DHCPv6 server on
- this segment.
-
- Example:
-
- .. code-block:: none
-
- set interfaces bonding bond0 address 192.0.2.1/24
- set interfaces bonding bond0 address 192.0.2.2/24
- set interfaces bonding bond0 address 2001:db8::ffff/64
- set interfaces bonding bond0 address 2001:db8:100::ffff/64
-
-
-.. cfgcmd:: set interfaces bonding <interface> ipv6 address autoconf
-
- .. include:: common-ipv6-addr-autoconf.txt
-
-.. cfgcmd:: set interfaces bonding <interface> ipv6 address eui64 <prefix>
-
- :abbr:`EUI-64 (64-Bit Extended Unique Identifier)` as specified in
- :rfc:`4291` allows a host to assign iteslf a unique 64-Bit IPv6 address.
-
- .. code-block:: none
-
- set interfaces bonding bond0 ipv6 address eui64 2001:db8:beef::/64
+Common interface configuration
+------------------------------
+.. cmdinclude:: ../_include/interface-common-with-dhcp.txt
+ :var0: bond
+ :var1: bond0
-Link Administration
--------------------
-
-.. cfgcmd:: set interfaces bonding <interface> description <description>
-
- Assign given `<description>` to interface. Description will also be passed
- to SNMP monitoring systems.
-
-
-.. cfgcmd:: set interfaces bonding <interface> disable
+Member Interfaces
+-----------------
- Disable given `<interface>`. It will be placed in administratively down
- (``A/D``) state.
+.. cfgcmd:: set interfaces bonding <interface> member interface <member>
-.. cfgcmd:: set interfaces bonding <interface> mac <mac-address>
+ Enslave `<member>` interface to bond `<interface>`.
- Configure user defined :abbr:`MAC (Media Access Control)` address on given
- `<interface>`.
+Bond options
+------------
.. cfgcmd:: set interfaces bonding <interface> mode <mode>
@@ -293,13 +253,6 @@ Link Administration
The maximum number of targets that can be specified is 16. The default value
is no IP addresses.
-Member Interfaces
------------------
-
-.. cfgcmd:: set interfaces bonding <interface> member interface <member>
-
- Enslave `<member>` interface to bond `<interface>`.
-
Example
-------