PT_NOTPLDEXT

code: 237

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

Description

PT_NOTPLDEXT is an extension to PT_NOTPLD that also includes a calculation of bytes transmitted in the last second. PT_NOTPLDEXT returns list of long integers; this list may be expanded in future software releases.

Actions

get

Parameters

  1. bit_count_last_sec: long integer, number of bits transmitted in the last second, same as in PT_NOTPLD.

  2. byte_count_last_sec: long integer, number of bytes transmitted in the last second.

  3. packet_count_last_sec: long integer, number of packets transmitted in the last second, same as in PT_NOTPLD.

  4. byte_count_since_cleared: long integer, number of bytes transmitted since statistics were cleared, same as in PT_NOTPLD.

  5. packet_count_since_cleared: long integer, number of packets transmitted since statistics were cleared, same as in PT_NOTPLD.

Example

# get
input:  0/1 PT_NOTPLDEXT ?
output: 0/1 PT_NOTPLDEXT 80000 10000 8000 10000 8000