Configuring Load Rebalancing for 802.3ad Link Aggregation Groups
You can configure the parameters that the system uses to rebalance the links in a LAG. You can also configure the system to dynamically rebalance the links in the LAG.
Tasks to configure load rebalancing are:
Configuring Load–Rebalancing Parameters
To configure load–rebalancing parameters:
- Specify the LAG interface.host1(config)#interface lag lg1
- Configure parameters that guide the system to rebalance. host1(config-if)#load-rebalance period 120 start-threshold 20 percent stop-threshold 100 percent maximum-improvement 300
This example specifies that the system rebalance within 120 seconds, can accept imbalance in the LAG in the range 20–100 percent, and can move 300 subscribers to other ports during that time.
Table 20 describes the load balancing algorithm parameters that you can configure.
Table 20: Load Balancing Algorithm Parameters
Keyword | Description |
|---|---|
period | Specifies the time period for rebalancing. For example, a period of 120 specifies that rebalancing occurs once every 2 minutes. |
start-threshold | Specifies the amount of imbalance in the LAG that triggers the algorithm to start rebalancing. The default is 0 percent. Optionally, you can specify one of the following units of measure:
|
stop-threshold | Specifies the amount of imbalance in the LAG that triggers the algorithm to stop rebalancing. The algorithm continues rebalancing until this value is reached. The default is 0 percent. Optionally, you can specify one of the following units of measure:
|
maximum- improvement | Specifies the maximum number of links to rebalance in the LAG per period. The default is 100 percent. Optionally, you can specify one of the following units of measure:
|
Configuring the System to Dynamically Rebalance the LAG
To configure the system to dynamically rebalance the LAG:
- Specify the LAG interface.host1(config)#interface lag lg1
- Issue the load balance command with no keywords:host1(config-if)#load-rebalance
Hide Navigation Pane
Show Navigation Pane
SHA1