Description

show services accounting flow inline-jflow fpc-slot * results in "error: picinfo: connect failed after 5 retries" error

Solution

show services accounting flow inline-jflow fpc-slot * results in "error: picinfo: connect failed after 5 retries" error when sampling is disabled for the respective FPC. This is an expected behaviour when sampling is disabled.

 

Here is a snippet of the config and outputs for reference:

root@router-re0# show | display set | match TEST_INFLOW_SAMPLING                                   

set chassis fpc 2 sampling-instance TEST_INFLOW_SAMPLING

set forwarding-options sampling instance TEST_INFLOW_SAMPLING input rate 5000

set forwarding-options sampling instance TEST_INFLOW_SAMPLING input run-length 0

set forwarding-options sampling instance TEST_INFLOW_SAMPLING family inet output flow-server 8.8.8.8 port 9005

set forwarding-options sampling instance TEST_INFLOW_SAMPLING family inet output flow-server 8.8.8.8 version-ipfix template v4-ipfix-template

set forwarding-options sampling instance TEST_INFLOW_SAMPLING family inet output inline-jflow source-address 10.219.26.205

set forwarding-options sampling instance TEST_INFLOW_SAMPLING family inet output inline-jflow flow-export-rate 40

 

root@router-re0# show chassis fpc 2 | display set 

set chassis fpc 2 sampling-instance TEST_INFLOW_SAMPLING

 

root@router-re0# run show services accounting flow inline-jflow fpc-slot 2 

 Flow information

  FPC Slot: 2

  Flow Packets: 0, Flow Bytes: 0

  Active Flows: 0, Total Flows: 0

  Flows Exported: 0, Flow Packets Exported: 0

  Flows Inactive Timed Out: 0, Flows Active Timed Out: 0

  Total Flow Insert Count: 0

 

  IPv4 Flows:

  IPv4 Flow Packets: 0, IPv4 Flow Bytes: 0

  IPv4 Active Flows: 0, IPv4 Total Flows: 0

  IPv4 Flows Exported: 0, IPv4 Flow Packets exported: 0

  IPv4 Flows Inactive Timed Out: 0, IPv4 Flows Active Timed Out: 0

  IPv4 Flow Insert Count: 0

 

root@router-re0# deactivate chassis fpc 2 sampling-instance TEST_INFLOW_SAMPLING 

root@router-re0# show | compare 

[edit chassis fpc 2]

!   inactive: sampling-instance TEST_INFLOW_SAMPLING { ... }

 

root@router-re0# run show services accounting flow inline-jflow fpc-slot 2      

error: picinfo: connect failed after 5 retries

 

Modification History

2025-02-04 : Article Created