Setting the minimum and maximum numbers of Selected ports for an aggregation group
IMPORTANT: The minimum and maximum numbers 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 states of aggregation member ports and the state of the aggregate interface.
When the number of member ports eligible to be Selected ports is smaller than the minimum threshold, the following events occur:
The eligible member ports are placed in Unselected state.
The link layer state of the aggregate interface becomes down.
When the number of member ports eligible to be Selected ports reaches or exceeds the minimum threshold, the following events occur:
The eligible member ports are placed in Selected state.
The link layer state of the aggregate interface becomes up.
The maximum number of Selected ports allowed in an aggregation group is limited by either manual configuration or hardware limitation, whichever value is smaller.
You can implement backup between two ports by performing the following tasks:
Assigning two ports to an aggregation group.
Setting the maximum number of Selected ports to 1 for the aggregation group.
Then, only one Selected port is allowed in the aggregation group, 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 min-number | By default, the minimum number of Selected ports is not specified for an aggregation group. |
4. Set the maximum number of Selected ports for the aggregation group. | link-aggregation selected-port maximum max-number | By default, the maximum number of Selected ports for an aggregation group depends on hardware limitation. |