LINUX NIC Bonding

From ScotGrid

On the Extreme Switches X460 run the following commands to bond Sandybridge Workernodes.

  • Slot-2 141access.management.cluster.8 # enable sharing 8:43 grouping 8:43,8:44 algorithm address-based L3_L4 lacp

Warning: Any config on the master port is lost (STP, IGMP Filter, IGMP Static Group, MAC-Security, etc. etc.)

  • Slot-2 141access.management.cluster.9 # show sharing

Load Sharing Monitor Config Current Agg Ld Share Ld Share Agg Link Link Up Master Master Control Algorithm Group Mbr State Transitions

==================================================================
 1:53   1:53        Static    L3          1:53       Y      A        3
                              L3          1:54       Y      A        3
                              L3          2:53       Y      A        4
                              L3          2:54       Y      A        4
                              L3          7:53       Y      A        3
                              L3          7:54       Y      A        3
                              L3          8:53       Y      A        3
                              L3          8:54       Y      A        3
 2:23               LACP      L2          2:23       -      R        0
                              L2          2:24       -      R        0
 2:25               LACP      L2          2:25       -      R        0
                              L2          2:26       -      R        0
 2:27               LACP      L2          2:27       -      R        0
                              L2          2:28       -      R        0
 3:23               LACP      L2          3:23       -      R        0
                              L2          3:24       -      R        0
 3:25               LACP      L2          3:25       -      R        0
                              L2          3:26       -      R        0
 5:19               LACP      L2          5:19       -      A        1
                              L2          5:20       -      A        1
 5:21   5:21        LACP      L2          5:21       Y      A        4
                              L2          5:22       -      R        0
 5:27               LACP      L2          5:27       -      R        0
                              L2          5:28       -      R        0
 6:17               LACP      L2          6:17       -      R        3
                              L2          6:18       -      R        3
 6:19               LACP      L2          6:19       -      R        2
                              L2          6:20       -      R        2
 6:21               LACP      L2          6:21       -      R        2
                              L2          6:22       -      R        2
 6:23               LACP      L2          6:23       -      R        0
                              L2          6:24       -      R        0
 6:25               LACP      L2          6:25       -      R        1
                              L2          6:26       -      R        1
 7:17   7:17        LACP      L2          7:17       Y      A       45
                              L2          7:18       Y      A       33
 7:21   7:22        LACP      L2          7:21       -      A        2
                              L2          7:22       Y      A        3
 8:21   8:21        LACP      L2          8:21       Y      A        1
                              L2          8:22       Y      A        1
 8:43   8:43        LACP      L3_L4       8:43       Y      A       88
                              L3_L4       8:44       Y      A       42
==================================================================

Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback Load Sharing Algorithm: (L2) Layer 2 address based, (L3) Layer 3 address based

                       (L3_L4) Layer 3 address and Layer 4 port based
                       (custom) User-selected address-based configuration

Custom Algorithm Configuration: ipv4 L3-and-L4, xor Note - Layer 4 ports are not used for distribution for traffic ingressing

      ports on X450-24t and X450-24x switches.

Number of load sharing trunks: 18

  • Slot-2 141access.management.cluster.10 # configure sharing 8:43 lacp activity-mode passive

<cr> Execute the command