bond

Required User Level = Admin

Use the bond command to configure bonding interfaces and modes. Bonding is a Linux networking feature. Only basic functions are available in the CLI, such as defining a bonding interface and adding a peer interface to a bonding interface. These functions are useful for cluster management, to provide redundant cluster control links.

The bond command has the following syntax:

bond <bonding interface> 
  down-delay-time <milliseconds>
   link-mon-time <milliseconds>
   mode <balance-rr | backup | balance-xor | balance-xor-layer3+4 | broadcast | link-agg |
      link-agg-layer3+4 | balance-tlb | balance-alb>
   up-delay-time <milliseconds>

The following table describes the arguments for the bond command:

Argument

Description

bond <bonding interface>

Creates a bonding interface.

For example:

(config) # bond bond0

down-delay-time <milliseconds>

Configures a down delay time for the bonding interface, in milliseconds. This is the amount of time to wait before disabling a peer interface after a link failure has been detected.

link-mon-time <milliseconds>

Configures a link monitoring frequency for the bonding interface, in milliseconds.

mode <balance-rr |
backup |
balance-xor |
balance-xor-layer3+4 |
broadcast | link-agg |
link-agg-layer3+4 | balance-tlb | balance-alb>

Specifies the type of mode of the bonding interface. The modes are as follows:

balance-rr—round robin load balancing
backup—backup fault tolerant mode
balance-xor—XOR load balancing
balance-xor-layer3+4—XOR load balancing Layer 3 + 4 mode
broadcast—broadcast fbondault tolerant mode
link-agg—link aggregation mode (IEEE 802.3ad)
link-agg-layer3+4—link aggregation Layer 3 + 4 mode
balance-tlb—adaptive transmit load balancing
balance-alb—adaptive load balancing

up-delay-time <milliseconds>

Configures an up delay time for the bonding interface, in milliseconds. This is the amount of time to wait before enabling a peer interface after a link recovery has been detected.

Related Commands

The following table summarizes other commands related to the bond command:

Task

Command

Creates a bonding interface.

(config) # bond bond0

Adds a peer interface to a specified bonding interface.

(config) # interface eth0 bond bond0

Deletes an interface from a specified bonding interface.

(config) # no interface eth0 bond bond0

Displays configuration information about all bonding interfaces.

# show bonds

Displays configuration information for a specified bonding interface.

# show bonds bond0

Deletes a specified bonding interface.

(config) # no bond bond0