PP_LINKFLAP_PARAMS#

code: 287

# set
<module-index>/<port-index> PP_LINKFLAP_PARAMS <duration> <period> <repetition>

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

Description#

Set port ‘link flap’ parameters. Notice: Period must be larger than duration.

Actions#

set, get

Parameters#

  1. duration: integer, 0 ms - 1000 ms; increments of 1 ms; 0 = permanently link down.

  2. period: integer, 10 ms - 50000 ms; number of ms - must be multiple of 10 ms.

  3. repetition: integer, 1 - 64K; 0 = continuous.

Example#

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

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