Users may find that the transmit and receive bits per second (bps) values reported by analytics are incorrect in QFX5100 after upgrading the device to Junos OS 17.3R3-S3.
This article gives the cause for incorrect values to be reported and indicates the Junos OS release in which the issue is resolved.
Example
Consider that a fixed and steady stream of 1056000 bps is being sent to the QFX5100 device via xe-0/0/46 but when looking at the analytics statistics for that interface, the bits per second value does not match what is being sent to the QFX device. The analytics is reporting 8448000 bps, which is incorrect.
Interface: xe-0/0/46, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 10000mbps
Traffic statistics: Current delta
Input bytes: 917930739818 (1056000 bps) [2158002]
Output bytes: 99110760068 (0 bps) [0]
Input packets: 5323313021 (2000 pps) [32697]
Output packets: 1501678244 (0 pps) [0]
Error statistics:
Input errors: 45280031 [0]
Input drops: 0 [0]
Input framing errors: 344 [0]
Policed discards: 0 [0]
L3 incompletes: 0 [0]
L2 channel errors: 0 [0]
L2 mismatch timeouts: 0 [0]
Carrier transitions: 9 [0]
Output errors: 0 [0]
Output drops: 0 [0]
Aged packets: 0 [0]
Active alarms : None
Active defects: None
Input MAC/Filter statistics:
Unicast packets 5323312080 [32697]
Broadcast packets 941 [0]
Multicast packets 0 [0]
Oversized frames 45280031 [0]
Packet reject count 0 [0]
DA rejects 0 [0]
SA rejects 0 [0]
Output MAC/Filter Statistics:
Unicast packets 1501676227 Broadcast packets [0]
{master:0}
root@QFX5100> show analytics traffic-statistics interface xe-0/0/46 | match "Traffic|Bits"
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8450048 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
Traffic Statistics: Receive Transmit
Bits per second: 8445376 0
Traffic Statistics: Receive Transmit
Bits per second: 8448000 0
This is due to incorrect programming where the analytics is multiplying the incoming packet by 8 bits and reporting that as the output: 1056000 X 8 bits = 8448000.
This issue is fixed in Junos OS Release 17.3R4 and later.