After enabling BMP with pre-policy and post-policy RIB-Out to multiple BMP stations, Routing Engine (RE) memory usage increases on several routers. The spike happens right after the commit that activates this BMP configuration.
1-- Export less BMP data
2-- Limit which peers send BMP
3-- Trim and simplify BMP behavior
4-- Validate on one router/switch first
show system memory
show system processes extensive | match rpd
BGP Monitoring Protocol | Junos OS
https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-monitoring-protocol.html
Supported Standards for BGP (includes BMP, Local-RIB, Adj-RIB-Out draft)
https://www.juniper.net/documentation/us/en/software/junos/standards/bgp/topics/concept/bgp.html
KB – Junos/Evo: High RPD CPU Utilization caused by BMP (login required)
https://supportportal.juniper.net/s/article/JunosEvo-High-RPD-CPU-Utilization-caused-by-BGP-Monitoring-Protocol-BMP
KB – Change in implementation of BMP protocol in Junos OS 19.1 / 18.2X75-D30 (login required)
https://supportportal.juniper.net/s/article/Change-in-implementation-of-BMP-protocol-in-Junos-OS-release-19-1-and-18-2X75-D30