Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

post-policy

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 13.2X51-D15 for the QFX Series.

Statement introduced in Junos OS Release 13.3.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Description

For BMP route monitoring, allows you to excludes routes that are non-eligible for the decision process (for example, protocol nexthop not resolved). This represents the view of the BGP routes after running the import policy. If the import policy has rejected the BGP route, the route does not exist in the post policy view.

Note

If post-policy is configured the router applies the import policies on the routes received so that BMP can display the routes as follows:

  • If an import policy modifies any parameters in the route, the route is displayed by BMP with the new values.

  • If an import policy modifies the NH and the NH is unresolved by the local router, the route is displayed by BMP as reachable.

  • If an import policy rejects a route, it is displayed as unreachable in BMP update.

  • If a route is received with unreachable NH, but the import policy doesn't reject the route, then BMP displays the route as reachable.

Using post-policy with exclude-non-eligible causes an unreachable BMP update in the following:

  • If an import policy modifies the NH and the NH is unresolved by the local router, the route is displayed by BMP as unreachable.

  • if a route is received with a NH that is unreachable, and the import policy does not reject this route, it is displayed by BMP as unreachable.

Note

If you have initially configured post-policy route monitoring, but later delete the initial configuration and configure pre-policy route monitoring, then the previously advertised post-policy routes are withdrawn. Conversely, if you have initially configured pre-policy route monitoring and later modify it to post-policy route monitoring, then the previously advertised pre-policy routes are withdrawn.

Options

exclude-non-eligibleExclude routes that are non-eligible for the decision process.

Required Privilege Level

routing—To view this statement in the configuration.

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