PR_TOTALEXT#

code: 257

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

Description#

PR_TOTALEXT is an extension of PR_TOTAL that also includes a calculation of bytes received in the last second, as well as a number of port error counters. PR_TOTALEXT returns list of long integers. This list may be expanded in future software releases.

Actions#

get

Parameters#

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

  2. byte_count_last_sec: long integer, number of bytes received in the last second.

  3. packet_count_last_sec: long integer, number of packets received in the last second, same as in PR_TOTAL.

  4. byte_count_since_cleared: long integer, number of bytes received since statistics were cleared, same as in PR_TOTAL.

  5. packet_count_since_cleared: long integer, and number of packets received since statistics were cleared, same as in PR_TOTAL.

  6. fcs_error_count: long integer, number of packets received with fcs error frames, same as in PR_EXTRA.

  7. oversize_count: long integer, number of oversize packets received since last clear; -1 if this counter is not supported by the tester.

  8. undersize_count: long integer, number of undersize packets received since last clear; -1 if this counter is not supported by the tester.

  9. jabber_count: long integer, number of jabber packets received since last clear; -1 if this counter is not supported by the tester.

Example#

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