PE_BANDSHAPER
code: 1663
# set
<module-index>/<port-index> PE_BANDSHAPER [<flow_index>] <on_off> <mode> <cir> <cbs> <buffer_size>
# get
<module-index>/<port-index> PE_BANDSHAPER [<flow_index>] ?
Description
Configures the bandwidth shaper. L1 (0) (Shaper performed at Layer 1 level. I.e. including the preamble and min interpacket gap) L2 (1) (Shaper performed at Layer 2 level. I.e. excluding the preamble and min interpacket gap) Default value: L2 (0)
Actions
set, get
Parameters
on_off
: byte, enables/disables shaper.
OFF = 0
ON = 1
mode
: byte, shaper mode.
L1 = 0
L2 = 1
Example
# set
input: 0/1 PE_BANDSHAPER [0] OFF L1 1 1 1
output: <OK>
# get
input: 0/1 PE_BANDSHAPER [0] ?
output: 0/1 PE_BANDSHAPER [0] OFF L1 1 1 1