Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

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

Command scripts

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

Views: 1,337 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

Tags

Classifications

Public