Description

The problem is that on one MX304 end customer is not able to get any telemetry data for /junos/services/label-switched-path/usage path.

Solution

For UHP egress LSPs & P2MP LSP stats, rsvp creates sensors with empty lsp-names.

When these sensors with empty lsp names get installed into PFE, it leads to wrong data being exported to collector since name is part of the key.

 

This is fixed via internal PR 1888311.

As a fix, encode lsp name when sensors are being created.

 

We can find same in pfe as blank values without lsp name.

 

labroot@jtac-mx304-r2029-re0> start shell pfe network fpc0 

root@jtac-mx304-r2029-re0-fpc0:pfe> show agent sensor type lsp subtype lsp-rsvp-based 

Packets   Bytes  PacketRate  ByteRate    Countername     SID       Name

---------------------------------------------------------------------------------------------

0      0       0       0       oc-9      281475513581577  

1      64      0       0       oc-11     281475513581579  

1      64      0       0       oc-13     281475513581581  

1      64      0       0       oc-15     281475513581583  

1      64      0       0       oc-25     281475513581593  

1      64      0       0       oc-27     281475513581595  

1      64      0       0       oc-29     281475513581597  

0      0       0       0       oc-30     281475513581598   LSP1

0      0       0       0       oc-32     281475513581600   LSP2

0      0       0       0       oc-34     281475513581602   LSP3

1      64      0       0       oc-37     281475513581605  

0      0       0       0       oc-38     281475513581606   LSP4

0      0       0       0       oc-40     281475513581608   LSP5

1      64      0       0       oc-43     281475513581611  

0      0       0       0       oc-44     281475513581612   LSP6

Modification History

2025-12-15 : Article Created