PE_BANDPOLICER
code: 1662
# set
<module-index>/<port-index> PE_BANDPOLICER [<flow_index>] <on_off> <mode> <cir> <cbs>
# get
<module-index>/<port-index> PE_BANDPOLICER [<flow_index>] ?
Description
Configures the bandwidth policer.
Actions
set, get
Parameters
on_off
: byte, enables/disables policer. Note: PED_ENABLE is not supported for the policer.
OFF = 0
ON = 1
mode
: byte, policer mode.
L1 = 0
L2 = 1
Example
# set
input: 0/1 PE_BANDPOLICER [0] OFF L1 1 1
output: <OK>
# get
input: 0/1 PE_BANDPOLICER [0] ?
output: 0/1 PE_BANDPOLICER [0] OFF L1 1 1