Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

multipath (OSPF SPF Options)

Syntax

Hierarchy Level

Description

Enable weighted equal-cost multipath (ECMP) for load-sharing data based on the bandwidth for incoming traffic destined to OSPFv2 neighbors that are at a one-hop distance. The OSPFv2 protocol gets the logical interface bandwidth information associated with the gateways of ECMP next hop and shares this information with the routing protocol process (rpd) and the Packet Forwarding Engine.

Instead of distributing traffic equally over multiple paths, weighted equal-cost multipath (ECMP) routing distributes traffic based on the total available bandwidth for each gateway of a next hop. It thereby distributes traffic unequally over multiple paths and utilizes available bandwidth more efficiently for better load balancing.

Note:

Weighted equal-cost multipath routing displays unequal traffic distribution prominently when the traffic flow is as heavy as 10000 flows.

Options

weighted

Enable weighted ECMP for efficient load sharing.

one-hop

Enable weighted ECMP load balancing on IOSPFv2 neighbors that are just one hop away based on the interface bandwidth.

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 and Junos OS Evolved Release 24.2R1.