Symptom
customer trying to change the lacp min-link value change does not take effect. this value should be changed when port-channel up state as well
N9k# show port-channel internal info interface port-channel 411 | inc min-links
pc min-links : 2
Conditions
The problem is that NX-OS CLI accepts the hidden command "port-channel min-links " which is an IOS command. NXOS should not accept this command.
Once under port-channel if we apply "port-channel min-links ", we can see under port-channel that this command gets converted to lacp min-link in nxos configuration.
Once we are in this state changing or removing lacp min-link will not work.
customer applied "port-channel min-links " an IOS command by mistake and NXOS took it however showed it as "lacp min-links ".
Workaround
we need to apply same IOS command with no keyword "no port-channel min-links" to remove the min-link and then apply lacp-min link to change the value of min-link i.e You must commit "no port-channel min-links " to restore the right behavior.
Further Problem Description