Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

ecmp-local-bias

Syntax

Hierarchy Level

Description

By default, equal cost multi-path (ECMP) traffic flows are distributed more-or-less equally between forwarding next-hops. Enable ecmp-local-bias to have ECMP traffic prefer local forwarding next-hops (that is, local to the packet forwarding engine (PFE) that is performing the packet look up) over remote ones, and to distribute the flows among local members. Local bias percentages cannot be assigned. Note that ecmp-local-bias is not intended to be used in conjunction with any other load balancing schemes.

This feature applies chassis-wide. It supports BGP prefixes that are directly reachable with IPv4 MPLS ECMP next-hops on Gigabit Ethernet (ge-) and 10-Gigabit Ethernet (xe-) interfaces. Multicast traffic is not affected.

Use ecmp-local-bias when you need to direct ECMP traffic towards local links, for example, to ensure that the overall load on the fabric is reduced.

Note:

For packet forwarding engine (PFE) to achieve the functionality of ECMP local bias, the dependent config knob of ecmp-fast-reroute is required. In MX platforms, ecmp-fast-reroute configuration command is available as an explicit router configuration.

Default

Not enabled

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 19.2R1.