P4_ETH_COUNTERS#

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

Description#

Return total port Ethernet statistics since last clear.

Actions#

get

Parameters#

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

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

tx_error_count: long integer, total port Ethernet statistics since last clear.

rx_error_count: long integer, total port Ethernet statistics since last clear.

rx_packet_lost_count: long integer, total port Ethernet statistics since last clear.

Example#

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