PT_FLOWTOTAL

code: 1740

# get
<module-index>/<port-index> PT_FLOWTOTAL [<flow_index>] ?

Description

Obtains statistics concerning all the packets transmitted from a between this receive port and its partner TX port.

Actions

get

Parameters

  1. l2_bps: long integer, number of bits transmitted at layer 2 in the last second for the flow,

  2. pps: long integer, number of packets transmitted in the last second for the flow,

  3. byte_count: long integer, number of bytes transmitted since statistics were cleared for the flow,

  4. packet_count: long integer, number of packets transmitted since statistics were cleared for the flow

Example

# get
input:  0/1 PT_FLOWTOTAL [0] ?
output: 0/1 PT_FLOWTOTAL [0] 123456789123 123456789123 123456789123 123456789123