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

multipath (OSPF SPF Options)

date_range 03-Jun-24

Syntax

content_copy zoom_out_map
multipath [
    weighted {
        one-hop;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols ospf spf-options]

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.

footer-navigation