P4_PORT_COUNTERS

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

Description

Return total port transmit error statistics since last clear.

Actions

get

Parameters

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

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

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

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

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

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

Example

# get
input:  0/1 P4_PORT_COUNTERS ?
output: 0/1 P4_PORT_COUNTERS 3620000 3610000 0 0 2173