Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Network Configuration Manager (NCM) > NCM Documentation > NCM 7.9 Administrator Guide > Command scripts

Command scripts

Created by Caroline Juszczak, last modified by Anthony.Rinaldi_ret on Oct 03, 2016

Views: 1,981 Votes: 0 Revisions: 4

Several tasks can be automated with command scripts, for example:.

  • Downloading configuration files
  • Uploading configuration files
  • Uploading IOS images
  • Updating logon banners
  • Updating access control lists (ACLs)

With the appropriate use of variables, a single script can be executed on several different devices, without concern for syntax differences.

Scripts are delivered one line at a time to the target devices.

Create an executable command script

  1. Click My Dashboards >  Network Configuration > Configuration Management.
  2. Click the Script Management tab.
  3. Click Add New Script.
  4. Add the script information.
  5. Click Save.
  6. To execute the script, on the Config Management tab select one or more nodes and follow the steps to Execute a script on a node.

If you experience problems with the script execution, see the Troubleshoot script execution section below.

Use variables in scripts

Variables are a powerful feature of the SolarWinds NCM scripting engine. Variables always begin with a dollar sign and curly brace (${) and end with a curly brace (}).

Script variables substitute the appropriate commands based on the device type. For example, the variable ${EnterConfigMode} parses as config terminal when communicating with Cisco IOS devices, but parses as configure when communicating with an HP Procurve Switch.

Troubleshoot script execution

If a script fails to execute on aSolarWinds NCM node, review the log for a possible cause. The log is located at C:\ProgramData\SolarWinds\NCM\Logging\NCMBusinessLayerPlugin.log.

Alternatively, execute the script by Creating a job.


Last modified