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 port).

Actions

set

Parameters

  1. on_off: byte, determines whether to start or stop traffic generation

  • OFF = 0

  • ON = 1

  1. module_ports: integer list, specifies ports on modules, which should stop or start generating traffic

Example

# set
input:  C_TRAFFIC OFF 0 0 0 1
output: <OK>