opConfig has some features only available through the command line tool, located at <omk_dir>/bin/opconfig-cli.exe.
CLI examples
- ./opconfig-cli.pl act=discover node=asgard debug=1
- ./opconfig-cli.pl act=discover debug=1
- ./opconfig-cli.pl act=test_connect node=deb-n-burn debug=1
- ./opconfig-cli.pl act=dump-credentials confirm=nike
- ./opconfig-cli.pl act=run_command_sets node=deb-n-burn debug=9 names=Check_Disk_Usage_home
- ./opconfig-cli.pl act=get_command_output node=deb-n-burn
- ./opconfig-cli.pl act=list_command_revisions node=uburntoTesting
- ./opconfig-cli.pl act=list_command_revisions
- ./opconfig-cli.pl act=find_command_revisions node=deb-n-burn
- ./opconfig-cli.pl act=find_command_revisions
- ./opconfig-cli.pl act=diff_command_outputs node=deb-n-burn command="disk usage /home" revision_1=2 revision_2=3
- ./opconfig-cli.pl act=purge_revisions node=uburntoTesting debug=9
- ./opconfig-cli.pl act=purge_indices
- ./opconfig-cli.pl act=export_policy name=cisco file=/tmp/policies2.txt
- ./opconfig-cli.pl act=import_policy name=cisco file=/tmp/policies2.txt
- ./opconfig-cli.pl act=import_audit
- ./opconfig-cli.pl act=list_policies
- ./opconfig-cli.pl act=export_config_status node=deb-n-burn file=/tmp/configstatus.txt
- ./opconfig-cli.pl act=update_config_status node=deb-n-burn force=1
- ./opconfig-cli.pl act=check_compliance name=cisco node=deb-n-burn debug=1
- ./opconfig-cli.pl act=list_configsets
- ./opconfig-cli.pl act=import_configset file=/tmp/configset_test1.json
- ./opconfig-cli.pl act=export_configset name=test1
- ./opconfig-cli.pl act=disable_configset name=test1
- ./opconfig-cli.pl act=enable_configset name=test1 revision=1
- ./opconfig-cli.pl act=push_configset name=test1 node=deb-n-burn
- ./opconfig-cli.pl act=list_queue with_ids=1
- ./opconfig-cli.pl act=remove_queued id=5e42a04b2b181345a5069093