Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

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 Rodim Suarez on Aug 02, 2016

Views: 741 Votes: 1 Revisions: 7

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, either manually using XML for all versions of NCM or 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 do anything and the order fo the commands is relevant..

 

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

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

Tags

Classifications

Public