C_TRAFFICSYNC#

code: 70

# set
C_TRAFFICSYNC <on_off> <timestamp> <module_ports>

# get
C_TRAFFICSYNC ?

Description#

Works just as the C_TRAFFIC command described above with an additional option to specify a point in time where traffic should be started. This can be used to start traffic simultaneously on multiple chassis. The ports are identified by pairs of integers (module port).

Note

This requires that the chassis in question all use the TimeKeeper option to keep their CPU clocks synchronized.

Actions#

set, get

Parameters#

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

  • OFF = 0

  • ON = 1

  1. timestamp: long integer, the time where traffic should be started, expressed as the number of seconds since January 1 2010, 00

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

Example#

# set
input:  C_TRAFFICSYNC OFF 2147483647 0 0 0 1
output: <OK>

# get
input:  C_TRAFFICSYNC ?
output: C_TRAFFICSYNC OFF 2147483647 0 0 0 1