Creating a Link Aggregation Group (LAG)

Complete the following steps to create a LAG.
  1. Enter the global configuration mode.
    device# configure terminal
  2. Configure a LAG. You can configure any of the following LAG types: static LAG, dynamic LAG, or keep-alive LAG.
    • Configure a static LAG.
    
    device(config)# lag blue static id 11
    
    • Configure a dynamic LAG.
    
    device(config)# lag dblue dynamic id auto
    
    • Configure a keep-alive LAG.
    
    device(config)# lag kblue keep-alive
    
    The LAG ID can be automatically generated and assigned to a LAG using the auto option.
    LAG IDs are unique for each LAG in the system. A LAG ID cannot be assigned to more than one LAG. If a LAG ID is already used, the CLI will reject the new LAG configuration and display an error message that suggests the next available LAG ID that can be used.
    Note: The LAG ID parameter is applicable for static and dynamic LAGs only. No explicit configuration of a LAG ID is allowed on keep-alive LAGs.

    The keep-alive LAG option allows you to configure a LAG for use in keep-alive applications similar to the UDLD feature.

  3. Add ports to the LAG. The following example shows configuration of a static LAG with two ports.
    
    device(config-lag-blue)# ports ethernet 1/3/1 ethernet 1/3/2
    

    Upon the addition of the first physical port to a LAG, a LAG virtual interface is created and is available for user configuration.

    If there is only one port in the LAG, a single port LAG is formed. For a dynamic LAG, LACP is started for each LAG port. For a keep-alive LAG, no LAG is formed and LACP is started on the LAG port.

    A static or dynamic LAG can consist of 1 to 8 or 1 to 16 ports (depending on the device you are using) of the same type and speed that are on any interface module within the RUCKUS chassis. A keep-alive LAG consists of only one port.

    The ports can be added to the LAG sequentially as shown in the following example:
    device(config-lag-blue)# ports ethernet 1/3/1 ethernet 1/2/2 ethernet 1/4/3 ethernet 1/3/4

    A range of ports from a single interface module can be specified. In the following example, Ethernet ports 1, 2, 3 and 4 on the interface module in slot 3 are configured in a single LAG:

    
    device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4
    

    Additionally, you can mix a range of ports from one interface module with individual ports from other interface modules to form a LAG as shown in the following:

    
    device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4 ethernet 1/2/2