Specifies the port-channel interface to configure, and enters the interface configuration mode. The range is from 1 to 4096. Cisco NX-OS automatically creates the channel group if it does not already exist.
switch(config)# interface port-channel <channel-number>
Specifies the load-balancing algorithm for the device. The range depends on the device. The default is source-dest-mac.
switch(config)# port-channel load-balance ethernet {destination-ip | destination-mac | destination-port | source-dest-ip | source-dest-mac | source-dest-port | source-ip | source-mac | source-port}
Specifies the port mode for the link in an EtherChannel. The LACP feature must be enabled to configure a link or the entire channel as active or passive.
(If using LACP) switch(config)# feature lacp
channel-group channel-group-number mode{auto [non-silent] | desirable [non-silent] | on} |{active | passive}