PR_TOTAL

code: 240

# get
<module-index>/<port-index> PR_TOTAL ?

Description

Obtains statistics concerning all the packets received on a port.

Actions

get

Parameters

  1. bit_count_last_sec: long integer, number of bits received in the last second.

  2. packet_count_last_sec: long integer, number of packets received in the last second.

  3. byte_count_since_cleared: long integer, number of bytes received since statistics were cleared.

  4. packet_count_since_cleared: long integer, and number of packets received since statistics were cleared.

Example

# get
input:  0/1 PR_TOTAL ?
output: 0/1 PR_TOTAL 80000 8000 10000 8000