Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

nexthop-ecmp

Syntax

Hierarchy Level

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.