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
duration: integer, value ranges from 0 to 1000; increments of 1; 0 = permanently link down. Unit millisecond.period: integer, value ranges from 10 to 50000; Unit millisecond. (if the value is not a multiple of 10, it will be rounded up to the nearest multiple of 10 automatically)repetition: integer, value ranges from 1 to 65535; 0 = continuous.
Example
# set
input: 0/1 PP_LINKFLAP_PARAMS 11 100 0
output: <OK>
# get
input: 0/1 PP_LINKFLAP_PARAMS ?
output: 0/1 PP_LINKFLAP_PARAMS 11 100 0