Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Configuration Manager (NCM) > Creating new NCM device templates

Creating new NCM device templates

Table of contents
Created by Bill Corgey, last modified by Melanie Boyd on Nov 13, 2017

Views: 215 Votes: 2 Revisions: 8

Overview

New devices are always being introduced into the market and into network infrastructures. In NCM, it is likely at times one will need to create a new device template to allow NCM to interact with devices. There are two ways to do this:

  • Manually using XML for all versions of NCM
  • Using interactive wizard which was introduced in NCM 7.4.x

Environment

  • Manually with XML, all versions of NCM
  • Interactive Wizard NCM 7.4.x

Detail

In order to create a successful template, regardless of method, one will need to have some basic information on hand.

  • System OID (sysObjectID) which can be obtained from device by polling 1.3.6.1.2.1.1.2.0

  • Command to turn off paging so when something like show run is issued, the output is displayed from beginning to end and not being prompted to press a key to continue (terminal length 0)
  • Command to display Version information
  • Config Types (Running and Startup and any custom config types needed)
  • Commands to download a config via ssh or telnet (show run, show start)
  • Command to download via TFTP
  • Command to download via SCP
  • Command to save the running config to nvram (wr mem, copy run start, commit)
  • Command to terminate the session from an enable level prompt (exit, quit)
  • Command to enter configuration Mode (config t)
  • Command to exit config mode (end)

 

The above will get you in a good position to start.

Keep in mind that NCM is not inherently cognizant of what it needs to do. It simply does what it is told to do in the template. So the commands need to mimic human interaction.  

If in the middle of a command one has to answer a question, the answer needs to be in the command in the template or NCM will not know to do anything. The order of the commands is relevant..

 

For the intent of this article, we are going to concentrate on using the interactive wizard available with NCM 7.4.

  1. Open the Web Console and navigate to Settings > NCM settings.
  2. In the Advanced Resource section, select Device Templates.
  3. Towards the top of the screen, click on the green + icon to add new.
  4. Select Create using Interactive Wizard.
Last modified

Tags

Classifications

Public