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

nexthop-ecmp

date_range 20-Dec-24

Syntax

content_copy zoom_out_map
nexthop-ecmp (value | equal | greater-than | greater-than-equal | less-than | less-than-equal);

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems name policy-options policy-statement name from],
[edit policy-options policy-statement name from]
        

Description

Qualify nexthop equal cost multipath gateways. The BGP export policy compares the number of ECMP next hops for the BGP route against the value you configure with the from nexthop-ecmp statement at either of these hierarchies: [edit policy-options policy-statement policy-name] or [edit policy-options policy-statement policy-name term term-name].

Options

value

The exact number of ECMP gateways (1 through 512) required to meet the condition.

equal

The number of gateways must be equal to the configured value.

greater-than

The number of gateways must be greater than the configured value.

greater-than-equal

The number of gateways must be greater than or equal to the configured value.

less-than

The number of gateways must be less than the configured value.

less-than-equal

The number of gateways must be less than or equal to the configured value.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 24.4.

footer-navigation