3.10.2. lag load-balance

Syntax

lag load-balance (src-dst-mac | src-dst-mac-ip) no lag load-balance

Parameter


src-dst-mac Specify algorithm to balance traffic by using source and destination MAC address for all packets.

src-dst-mac-ip Specify algorithm to balance traffic by using source and destination IP address for IP packets and using source and destination MAC address for non-IP packets.


Default

Default load balance algorithm is src-dst-mac

Mode

Global Configuration

Usage

Link aggregation group port should transmit packets spread to all ports to balance traffic loading. There are two algorithm supported and this command allow you to select the algorithm.

Example

This example shows how to change load balance algorithm to src-dst-mac-ip.

Switch(config)# lag load-balance src-dst-mac-ip