PR_FILTER#

code: 247

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

Description#

Obtains statistics concerning the packets satisfying the condition of a particular filter for 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, number of packets received since statistics were cleared.

Example#

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