port-channel min-links
Use this command to set the minimum number of aggregated links that need to be up in the LAG interface.
When a the minimum number of links are configured for a LAG, if the active links for that interface become less than the configured value, then the whole LAG is brought down. When the number of active links become the same or more than the configured value, then the whole LAG is restored.
Use the no form of this command to remove the minimum number of aggregated links that need to be up in the LAG interface.
Note: The minimum number of aggregated links should be same across both ends of an aggregation interface. If not configured, then on one of the nodes the LAG port will be treated as up and on the other as down and traffic will be discarded.
Note: When a LAG port is moved to the down state because it does not have the minimum number of required links up and running, then the traffic on the remaining interfaces in the LAG will be counted as port-block discards.
Note: While configuring min-links, it is recommended to configure PO (LACP) min-links only on one end of an etherchannel because it is specific to the each actor and triggers fail-over. The fail-over depends on the mux state and lacp timeout.
Command Syntax
port-channel min-links <2-32>
no port-channel min-links
Parameters
<2-32>
Minimum number of links
Default
By default, port channel min-link is disabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface po1
(config-if)#port-channel min-links 10
(config-if)#exit
Last modified date: 07/06/2023