Configuring Link Aggregation
Use the add bonding group command to create new Bond and add slave interfaces to it. Use set bonding group to configure parameters for an existing Bond.
This section shows the full syntax for these commands. The other sections in this chapter show only the syntax for the specified activities.
Syntax
add bonding group <bond_id>
add bonding group <bond_id> interface <slave_interface>
set bonding group <bond_id>
[primary <slave_interface>]
[mii-interval <value>]
[up-delay <value>]
[down-delay <value>]
[arp-polling-interval <interval>]
[mode <value>]
[lacp-rate <value> ]
[xmit-hash-policy <value>]
[abxor-threshold <value>]
Parameter
|
Description
|
<bond_id>
|
Bond identifier, an integer between 1 and 1024.
|
interface <slave_interface>
|
Slave interface name.
|
primary <slave_interface>
|
Sets the primary slave interface. This parameter is applicable to the active-backup mode only.
|
mii-interval <interval>
|
Frequency (in ms) that the system polls the Media Independent Interface (MII) to get status.
Valid values = 1-5000 ms. Default = 200 ms.
|
up-delay <value>
down-delay <value>
|
Wait time (in ms) before the system confirms that a slave interface is UP or DOWN.
Valid values = 1-5000 ms. Default = 200 ms.
|
arp-polling-interval <value>
|
Frequency of ARP requests sent to confirm that slave interface is UP.
Valid values = 1-5000 ms. Default = 200 ms.
|
mode <value>
|
Bond interface mode:
- active-backup - Selects the Primary slave interface as the Active slave interface. If the Primary slave interface goes down, it fails over to a different slave interface.
- xor
- All UP slave interfaces are Active for Load Sharing. Traffic is assigned to Active interfaces based on the transmit hash policy (Layer2 or Layer3+4). - 8023AD
-Dynamically uses Active slave interfaces to share the traffic load based on the LACP protocol. This protocol uses full interface monitoring between the Security Gateway and a switch. - abxor - Slave interfaces are assigned to sub-groups called bundles. Only one bundle is active at a time. All slave interfaces in the active bundle share the traffic load. The system assigns traffic to all interfaces in the active bundle based on the defined transmit hash policy.
Note - The Round-Robin option is not supported on the 61000/41000 Security System.
|
lacp-rate <value>
|
LACPDU packet transmission rate:
slow - Request LACPDU every 30 seconds fast - Request LACPDU every 1 second.
This parameter is applicable to the 8023AD mode only.
|
xmit-hash-policy <value>
|
Methodology for slave interface selection based on the TCP/IP layer.
layer2 - Use XOR of hardware MAC addresses. layer 3+4 - Use upper layer protocol information.
This parameter is applicable to the XOR and ABXOR modes only.
|
abxor-threshold <value>
|
Minimum number of slave interfaces that must be UP for a bundle to be Active.
Valid values = 1-8 interfaces. Default = 3 interfaces.
This parameter is applicable to the ABXOR mode only.
|
Examples:
> add bonding group 4 interface eth1-03
This command creates a new Bond (bond4) with one slave interface.
> add bonding group 4 interface eth2-03
This command adds another slave interface to bond4.
> set bonding group 4 mode xor down-delay 300 mii-interval 100
This command changes the mode, down-delay and mii_interval parameters for bond4.
|