Submit a ticketCall us

Putting Your Logs Where They Belong with the New SolarWinds Log Manager for Orion

The new SolarWinds® Log Manager for Orion® finally puts your log data right where it belongs, in the heart of your Orion console. Gain insight into the performance of your infrastructure by monitoring your logs in a unified console allowing you to see a wealth of information about the health and performance of your network and servers.

Reserve a Seat for Wednesday May 23rd 11am CDT | Reserve a Seat for Tuesday May 22nd 10:30am GMT | Reserve a Seat for Tuesday May 22nd 1pm SGT / 3pm AEST

Home > Success Center > Network Configuration Manager (NCM) > Network Configuration Manager Getting Started Guide > Manage network change > Edit a config using a script

Edit a config using a script

Created by Chris.Moyer, last modified by Anthony.Rinaldi_ret on Oct 04, 2016

Views: 929 Votes: 0 Revisions: 6

Edit config change scripts to update access lists, modify community strings, or make other configuration changes. Before you write a script, be sure you know the basics of commands, variables, and logical structures. This guide does not address how to write CLI commands.

Scripts are often used to make bulk changes to multiple devices. SolarWinds recommends running a script on one device to test your changes and, if you verify your changes and they are successful, then apply the script to multiple devices.

This topic provides steps on how to add, edit, and verify a config change script for one or more devices.

Add a config change script

To edit a config using a script, you must first add a config change script.

The following example shows how to add a SolarWinds banner config change script.

  1. Click My Dashboard > Configs > Configuration Management.
  2. Click the Script Management tab.
  3. Click Add New Script.


  4. Enter the script information and click Save.


The script is displayed in the Script Management tab.


Edit a config using a script

The following example shows how to execute the SolarWinds banner script against a node managed in SolarWinds NCM.

  1. Click My Dashboards > Configs > Configuration Management.
  2. Select the configuration item to edit and click Execute Script.


  3. Select a script and click Execute.


  4. To view the change you just made, log in to the device. This is an example of the script banner change for the Tex-3750.aus.lab router.


Verify config changes

After you change a login banner, you can log in to the device to verify the change. For more complex changes, you can verify the change by viewing a report that compares the configs before and after the change. Because the config change report compares configs line by line, you can also use the report to troubleshoot issues.

The following example shows that the Tex-3750.aus.lab router config was updated on August 4, and the report highlights the differences between the config before and after the change.

  1. Click My Dashboard > Config > Config Summary.
  2. Navigate to the Last 5 Config Changes resource and note the date and time of the config change.

    You can click Edit to change the number of configs listed in the resource.


  3. To view changes, click the View Change Report link.


Edit multiple configs

To make changes to multiple devices, select multiple configs before you click Execute Script.



Last modified