port-channel load-balance
Use this command to configure LACP port-channel load-balancing and set port-selection criteria (PSC) for an interface.
Use the no option with this command to remove the load-balancing configuration and unset PSC.
Command Syntax
port-channel load-balance (dst-mac|src-mac|src-dst-mac|dst-ip|src-ip|src-dst-ip|dst-port|src-port|src-dst-port|rtag7)
no port-channel load-balance
Parameters
dst-ip
Destination IP address-based load balancing.
dst-mac
Destination MAC address-based load balancing.
dst-port
Destination TCP/UDP address-based load balancing.
src-dst-ip
Source and Destination IP address-based load balancing.
src-dst-mac
Source and Destination MAC address-based load balancing.
src-dst-port
Source and Destination TCP/UDP address-based load balancing.
src-ip
Source IP address-based load balancing.
src-mac
Source MAC address-based load balancing.
src-port
Source port address-based load balancing.
rtag7
Hashing based on packet type. IP - IP/Layer4 header, L2 - Layer2 header, TRILL - TRILL packet.
Default
By default, load balance is src-dst-port
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface po1
(config-if)#port-channel load-balance src-dst-mac
Last modified date: 07/13/2023