Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

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

Command scripts

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

Views: 200 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 > Configs > 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
10:51, 3 Oct 2016