Hello,
Can you help me with this question, please?
What device template are you using? Is it the default template shipped with the product or a modified version?
If you set this option, then it should write the config off if it has changed. I can't see an option to always write the config.
I've never tried this option.
Hi,
For instance, for asr901 automatically orion uses Cisco IOS-1.3.6.1.4.1.9 template. Can I be sure that after reboot my device will be with the last downloaded config on it? How can I know that this job do write memory command?
Here is my template:
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by () -->
<!--SolarWinds Network Management Tools-->
<!--Copyright 2005 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco Devices" SystemOID=" 1.3.6.1.4.1.9">
<Commands>
<Command Name="RESET" Value="terminal width 0${CRLF}terminal length 0"/>
<Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>
<Command Name="EnterConfigMode" Value="config terminal"/>
<Command Name="ExitConfigMode" Value="end"/>
<Command Name="Startup" Value="startup"/>
<Command Name="Running" Value="running"/>
<Command Name="DownloadConfig" Value="Show ${ConfigType}"/>
<Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
<Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}${CRLF}${CRLF}"/>
<Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename} ${ConfigType}${CRLF}${CRLF}"/>
<Command Name="DownloadConfigIndirectSCP" Value="copy ${ConfigType} ${TransferProtocol}://${SCPServerUserName}@${SCPStorageAddress}/${StorageFilename}${CRLF}${CRLF}${CRLF}${CRLF}${SCPServerPassword}"/>
<Command Name="UploadConfigIndirectSCP" Value="copy ${TransferProtocol}://${SCPServerUserName}@${SCPStorageAddress}/${StorageFilename} ${ConfigType}${CRLF}${CRLF}${SCPServerPassword}"/>
<Command Name="EraseConfig" Value="write erase${CRLF}Y"/>
<Command Name="SaveConfig" Value="write memory"/>
<Command Name="Version" Value="show version"/>
</Commands>
</Configuration-Management>
I think when you put mark on this option, Orion won't download config from device, until changes come to your device. But it is about downloading config from device to Orion. I want to know if Orion saves config on a device itself?
Sorry you are right and that option will only copy a config if it has changed.
сергей wrote:Hi,I think when you put mark on this option, Orion won't download config from device, until changes come to your device. But it is about downloading config from device to Orion. I want to know if Orion saves config on a device itself?
сергей wrote:
Orion will not save (or write off) a config when it backs one up. The write configs on devices (write mem) you will need to create a separate job for that.
just wanted to jump in here .
i noticed you mentioned "Orion won't download config from device, until changes come to your device" this is tripping me up abit not gonna lie.
we have the boxed ticked 'only save configs that have changed' can i clarify does this mean when the there is a changed line in the config or is it when a line is added to the config? or does this mean like you mentioned it will only download configs when the change is on the device guess meaning when you do a wr?..
but what if you dont do a wr and just change the running config will be picked up with the box ticked 'only save configs that have changed'?
thanks in advance
The option in my example just only copies configs if there's a change to the previous version NCM has. So in other words it won't copy the config to NCM unless the config happens to be different. Which if you're using RTCD, then the last saved running config will always be up to date. So then the backup job will not download any configs into NCM.
The option doesn't mean it will write off the config on the device itself. To write off a config on a device, you need to create a separate job for it. Neither RTCD or backup jobs currently write the config on the device.
And a change is any kind of change e.g. new line, modified line etc. A change is where the most recent backed up version on NCM doesn't match the current version on the device itself.