Description

When checking the data being captured via telemetry in PFE, output may be incomplete as the command is displaying current reap buffer and not expected to display all stats.

Symptoms

 

labroot@DUT> start shell pfe network fpc0 

 

FPC0(DUT vty)# sh agent sensors   

 

 Jvision ID Name

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

 539528113 sensor_1002      5000(0)

 539528114 sensor_1001      5000(4137)

 1948532958 AS_INTERFACE_IFD   3250(821)

 

Total number of jvision SENSORs = 3

 

 Non-JV ID Name

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

 

Total number of non-jvision SENSORs = 0

 

 

Solution

The output of below sensor may not display all interfaces if there're more than 5 interfaces stats that needs to be exported since the output is reading through reap buffer with limited size.

 

FPC0(DUT vty)# sh agent sensors id 1948532958            

ID: 1948532958 Type: 1 Name: (AS_INTERFACE_IFD)

Sensor Data: 849(821) bytes

Jvision Header: system: DUT:65.29.0.31, slot: 0, time: Wed Sep 18 18:12:18.277, sequence_number: 3019, sensor_name: AS_INTERFACE_IFD:/junos/system/linecard/interface/:/junos/system/linecard/interface/:PFE, version: 1.1

Interface = et-0/0/0:0 (540) Parent = ae25

Init time = Mon Sep 16 17:52:33 2024

 

 

 Egr Q0 Packets = 781 Bytes = 79172

  Drop Packets: Rate Limit =            0, RED =            0, Tail =            0

  Drop Bytes:  Rate Limit =            0, RED =            0

  Qlen Bytes: Average =       0, Current =       0, Peak =       0, Size =       0

 Egr Q1 Packets = 0 Bytes = 0

 

 

Modification History

2024-10-16 : Article Created