IBM Support

Determining bonding mode

Question & Answer


Question

How do you determine the bonding mode of a bonded channel?

Answer

For each bonded channel that exists and is active, a descriptive file exists in the /proc/net/bonding directory. The following command displays the contents of one of those files:

    cat /proc/net/bonding/bond0

This command produces the following output:
    **************************************************************
    Ethernet Channel Bonding Driver: v2.6.3 (June 8, 2005)

    Bonding Mode: load balancing (xor)
    MII Status: up
    MII Polling Interval (ms): 200
    Up Delay (ms): 0
    Down Delay (ms): 0

    Slave Interface: eth0
    MII Status: up
    Link Failure Count: 0
    Permanent HW addr: 00:16:35:7c:de:81

    Slave Interface: eth3
    MII Status: up
    Link Failure Count: 0
    Permanent HW addr: 00:16:35:7c:de:80
    **************************************************************

You can use this information to determine the bonding mode (in bold above), the MII polling interval, and which interfaces are slaves to this bond and their MAC addresses.

There are several modes to choose from; for a description, refer to the document referenced below. Consult your network administrator before making any changes to ensure that the switches to which the NPS is connected support the selected modes.

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ921427

Document Information

Modified date:
17 October 2019

UID

swg21574097