Chapter 8
8.2 Connecting to the controller
When using the DTrack2 CLI tool, please make sure to send commands and parameters
as one argument by using quotes:
DTrack2CLI myATC -set "config active_config" "config20170724121806418"
DTrack2CLI myATC -get "config active_config"
config20170724121806418
DTrack2CLI atc-301604025 -cmd "dtrack2 set config active_config config20160808102933552"
DTrack2CLI atc-301604025 -get "config active_config"
config20160808102933552
To switch back to the default configuration use the following command:
DTrack2CLI atc-301604025 -set "config active_config standard"
DTrack2CLI atc-301604025 -get "config active_config"
standard
Linux For Linux shell scripts, additionally the ’nc’ command can be used, e.g:
\$ echo -n "dtrack2 system shutdown" | nc 10.10.9.44 50105
dtrack2 ok
131