P_GAPMONITOR#

code: 301

# set
<module-index>/<port-index> P_GAPMONITOR <start> <stop>

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

Description#

The gap-start and gap-stop criteria for the port’s gap monitor. The gap monitor expects a steady stream of incoming packets, and detects larger-than-allowed gaps between them. Once a gap event is encountered it requires a certain number of consecutive packets below the threshold to end the event.

Actions#

set, get

Parameters#

  1. start: integer, the maximum allowed gap between packets, in microseconds. (0 to 134.000 microseconds) 0 = disable gap monitor

  2. stop: integer, the minimum number of good packets required. (0 to 1024 packets) 0 = disable gap monitor

Example#

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

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