IP Router Configuration
Router Configuration Guide 177
Context config>router>interface>load-balancing
Description This command specifies whether to include source address or destination address or both in LAG/
ECMP hash on IP interfaces. Additionally, when l4-load-balancing is enabled the command applies
also to inclusion of source/destination port in the hash inputs.
The no form of this command includes both source and destination parameters.
Default no egr-ip-load-balancing
Parameters source — Specifies using source address and (if l4-load balancing is enabled) source port in the
hash, ignore destination address/port.
destination — Specifies using destination address and (if l4-load balancing is enabled) destination
port in the hash, ignore source address/port.
inner-ip — Specifies use of the inner IP header parameters instead of outer IP header parameters
in LAG/ECMP hash for IPv4 encapsulated traffic.
lsr-load-balancing
Syntax lsr-load-balancing hashing-algorithm
no lsr-load-balancing
Context config>router>if>load-balancing
Description This command specifies whether the IP header is used in the LAG and ECMP LSR hashing algorithm.
This is the per interface setting.
Default no lsr-load-balancing
Parameters lbl-only — Only the label is used in the hashing algorithm.
lbl-ip — The IP header is included in the hashing algorithm.
ip-only — the IP header is used exclusively in the hashing algorithm
eth-encap-ip — The hash algorithm parses down the label stack (up to 3 labels supported) and
once it hits the bottom, the stack assumes Ethernet II non-tagged header follows. At the
expected Ethertype offset location, algorithm checks whether the value present is IPv4/v6
(0x0800 or0x86DD). If the check passes, the hash algorithm checks the first nibble at the
expected IP header location for IPv4/IPv6 (0x0100/0x0110). If the secondary check passes,
the hash is performed using IP SA/DA fields in the expected IP header; otherwise (any of the
check failed) label-stack hash is performed.
spi-load-balancing
Syntax [no] spi-load-balancing
Context config>router>if>load-balancing