Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

prefix-policy

Syntax

prefix-policy [ policy-names ];

Hierarchy Level

[edit logical-systems logical-system-name protocols bgp group group-name family family add-path send],[edit logical-systems logical-system-name protocols bgp group group-name neighbor address family family add-path send],[edit protocols bgp group group-name family family add-path send],[edit protocols bgp group group-name family family add-path neighbor address family family add-path send]

Release Information

Statement introduced in Junos OS Release 11.3.

Description

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.

Options

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.

Published: 2013-07-25