PR_FILTEREXT#

code: 260

# get
<module-index>/<port-index> PR_FILTEREXT [<filter_index>] ?

Description#

PR_FILTEREXT is an extension of PR_FILTER that also includes a calculation of bytes received in the last second. PR_FILTEREXT 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_FILTER.

  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_FILTER.

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

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

Example#

# get
input:  0/1 PR_FILTEREXT [0] ?
output: 0/1 PR_FILTEREXT [0] 80000 10000 8000 10000 8000