bondcfg

bondcfg [mode=802.3ad] [miimon=100] [primary=eth0]
        [resend_igmp=1] [lacp_rate=slow] [xmit_hash_policy=layer2]

If bond interface is not set, the current setting will be displayed.

If bond interface is specified with no args then the current setting will be displayed.

The bond interface’s address, netmask and linkspeed configuration are inherited from eth0 (iface=0) configuration.

Option Description

lacp_rate

(Only in 802.3ad mode)
The rate in which we’ll ask our link partner to transmit LACPDU packets in 802.3ad mode.
Possible values are slow or fast.
Default: slow.

miimon

The MII link monitoring frequency in milliseconds.
Range: 0-10000, default: 100.

mode

Bond mode, one of 802.3ad and active-backup.
Default: 802.3ad.

primary

(Only in active-backup mode)
Primary device, one of eth0 and eth1.
Default: eth0.

resend_igmp

(Only in active-backup mode)
The number of IGMP membership reports to be issued after a failover event. Range: 0-255, default: 1.

xmit_hash_policy

(Only in 802.3ad mode)
The transmit hash policy to use for slave selection in 802.3ad mode.
Possible values are layer2, layer2+3 or encap2+3.
Default: layer2.