P4_PORT_TX_COUNTERS#

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

Description#

Return total port transmit statistics since last clear.

Actions#

get

Parameters#

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

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

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

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

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

Example#

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