P4_PORT_RX_COUNTERS#

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

Description#

Return total port receive statistics since last clear.

Actions#

get

Parameters#

current_time: long integer, total port receive statistics since last clear.

ref_time: long integer, total port receive statistics since last clear.

vlan_packet_count: long integer, total port receive statistics since last clear.

bits_per_sec: long integer, total port receive statistics since last clear.

byte_count: long integer, total port receive statistics since last clear.

Example#

# get
input:  0/1 P4_PORT_RX_COUNTERS ?
output: 0/1 P4_PORT_RX_COUNTERS 123456789123 123456789123 123456789123 123456789123 123456789123