What is the difference between 'rx-bytes' and 'bytes received' in the output of 'show interface' command?
6197
Created On 07/06/22 02:48 AM - Last Modified 04/01/24 20:55 PM
Question
What is the difference between 'rx-bytes' and 'bytes received' in the output of 'show interface' command?
Environment
- Palo Alto Firewalls
- Supported PAN-OS
Answer
- Statistics of 'rx-bytes' is read from physical interface MAC.
- Statistics of 'bytes received' is incremented by the dataplane as and when packets are processed.
- Below is sample output of 'show interface' command:
--------------------------------------------------------------------------------
Physical port counters read from MAC:
--------------------------------------------------------------------------------
rx-broadcast 570292
rx-bytes 144011989
rx-multicast 563444
rx-unicast 481282
tx-broadcast 98
tx-bytes 2840824690
tx-multicast 39437
tx-unicast 1979477
--------------------------------------------------------------------------------
Logical interface counters read from CPU:
--------------------------------------------------------------------------------
bytes received 118959057
bytes transmitted 1419977459
packets received 1444356
packets transmitted 1025020
receive errors 0
packets dropped 523728
packets dropped by flow state check 0
forwarding errors 0
no route 0
arp not found 1
neighbor not found 0
neighbor info pending 0
mac not found 0