Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

route-monitoring

Syntax

Hierarchy Level

Description

Specify whether BMP should send pre-policy route monitoring messages, post-policy route monitoring messages, both types of messages, or none at all. The pre-policy can be configured to exclude routes that are non-feasible for the decision process (for example, a route loop). The post-policy can be configured to exclude routes that are not eligible for the decision process (for example, protocol next-hop not resolved).

You can also selectively enable or disable BMP route monitoring at various hierarchy levels (for example, [edit protocols bgp group group-name] or [edit protocols bgp group group-name neighbor address]).

Note:

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

Options

none

Explicitly disables BMP route monitoring.

  • Default: If you configure the route-monitoring statement at the [edit routing-options bmp] hierarchy level, the default option is pre-policy.

    Note:

    If post-policy or pre-policy is not configured explicitly, then the default mode pre-policy would be applicable.

    The route-monitoring options pre-policy, post-policy, rib-out pre-policy, and rib-out post-policy are not mutually exclusive. You can configure any combination, or none, or all. If none of the options are configured, pre-policy remains as the default.

    If you configure the route-monitoring statement at any of the [edit protocols bgp] hierarchy levels, the default option is to inherit the configuration from the route-monitoring statement configured at the [edit routing-options bmp] hierarchy level.

loc-rib

Send local-rib route monitoring messages.

post-policy

For BMP route monitoring, allows you to exclude routes that are non-eligible for the decision process (for example, protocol next-hop 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 device 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 next-hop and the next-hop is unresolved by the local device, the route is displayed by BMP as reachable.

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

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

  • Values: exclude-non-eligible—Exclude routes that are non-eligible from the decision process.

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

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

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

pre-policy

Excludes routes that are non-feasible from the BMP route monitoring decision process (for example, a route loop). This represents the view of the BGP routes before running the import policy.

  • Values: exclude-non-feasible—Exclude routes that are non-feasible from the decision process.

rib-out

Send adj-ribs-out route monitoring messages.

  • Values:

    • post-policy—Send post-policy adj-ribs-out route monitoring messages.

    • pre-policy—Send pre-policy adj-ribs-out route monitoring messages.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 13.2X51-D15.

rib-out option introduced in Junos OS Release 19.1R1.

loc-rib option introduced in Junos OS Release 19.2R1.