Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

load-balance (ecmp)

Syntax

Hierarchy Level

Description

Specify the type of load balancing of an equal-cost multipath (ECMP) in the forwarding table.

By default, Junos OS uses a hashing method based only on the destination address to elect a forwarding next hop when multiple equal-cost paths are available. As a result, when multiple routers or switches share the same set of forwarding next hops for a given destination, they can elect the same forwarding next hop.

Options

adaptive Adaptive load balancing. Dynamically manages and distributes traffic loads across multiple ECMP paths by monitoring packet and byte counts for each hash bucket and employing a feedback mechanism to detect and correct overload conditions.
consistent-hash

Prefix consistent load-balancing. Consistent load balancing ensures that if an ECMP member (that is, a path) fails, only flows flowing through the failed member are redistributed to other active ECMP members.

destination-ip-only

Destination based IP load-balancing. In equal-cost multipath, (ECMP) per-subscriber aware environments such as content service providers who service residential customers, traffic in both directions within the service provider network should always pass through the content servers that maintain the subscriber state information for a given subscriber. This is accomplished by calculating the load balancing hash based solely on source address for traffic coming into the service provider network and calculating the load balancing hash based solely on the destination address for traffic leaving the service provider network.

per-packet

Load-balance on a per-packet basis.

profile1

Per-packet load balance with hash keys in profile1.

profile2

Per-packet load balance with hash keys in profile2.

random

Load-balance using packet random spray.

source-ip-only

Source based IP load-balancing

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.2.