port-channel load-balance
To configure load balancing for port channels, use the port-channel load-balance command in switch configuration mode. To restore the default configuration, use the no form of this command.
port-channel load-balance { src-dst-mac | src-dst-mac-ip}
no port-channel load-balance
Syntax Description
src-dst-mac |
Enables load balancing based on the source and destination MAC addresses. |
src-dst-mac-ip |
Enables load balancing based on the source and destination MAC and IP addresses. |
Command Default
None
Command Modes
Switch configuration (config-switch)
Command History
Release | Modification |
---|---|
3.6.1 |
This command was introduced. |
Examples
The following example enables load balancing based on the source and destination MAC addresses:
nfvis(config-switch)# port-channel load-balance src-dst-mac
nfvis(config-switch)# commit
nfvis(config-switch)# end