Configuring Bond Interfaces in Gaia Clish
In Gaia Clish, bond interfaces are called bonding groups.
|
Step |
Instructions |
|---|---|
|
1 |
Make sure that the physical subordinate interfaces do not have IP addresses. |
|
2 |
Add a new bonding group. |
|
3 |
Set the state of the physical subordinate interfaces to UP. |
|
4 |
Add subordinate interfaces to the bonding group. |
|
5 |
Configure the bond operating mode. |
|
6 |
Configure other bond parameters: primary interface, media monitoring, and delay rate. |
|
7 |
Examine the bonding group configuration. |
|
8 |
Save the configuration. |
|
|
Notes:
|
|
|
Important:
|
Syntax
Syntax
|
|
Example
|
|
|
|
Note - Do not change the state of bond interface manually using the " |
Syntax
|
|
|
|
Important:
|
Example
|
|
|
|
Notes:
|
Syntax
set bonding group <Bond Group ID> mode active-backup [primary <Name of Subordinate Interface>] mode round-robin mode 8023AD [lacp-rate {slow | fast}] mode xor xmit-hash-policy {layer2 | layer3+4} mode ABXOR xmit-hash-policy {layer2 | layer3+4} [abxor-threshold <min number of UP subordinate interfaces>][up-delay <0-5000>] [down-delay <0-5000>] [mii-interval <1-5000>] [min-links <0-8>] |
Bond operating mode specifies how subordinate interfaces are used in a bond interface.
Syntax
set bonding group <Bond Group ID> mode round-robin active-backup [primary <Name of Subordinate Interface>] xor xmit-hash-policy {layer2 | layer3+4} 8023AD [lacp-rate {slow | fast}] ABXOR xmit-hash-policy {layer2 | layer3+4} [abxor-threshold <Min number of UP subordinate interfaces>]
|
Example
|
|
|
|
Notes:
|
The Up-Delay specifies show much time in milliseconds to wait before enabling a subordinate interface after link recovery was detected.
Syntax
|
|
Example
|
|
|
|
Note - The default |
The Down-Delay specifies how much time in milliseconds to wait before disabling a subordinate interface after link failure was detected.
Syntax
|
|
Example
|
|
|
|
Note - The default |
The Media Monitoring Interval specifies how much time in milliseconds to wait before checking the link on subordinate interfaces for a failure.
Syntax
|
|
Example
|
|
|
|
Note - The default |
You can configure the minimum number of required interface links for a bonding group in the 802.3AD / 802.1AX mode.
If fewer subordinate interfaces in a bonding group have their link in the "up" state, the Gaia changes the state of the bonding group to "down".
Syntax
|
|
Example
|
|
|
|
Note - The default " |
set interface <Bond Group ID> comments "Text" ipv4-address <IPv4 Address> {subnet-mask <Mask> | mask-length <Mask Length>}ipv6-address <IPv6 Address> mask-length <Mask Length> ipv6-autoconfig {on | off} link-speed {10M/half | 10M/full | 100M/half | 100M/full | 1000M/full | 10000M/full}mac-addr <MAC Address> |
For more information, see Configuring Physical Interfaces in Gaia Clish.
Syntax
|
|
Example
|
|
|
|
Note - You must delete all non-primary subordinate interfaces before you remove the primary subordinate interface. |
Syntax
|
|
Example
|
|
|
|
Notes:
|
Syntax
|
|
Parameters
|
Parameter |
Description |
||||
|---|---|---|---|---|---|
|
|
Configures the Bond Group ID.
|
||||
|
|
Specifies the name of the subordinate physical interface, which you add to (or remove from) the bond group. Make sure that the subordinate interfaces do not have any IP addresses or aliases configured. |
||||
|
|
Configures the Bond operating mode (see Bond Interfaces (Link Aggregation)):
|
||||
|
|
Specifies the name of the primary subordinate interface in the bond. By default, the first subordinate interface added to the bond group, becomes the primary.
|
||||
|
|
Specifies the time in milliseconds to wait before enabling a subordinate interface after link recovery was detected.
|
||||
|
|
Specifies the time in milliseconds to wait before disabling a subordinate interface after link failure was detected.
|
||||
|
|
Specifies the Link Aggregation Control Protocol (LACP) packet transmission rate:
|
||||
|
|
Specifies the time in milliseconds to wait before checking the link on subordinate interfaces for a failure.
|
||||
|
|
Specifies the minimum number of required interface links for a bonding group in the 802.3AD mode. If fewer subordinate interfaces in a bonding group have their link in the "up" state, the Gaia changes the state of the bonding group to "down".
|
||||
|
|
Specifies the algorithm to use for assigning the traffic to Active subordinate interfaces:
|
||||
|
|
Specifies the minimum number of subordinate interfaces that must be in the UP sate for a bundle to be Active.
|
Examples
gaia> add bonding group 1 gaia> add bonding group 1 interface eth2 gaia> add bonding group 1 interface eth3 gaia> set bonding group 1 mode active-backup primary eth2 gaia> show bonding group 1 Bond Configuration xmit-hash-policy Not configured down-delay 200 primary eth2 lacp-rate Not configured mode active-backup up-delay 200 mii-interval 100 Bond Interfaces eth2 eth3 gaia> |
gaia> add bonding group 1 gaia> add bonding group 1 interface eth2 gaia> add bonding group 1 interface eth3 gaia> set bonding group 1 mode xor xmit-hash-policy layer3+4 gaia> show bonding group 1 Bond Configuration xmit-hash-policy layer3+4 down-delay 200 primary Not configured lacp-rate Not configured mode xor up-delay 200 mii-interval 100 Bond Interfaces eth2 eth3 gaia> |