Reset Search
 

 

Article

How to configure sharing (LAG) with LACP in Summit stack or BlackDiamond switches

« Go Back

Information

 
TitleHow to configure sharing (LAG) with LACP in Summit stack or BlackDiamond switches
Objective
How to configure sharing ports with LACP in EXOS
Environment
  • EXOS ALL
  • Summit
  • BlackDiamond
  • sharing (aka "port channel")
Procedure
Enable sharing using the following commands, details of the various algorithms supported can be found in the additional notes at the bottom of the article:

For platforms that only support the address-based algorithm:
enable sharing <master-port> grouping <port-range> algorithm address-based <L2 | L3 | L3_L4| custom> lacp
  • specifying LACP at the end of the command configures an LACP LAG
  • Not specifying an algorithm defaults to the L2 algorithm 
For platforms that also support the port-based algorithm:
enable sharing <master-port> grouping <port-range> algorithm port-based lacp
To verify that the LAG is configured, the following outputs can be checked:
# show sharing
Load Sharing Monitor
Config    Current Agg     Min    Ld Share  Dist  Ld Share  Agg Link  Link Up
Master    Master  Control Active Algorithm Flags Group     Mbr State Transitions
================================================================================
     1            LACP       1    L2        A     1         Y     A       1
                                  L2              2         Y     A       0
================================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback

# show sharing
Load Sharing Monitor
Config    Current Agg     Min     Ld Share    Ld Share  Agg   Link   Link Up
Master    Master  Control Active  Algorithm   Group     Mbr   State  Transitions
================================================================================
    21     21     LACP       1     port        21         Y      A        1
                                   port        22         Y      A        2
================================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
For port-based LAGs, the assigned keys to each port can be viewed using the following command:
# show sharing port-based keys
    1:  0     2:  1     3:  2     4:  3     5:  4     6:  5     7:  6     8:  7
    9:  8    10:  9    11: 10    12: 11    13: 12    14: 13    15: 14    16: 15
   17:  0    18:  1    19:  2    20:  3    21:  4    22:  5    23:  6    24:  7
   25:  8    26:  9    27: 10    28: 11    29: 12    30: 13    31: 14    32: 15
   33:  0    34:  1    35:  2    36:  3    37:  4    38:  5    39:  6    40:  7
   41:  8    42:  9    43: 10    44: 11    45: 12    46: 13    47: 14    48: 15
   49:  0    50:  1    51:  2    52:  3    53:  4    54:  5
LACP counters can also be checked using the following command:
# show lacp counters
LACP PDUs dropped on non-LACP ports : 0
LACP Bulk checkpointed msgs sent    : 0
LACP Bulk checkpointed msgs recv    : 0
LACP PDUs checkpointed sent         : 0
LACP PDUs checkpointed recv         : 0
Lag        Member     Rx       Rx Drop  Rx Drop  Rx Drop  Tx       Tx
Group      Port       Ok       PDU Err  Not Up   Same MAC Sent Ok  Xmit Err
--------------------------------------------------------------------------------
21         21         2        0        0        0        2        0
           22         2        0        0        0        2        0

================================================================================
# show lacp lag <master-port>
Lag   Actor    Actor  Partner           Partner  Partner Agg   Actor
      Sys-Pri  Key    MAC               Sys-Pri  Key     Count MAC
--------------------------------------------------------------------------------
21          0  0x03fd 00:04:96:99:90:0a       0  0x03fd      2 00:04:96:98:88:1b
Port list:
Member     Port      Rx           Sel          Mux            Actor     Partner
Port       Priority  State        Logic        State          Flags     Port
--------------------------------------------------------------------------------
21         0         Current      Selected     Collect-Dist   A-GSCD--  1021
22         0         Current      Selected     Collect-Dist   A-GSCD--  1022
================================================================================
Actor Flags: A-Activity, T-Timeout, G-Aggregation, S-Synchronization
             C-Collecting, D-Distributing, F-Defaulted, E-Expired







 
Additional notes
There are 4 kinds of address based algorithms supported. These algorithms specify how the traffic will be shared between the individual links of a link aggregation.
This indicates that utilization of the individual ports always depends on the algorithm as well as the type of traffic flowing over the link. 
If a specific algorithm does not provide a good balance, it's advised to try other algorithms, as they might be more suitable for this specific traffic.
  • L2 algorithm: Layer 2 source and destination MAC addresses. Available on BlackDiamond 8800 series switches, SummitStack, and all Summit family switches.
  • L3 algorithm: Layer 3 source and destination IP addresses. Available on BlackDiamond 8800 series switches, Summit family switches, and SummitStack. (except X150 and X350)  
  • ​L3_L4 algorithm: Layer 3 and Layer 4, the combined source and destination IP addresses and source and destination TCP and UDP port numbers. Available on Summit family switches, BlackDiamond 8000 a-, c-, and e-series
  • Custom algorithm: Can select which link to forward traffic on based on the hash algorithm used (CRC16/32), XOR computation, the Source and Destination IP of a stream including the L4 port number, L3 source and destination, OR simply the source
Port-based algorithm
  • This algorithm is only supported on Summit X770, X670-G2, X460-G2 and the X450-G2 platforms
  • When enabled, each port in the LAG is assigned a numerical key value.  When selecting what port to forward traffic on, the LAG will conduct a modulus operation on the key of the source port of the traffic and the sum of the number of ports in the LAG to determine what port
    • If the index on port 1 is 0, and traffic arrives to a LAG made up of [port 2 = index:1, port 3 = index 2], the decision on which of the two ports to forward traffic on is based
    • [source-port-key] % [number-of-ports-in-lag]
      0 % 2
      2
      Traffic is thus forwarded over the second port in the LAG
For more information on the same please refer Concepts guide 
Related Hub Thread: https://community.extremenetworks.com/extreme/topics/how-i-configure-lacp-between-extreme-and-cisco

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255