Layer 2 Switching Commands 630User GuidelinesFor a LAG that contains links distributed across stacking units, the defaultbehavior is to distribute locally received ingress traffic across all LAG links inthe stack per the selected hashing algorithm. When enabled, this commanddisables forwarding of ingress unicast traffic across stacking links for a LAGthat is comprised of links on multiple stack units. It does this by restrictingLAG hashing to only select egress links on the stack unit where the trafficingresses.CAUTION: If the capacity of the local egress LAG links is exceeded, traffic willbe discarded. Therefore, use of this option should be carefully considered, and theoperator must ensure that sufficient egress bandwidth is available in the LAG linkson every stack member to avoid excessive discards.By default, the local-preference mode for a port-channel is disabled. Thiscommand can be used only on port-channel interfaces.Exampleconsole(config)#interface port-channel 1console(config-if-Po1)#port-channel local-preferenceconsole(config-if-Po1)#no port-channel local-preferenceCommand HistoryExample added in the 6.4 release.port-channel min-linksUse the port-channel min-links command in Interface Configuration (port-channel) mode to set the minimum number of links that must be up in orderfor the port channel interface to be declared up. Use the no form of thecommand to return the configuration to the default value (1).Syntaxport-channel min-links <1-8>no port-channel min-links• min-links—The minimum number of links that must be active before thelink is declared up. Range 1-8. The default is 1.