route-monitoring
Syntax
route-monitoring { none; loc-rib; post-policy { exclude-non-eligible; } pre-policy { exclude-non-feasible; } rib-out { post-policy; pre-policy; } }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp bmp], [edit logical-systems logical-system-name protocols bgp group group-name bmp], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address bmp], [edit logical-systems logical-system-name routing-options bmp], [edit logical-systems logical-system-name routing-options bmp station station-name], [edit protocols bgp bmp], [edit protocols bgp group group-name bmp], [edit protocols bgp group group-name neighbor address bmp], [edit routing-options bmp], [edit routing-options bmp station station-name]
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]
).
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.
|
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:
|
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.
|
rib-out | Send 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.