Description

Telemetry showing gaps in reporting BGP state info under path /network-instances/network-instance/

Symptoms

We have subscriptions to the following Telemetry sensors. 

 

/network-instances/network-instance/

/lacp/interfaces/ 

/interfaces/interface/

/components/component/ 

 

In version 22.2R3-S3.18 everything is working as expected.

 

We are receiving information for the following sensor path every 30 seconds.

 

"/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/session-state"

 

After the we upgraded from version 22.2R3-S3.18 to version 23.4R2-S5.6 we started to see gaps in the sensor paths located in /network-instances/network-instance/

 

In version 23.4R2-S5.6 we are getting information for "/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/session-state" around 52 minutes (this time may vary to any randome value). 


Solution

We have significant OpenConfig (OC) model change between software versions that could impact the performance.

 

This is one of the BGP related [other protocol also might have few re-arrangement].

 

In 22.2R3 (OC Model 4.0.1): The BGP RIB was an independent container.

In 23.4R2 (OC Model 9.1.0): We upgraded, and the BGP RIB was moved under the network-instance path (/network-instances/network-instance/protocols/protocol/bgp/rib/).

 

This structural change means subscribing to the broad path /network-instances/network-instance/ now streams the entire BGP RIB. Performance is directly impacted by the number of BGP prefixes, as this subscription has to process significantly more data.

 

Therefore, our suggestion is to avoid that path and instead use the more specific subscription for neighbor state: /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor


After subscription to the following paths MX routers were reporting BGP data correctly and frequency is back to normal (30sec).


/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/

/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/

/network-instances/network-instance/protocols/protocol/bgp/global/

Modification History

2025-11-18 : Article Created