...
NB: opConfig will only attempt to discover devices from NMIS that are active and are currently being collected. To force all NMIS devices into the list (even if they are not active) pass force_active=true
Code Block |
---|
bin/opConfigopconfig-cli.pl act=discover |
This will attempt to use the credentials given in the credential_sets against every active & collected device in NMIS using different transport types (SSH and Telnet) and will output the commands it has found to connections.nmis. If a connection for a device already exists in connections.nmis opConfig will leave the settings as they are and not attempt to discover them. If your list of credentials is long and your list of devices is long I suggest not using this method as it will take many many cups of coffee to complete.
...
Running command sets
Code Block |
---|
bin/opConfigopconfig-cli.pl act=run_command_sets |
...
If you would like to run only specific command set/s: (comma separated, no spaces)
Code Block |
---|
bin/opConfigopconfig-cli.pl act=run_command_sets names=IOS_DAILY,LINUX_DAILY |
...
If you would like to run it against only specific nodes: (comma separated, no spaces):
Code Block |
---|
bin/opConfigopconfig-cli.pl act=run_command_sets nodes=node1,node2 |
...