C613-50170-01 Rev B
Command Reference for x510 Series
710
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L
INK
A
GGREGATION
C
OMMANDS
PLATFORM
LOAD
-
BALANCING
platform load-balancing
Overview
This command selects which address fields are used as inputs into the load
balancing algorithm for aggregated links. The output from this algorithm is used
to select which individual path a given packet will traverse within an aggregated
link.
The
no
variant of this command turns off the specified inputs.
Syntax
platform load-balancing [src-dst-mac] [src-dst-ip]
[src-dest-port] [ethertype]
no platform load-balancing [src-dst-mac] [src-dst-ip]
[src-dest-port] [ethertype]
Default
By default, all load-balancing input options are used.
Mode
Global configuration
Usage
By default, all load-balancing input options are turned on. Therefore, to use a
different set of inputs, you must
turn off
the inputs you do not want.
Useful combinations of inputs include:
•
all four inputs
•
MAC address, IP address and Layer 4 port number
•
MAC address and Ethertype
•
MAC address only
•
IP address and Layer 4 port number
•
IP address only
The following examples show how to configure some of these combinations.
Use the
command to verify this command’s setting.
Parameter
Description
src-dst-mac
Include the source and destination MAC addresses (Layer 2)
src-dst-ip
Include the source and destination IP addresses (Layer 3).
If you choose this option, the algorithm will use MAC addresses
to calculate load balancing for Layer 2 and non-IP packets.
src-dst-port
The source and destination TCP/UDP port data (Layer 4). If you
include this option, make sure that
src-dst-ip
is also selected.
ethertype
A two-octet field in an Ethernet frame that shows which protocol
is encapsulated in the payload of the Ethernet frame. Ethertype
is the same for all IP traffic, but is different for different kinds of
non-IP traffic.