P_TXPACKETLIMIT

code: 352

# set
<module-index>/<port-index> P_TXPACKETLIMIT <packet_count_limit>

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

Description

The number of packets that will be transmitted from a port when traffic is started on the port. A value of 0 or -1 makes the port transmit continuously. Traffic from the streams on the port can however also be set to stop after transmitting a number of packets.

Actions

set, get

Parameters

  1. packet_count_limit: integer, the number of packets that will be transmitted from the port when traffic is started on the port

Example

# set
input:  0/1 P_TXPACKETLIMIT 1
output: <OK>

# get
input:  0/1 P_TXPACKETLIMIT ?
output: 0/1 P_TXPACKETLIMIT 1