ecmp-local-bias
Syntax
ecmp-local-bias;
Hierarchy Level
[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.
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.
On MX Series routers with MPC10 or MPC11 line cards, traffic from
any physical interface to these MPC line cards will always take a fabric hop
before forwarding to any physical link in egress. Despite the
local-bias
feature, the input traffic on that physical
interface increases the fabric statistics count.
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.