P4_ETH_TX_COUNTERS#

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

Description#

Return total port Ethernet transmit statistics since last clear.

Actions#

get

Parameters#

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

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

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

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

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

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

Example#

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