Submit a ticketCall us

Training ClassThe Orion® Platform Instructor-led Classes

Provided by SolarWinds® Academy, these trainings will introduce users to the Orion Platform and its features, management, and navigation. These courses are suitable for users looking to discover new tips, tricks, and ways to adapt their Orion products to better suit their monitoring needs:
Deploying the Orion Platform
Configuring Orion views, maps, and accounts
Configuring Orion alerts and reports

Reserve your seat.

Home > Success Center > Network Configuration Manager (NCM) > NCM Documentation > NCM 7.9 Administrator Guide > NCM Device templates > Best practices for device command templates

Best practices for device command templates

Table of contents
No headers
Created by Caroline Juszczak, last modified by Anthony.Rinaldi_ret on Oct 03, 2016

Views: 1,255 Votes: 1 Revisions: 4

Review the following best practices before modifying device command templates.

  • Review several device templates and familiarize yourself with the appropriate command syntax before creating a new template.
  • Write down a list of all the commands you need to include in the new device template, including whether or not you have to press Enter after you type the command to ensure the device recognizes the command.
  • Telnet to your device to find the pre-commands you need. A pre-command can be used for any device which requires input before prompting for credentials. A pre-command is used before logging in. For example, when you connect to a router and before you are asked for a password, you must press Enter to wake up the connection. Add the following line to the template: <Command Name="PreCommand" Value="${CRLF}"/>.
  • Create a new device template by modifying an existing device template.
  • Before modifying a device template, make a copy of the original.
  • If you have a device that indicates enable mode with any character other than the # character, add the following line to the template: <Command Name="EnableIdentifier" Value="*"/>, where * is the character used to indicate the enable privilege level.
  • Ensure that you do not have two command templates with the same System OID.
  • If the value for the Command Device Template field within the Node Details view is set to Auto Determine, SolarWinds NCM chooses the command template with the System OID value that is closest to the system OID of the device. For example, if the System OID for the device is, then SolarWinds NCM starts the search for a template that includes as the System OID. If no template is found, SolarWinds NCM looks for a template with, and then, and so on. To be safe, use the full System OID when building templates.
  • To declare the ready prompt for your device, use the VirtualPrompt command to designate the prompt: <Command Name="VirtualPromptValue="unc-dsf%"/>,  where unc-dsf% is the prompt used by the device to designate it is ready for commands to be sent. You can use the Virtual Prompt to avoid an issue with special characters in banners. For example, to avoid SolarWinds NCM recognizing the # character as an enable prompt. Ensure you use the MenuBased command when using the VirtualPrompt command: <Command Name="MenuBased" Value="false"/> or <Command Name="MenuBased" Value="true"/>.
  • Devices, such as VPN concentrators, may require a null value for the Reset command to function properly. If you receive an Out of Range error, change the value of the Reset command from 0 to blank ( ). For example, <Command Name="RESET" Value=""/>.

Not all commands are supported on all devices.


Last modified