C_TRAFFIC
code: 55
# set
C_TRAFFIC <on_off> <module_ports>
Description
Starts or stops the traffic on a number of ports on the chassis simultaneously.
The ports are identified by pairs of integers (<module id> <port id>).
Actions
set
Parameters
on_off: byte, determines whether to start or stop traffic generation
OFF = 0
ON = 1
module_ports: integer list, specifies ports on modules, which should stop or start generating traffic. Each port is identified by a pair of integers (<module id> <port id>).
Example
# set
input: C_TRAFFIC OFF 0 0 0 1
output: <OK>