Setting the minimum and maximum numbers of Selected ports for an aggregation group
IMPORTANT: The minimum and maximum number of Selected ports must be the same for the local and peer aggregation groups. | ||
The bandwidth of an aggregate link increases as the number of Selected member ports increases. To avoid congestion, you can set the minimum number of Selected ports required for bringing up an aggregate interface.
This minimum threshold setting affects the aggregation state of both aggregation member ports and the aggregate interface.
When the number of member ports eligible to be Selected ports is smaller than the minimum threshold:
All member ports are placed in the Unselected state.
The link of the aggregate interface goes down.
When the minimum threshold is reached, the eligible member ports are placed in the Selected state, and the link of the aggregate interface goes up.
The maximum number of Selected ports allowed in an aggregation group is limited by either the configured maximum number or hardware capability, whichever value is smaller.
You can configure backup between two ports by performing the following tasks:
Assign two ports to an aggregation group.
Configure 1 as the maximum number of Selected ports allowed in the aggregation group.
Then, only one Selected port is allowed in the aggregation group at any point in time, and the Unselected port acts as a backup port.
To set the minimum and maximum numbers of Selected ports for an aggregation group:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter aggregate interface view. |
| N/A |
3. Set the minimum number of Selected ports for the aggregation group. | link-aggregation selected-port minimum number | By default, the minimum number of Selected ports for the aggregation group is not specified. |
4. Set the maximum number of Selected ports for the aggregation group. | link-aggregation selected-port maximum number | By default, the maximum number of Selected ports for an aggregation group is 32. |