Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

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

Edit a config using a template

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

Views: 120 Votes: 0 Revisions: 6

Config change templates save time and ensure that changes are consistently applied to devices. Use an out-of-the-box template or create a template.

Templates are often used to make bulk changes to multiple devices. SolarWinds recommends running a template on one device to test your changes and, when you verify your changes are successful, then apply the template to multiple devices.

The example in this section shows how to apply the login banner template for a Cisco router. Other commonly used templates include: 

  • Change passwords
  • Change SNMP settings
  • Enable Netflow
  • Define ACLs
  • Define VLAN memberships

Before you begin:

  • Run an inventory scan on a node: if you have just added a device, you must perform an NCM device inventory scan and update device inventories before you can create and run a config change template.
  • Back up a config manually: SolarWinds recommends that you back up a config before you make a change so that you can revert to a previous version of the config if the change is not successful.

Execute the banner change template

This example uses a template to create a restricted access warning in the login banner.

  1. Click My Dashboards > Configs > Config Change Template.
  2. Select the Change Login Banner template and click Define Variables & Run.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_define_variables_run.png

  3. Select nodes and click Next.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_select_node_banner.png

  4. In the Login Banner field, enter the banner text and click Next.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_enter_banner_text.png

  5. Click Show commands in new window to preview the script.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_preview_banner.png

  6. Verify the banner text is correct in the script preview.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_banner_preview.png

  7. Click Execute.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_preview_banner.png

The Transfer Status tab shows the script execution status.

File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_banner_executed.png

To view a change, log in to the device. This is an example of the login banner change for the Tex-3750.aus.lab router.

File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-banner-change-template.png

Verify config changes

After you change a login banner, you can log in to the device to verify the change. For more complex changes or changes across multiple configuration items, 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.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm_gs_last_five_config_change.png

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

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-change-report-view-template.png

Edit multiple nodes

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

If you want to verify changes to multiple devices, review the Status/Details of the Transfer Status tab.

File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-select-multiple-nodes.png

Import a change template from THWACK

SolarWinds NCM ships with preconfigured templates you can use to make common changes to configs. You can also create your own change templates, or import change templates that other SolarWinds customers have created and posted to THWACK.

Creating a change template is not addressed in this guide. For information on creating a change template, see the SolarWinds Network Configuration Manager Administrator Guide.

Before you begin, create a THWACK account.

  1. Click My Dashboards > Config Change Templates.
  2. On the Config Change Templates page, click Shared Config Change Templates on THWACK.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-shared-thwack-templates.png

    NCM automatically connects with THWACK and populates the list with shared config change templates.

  3. Select a template and click Import.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-shared-thwack-templates-1.png

  4. Enter your user name and password, and click Log In.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-shared-thwack-templates-2.png

    NCM imports the template and displays it in the list of config change templates. You can now execute the template against one or more nodes.

    SolarWinds recommends running a template on one device to test your changes and, when you verify your changes are successful, then apply the template to multiple devices.

    File:Success_Center/Reusable_content_-_InfoDev/NCM/Getting_Started_Guide/Getting-Started-MindTouch/040/050/ncm-gs-shared-thwack-templates-3.png

 

Last modified
09:51, 4 Oct 2016

Tags

Classifications

Public