Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

ecmp-local-bias

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
ecmp-local-bias;

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options load-balance]

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.

footer-navigation