I need to schedule a nightly job that save the running config for our Cisco gear. Our firewalls and most switches support "write memory". However, I have some newer Cisco switches running NX-OS that only support "copy running-config startup-config". I scheduled a nightly job to execute the following script:
${SaveConfig}
exit
I figured it would adjust the command accordingly based on the device, but the job's email results indicated that NCM is executing "write memory" on my NX-OS devices, thus failing to save the config. The template's OID exactly matches the OID of the NX-OS devices. In this template, the SaveConfig command is correct:
<Command Name="SaveConfig" Value="copy running startup"/>
I even explicitly set the devices to use this command template instead of auto determine. NCM still executes "write memory". Does anyone know what is going on here?