PD_ENABLE#

code: 143

# set
<module-index>/<port-index> PD_ENABLE [<dataset_index>] <on_off>

# get
<module-index>/<port-index> PD_ENABLE [<dataset_index>] ?

Description#

Whether a histogram is currently active on a port. When turned on, all the bucket counts are cleared to zero. Subsequently each packet matching the histogram source criteria is counted into one of the buckets. While a histogram is enabled its parameters cannot be changed.

Actions#

set, get

Parameters#

  1. on_off: byte, whether the histogram is enabled

  • OFF = 0

  • ON = 1

Example#

# set
input:  0/1 PD_ENABLE [0] OFF
output: <OK>

# get
input:  0/1 PD_ENABLE [0] ?
output: 0/1 PD_ENABLE [0] OFF