Configuring Bond Interfaces in Gaia Clish
In Gaia Clish The name of the default command line shell in Check Point Gaia operating system. This is a restricted shell (role-based administration controls the number of commands available in the shell)., 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. |
|
Important - After you add, configure, or delete features, run the " |
|
Note - You configure an IP address on a Bonding Group in the same way as you do on a physical interface (see Physical Interfaces). |
Syntax
Syntax
|
Example
|
|
Note - Do not change the state of bond interface manually using the " |
Syntax
|
|
Important - Make sure that the subordinate interfaces, which you wish to add to the Bonding Group, do not have IP addresses. |
Example
|
|
Notes:
|
Syntax
set bonding group <Bond Group ID> mode active-backup [primary <Name of Subordinate Interface>] mode round-robin mode xor xmit-hash-policy {layer2 | layer3+4}mode 8023AD [lacp-rate {slow | fast}] [xmit-hash-policy {layer2 | layer3+4}] [up-delay <0-5000>] [down-delay <0-5000>] [mii-interval <1-5000>] |
Bond operating mode specifies how subordinate interfaces are used in a bond interface.
Syntax
set bonding group <Bond Group ID> mode active-backup [primary <Name of Subordinate Interface>]round-robin xor xmit-hash-policy {layer2 | layer3+4} 8023AD [lacp-rate {slow | fast}] [xmit-hash-policy {layer2 | layer3+4}] |
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 |
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 algorithm to use for assigning the traffic to Active subordinate interfaces:
|
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> |