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#

  1. on_off: byte, enables/disables policer. Note: PED_ENABLE is not supported for the policer.

  • OFF = 0

  • ON = 1

  1. mode: byte, policer mode.

  • L1 = 0

  • L2 = 1

  1. cir: integer, policer committed information rate in units of 100 kbps (range 0 to 1000000), default is 0.

  2. cbs: integer, policer committed burst burst in bytes (range 0 to 4194304), default is 0.

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