Description

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.

Symptoms

  • RE memory jumps soon after enabling BMP pre/post RIB-Out.
  • show system memory shows higher overall usage.
  • show system processes extensive | match rpd shows increased memory for rpd.
  • Same pattern appears on multiple nodes with similar BMP RIB-Out settings.

Solution

1-- Export less BMP data

  • Use either pre-policy or post-policy RIB-Out, not both.
  • Where per-peer view is not needed, use Loc-RIB instead of Adj-RIB-Out (lighter on memory).

2-- Limit which peers send BMP

  • Disable BMP on iBGP groups/neighbors under protocols bgp (peer/peer-group level), not on the station.
  • Keep BMP mainly on route reflectors and edge/eBGP peers.

3-- Trim and simplify BMP behavior

  • Exclude non-used routes where possible (non-feasible / non-eligible).
  • Avoid extra-heavy BMP options (features that keep long-term advertisement state or extra in-memory stats).

4-- Validate on one router/switch first

  • Apply the reduced BMP settings on a single node and monitor:

show system memory

show system processes extensive | match rpd


  • If memory usage improves, roll the same pattern to other switches.

Modification History

2026-01-05 : Article Created

Related Information

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