port-channel min-links - dynamic LAG min-links
Use this command to set the minimum number of aggregated links that need to be up in the LAG(PO) interface. When the minimum number of links are configured for a LAG(PO), if the active links for that interface become less than the configured value, then the whole LAG(PO) 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: The
show debugging lacp feature and this feature are mutually exclusive. Both configurations cannot exist at the same time.
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 from OcNOS version 1.3.8
Example
#configure terminal
(config)#interface po1
(config-if)#port-channel min-links 10
(config-if)#exit
Last modified date: 07/13/2023