Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Create policy-based multipath route using a combination of segment routing traffic-engineered (SR-TE) LDP or RSVP routes and SR-TE IP routes. You can resolve BGP service routes over the mutlipath route, and apply export policies to steer traffic differently for different prefixes. The policy-based multipath feature is supported for both IP and IPv6 protocols.



Import policy to create policy-based multipath.


This statement is supported only at the [edit routing-option policy-multipath] hierarchy level.

Any action commands configured in the policy, such as apply, is evaluated using the active route. For non-active routes, the policy is applied to check if the routes can participate in the multipath route or not. Multipath routes inherit all attributes of the active route. These attributes can be modified using the multipath policy configuration.


Enable expanded nh hierarchy support for policy-multipath routes for RIBs. For any inet[6].3 RIBs, the preserve-nexthop-hierarchy is enabled by default.


This statement is supported only at the [edit routing-options rib <rib-name> policy-multipath] hierarchy level.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level


Release Information

Statement introduced in Junos OS Release 19.1R1.