Yes, it is an NCM upload task. Issue I am seeing is that the script requires two enter key entries to respond to the CLI prompts. I am not able to find any special characters that NCM will recognize as a CR / LF. So, my NCM upload task is not working. Was hoping someone else ran into this same issue and constructed a proper text file to upload with the CLI commands I am trying to execute as indicated above.
The Host Configuration capture is working just fine. We are just looking for a method to kickoff an additional configuration backup, outside of the normal NCM capture.
I may have failed to mention that the backup tftp destination is a separate tftp server outside of the Spectrum Landscape NCM tftp directory. We need to send this to an alternate tftp server not in Spectrum landscapes.
Thanks ...
------------------------------
Jim Farrell
Senior Systems/Network Engineer
Information & Analytics Services
------------------------------
Original Message:
Sent: May 13, 2025 04:00 AM
From: Catalin Farcasanu
Subject: Want to run an NCM script to trigger backup of running configuration on my Cisco devices (multiple devices)
I'm assuming you tried NCM Upload task? Your description sounds close to what an Upload task should do. This shows some scenarios like that.
There's also the option to export the captured configuration to file, directly from Spectrum, once they are captured.
------------------------------
Cătălin Fărcășanu
Senior Consultant
SolvIT Networks
Original Message:
Sent: May 12, 2025 08:21 AM
From: Jim Farrell
Subject: Want to run an NCM script to trigger backup of running configuration on my Cisco devices (multiple devices)
Has anyone been able to successfully execute an NCM script (text file or similar) to run against multiple devices to trigger either "wr net" or "copy run startup" in a Cisco environment? I have made multiple attempts to get this to function, using the following syntax:
wr
wr net
0.0.0.0 (representing the tftp server)
(this is the first carriage return accepting the tftp server ip)
y (this is in response to using the default configuration backup filename)
Yet what I am guessing is the carriage return is not being recognized so the command is not completing.
We have a need to be able to run an NCM push script to multiple devices in order to give us another backup configuration copy. We have the standard "Host Configuration" backup that Spectrum provides, but the business is asking for a means to send the device configurations to an alternate tftp server en masse. If there is another way to approach this function within Spectrum, please describe the process, maybe via scheduler, etc.
Any suggestions would be greatly appreciated.
------------------------------
Jim Farrell
Senior Systems/Network Engineer
Information & Analytics Services
------------------------------