Specifying the LAG Threshold for a LAG

You can configure the Ruckus device to disable all of the ports in a LAG when the number of active member ports drops below a specified threshold value. When a LAG is shut down because the number of ports drops below the configured threshold, the LAG is kept intact and it is re-enabled if enough ports become active to reach the threshold. For example, if a LAG has eight ports, and the threshold for the LAG is five, the LAG is disabled if the number of active ports in the LAG drops below five. If the LAG is disabled, then traffic is forwarded over a different link or LAG.
Note: This configuration is only applicable for static LAGs.

Complete the following steps to establish a LAG consisting of four ports, and then establish a threshold of three ports for this LAG.

  1. In global configuration mode, use the lag blue static id 1 command to enter the LAG mode.
    device(config)# lag blue dynamic id 1
  2. Enter the ports ethernet 1/3/1 to 1/3/4 command to establish a LAG consisting of four ports.
    device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4
  3. Enter the trunk-threshold 3 command to establish a threshold for this LAG.
    device(config-lag-blue)# trunk-threshold 3
    In this example, if the number of active ports drops below three, then all the ports in the LAG are disabled.

    When a LAG is shut down because the number of ports drops below the configured threshold, the LAG is kept intact and it is re-enabled if enough ports become active to reach the threshold.

    Note:

    The trunk-threshold command should be configured only at one end of the trunk. If it is set on both sides, link failures will result in race-conditions and the will not function properly.

The following example establishes a LAG consisting of four ports, then establish a threshold for this LAG of three ports.

device(config)# lag blue static id 1
device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4
device(config-lag-blue)# trunk-threshold 3