Bonding

Configure a bond using the ngsetup installer. In this example, two 100 Gbit/s ports form bond0 using LACP and the l34 distribution policy.

Once setup is complete, the installer updates the docker-compose.yml file. All that remains is to restart the Docker container.

Checking Bond status

The following commands are available in the ngcli console:

Command Description
bond list Show port-channels (bonds): mode, link and members.
bond status Show members of all bonds: link, speed, LACP state and counters.
bond status <BOND> Show members of the selected bond: link, speed, LACP state and counters.
bond list
BOND      PORT MODE          POLICY/PRIMARY   LINK  ACTIVE  MEMBERS
bond0        2 lacp          l34              up         2  port0=0, port1=1
bond status
bond0: port 2, lacp, link up, 2 of 2 active
  MEMBER          PORT  LINK  SPEED  ACTIVE           RX           TX  RX_ERR  TX_ERR  MISSED
  port0              0  up    100G   yes         1250000      1180000       0       0       0
  port1              1  up    100G   yes         1230000      1200000       0       0       0
  MEMBER         LACP          PARTNER            PORT   KEY  ACTOR                    PARTNER FLAGS
  port0          in aggregate  02:00:00:00:00:10     1    10  act,short,agg,sync,col,dist act,short,agg,sync,col,dist
  port1          in aggregate  02:00:00:00:00:10     2    10  act,short,agg,sync,col,dist act,short,agg,sync,col,dist