Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?





Hierarchy Level

Release Information

Statement introduced in Junos OS Release 11.3.


Filter the paths to a destination to advertise.

Prefix policies enable you to filter routes on a router that is configured to advertise multiple paths to a destination. Prefix policies can only match prefixes. They cannot match route attributes, and they cannot change the attributes of routes.

The add-path prefix-policy allows up to 64 BGP add-paths be advertised for a subset of prefixes that match the add-path prefix-policy. To enable this feature for a prefix, the add-path prefix-policy term matching the prefix should have a new then action to set add-path send-count <2...64>. This new action is not applicable if the policy-statement containing it is used in any place other than add-path prefix-policy.


policy-names—Name of a policy (or a set of policies) configured at the [edit policy-options] hierarchy level.

Required Privilege Level

routing—To view this statement in the configuration.

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