Documentation forNetwork Configuration Manager

Examples of device templates

The following sections provide examples of NCM device templates:

For a list of commands and their descriptions, see NCM device template commands.

Cisco IOS CLI device template example

File Name

Cisco IOS-1.3.6.1.4.1.9.ConfigMgmt-Commands

Contents

<!--SolarWinds Network Management Tools-->
<!--Copyright 2008 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco Devices" SystemOID=" 1.3.6.1.4.1.9">
 <Commands>
  <Command Name="RESET" Value="terminal width 0${CRLF}terminal length 0"/>
  <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>
  <Command Name="EnterConfigMode" Value="config terminal"/>
  <Command Name="ExitConfigMode" Value="end"/>
  <Command Name="Startup" Value="startup"/>
  <Command Name="Running" Value="running"/>
  <Command Name="DownloadConfig" Value="Show ${ConfigType}"/>
  <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
  <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}${CRLF}${CRLF}"/>
  <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename} ${ConfigType}${CRLF}${CRLF}"/>
  <Command Name="EraseConfig" Value="write erase${CRLF}Y"/>
  <Command Name="SaveConfig" Value="write memory"/>
  <Command Name="Version" Value="show version"/>
 </Commands>
</Configuration-Management>	

Nortel BayStack 380 CLI device template example

File Name

Nortel Baystack380-1.3.6.1.4.1.45.3.45.ConfigMgmt-Commands

Contents

<!--SolarWinds Network Management Tools-->
<!--Copyright 2008 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Nortel BayStack 380 Devices" SystemOID="1.3.6.1.4.1.45.3.45">
 <Commands>
  <Command Name="RESET" Value="terminal length 0"/>
  <Command Name="Reboot" Value="reload${CRLF}Yes"/>
  <Command Name="EnterConfigMode" Value="config terminal"/>
  <Command Name="ExitConfigMode" Value="end"/>
  <Command Name="Startup" Value="configuration"/>
  <Command Name="Running" Value="running-config"/>
  <Command Name="DownloadConfig" Value="show ${ConfigType}"/>
  <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
  <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}"/>
  <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename} ${ConfigType}${CRLF}"/>
  <Command Name="Version" Value="show sys info"/>
  <Command Name="PreCommand" Value="${CTRL+Y}"/>
 </Commands>
</Configuration-Management>

Cisco VPN concentrator menu-based device template example

The following example provides the values declared for a menu-driven indirect transfer.

File Name

Cisco VPN concentrator-1.3.6.1.4.1.3076.ConfigMgmt-Commands

Contents

<!--SolarWinds Network Management Tools-->
<!--Copyright 2008 SolarWinds.Inc All rights reserved-->
<Configuration-Management Device="Cisco VPN concentrator" SystemOID=" 1.3.6.1.4.1.3076">
 <Commands>
  <Command Name="RESET" Value=""/>
  <Command Name="Reboot" Value="2${ENTER}3${ENTER}"/>
  <Command Name="EnterConfigMode" Value=""/>
  <Command Name="ExitConfigMode" Value=""/>
  <Command Name="Startup" Value=""/>
  <Command Name="Running" Value=""/>
  <Command Name="DownloadConfig" Value="2${ENTER}8${ENTER}3${ENTER}config${ENTER}" Delay="500" RegEx="\[End\]"/>
  <Command Name="UploadConfig" Value=""/>
  <Command Name="DownloadConfigIndirect" Value="2${ENTER}8${ENTER}4${ENTER}config${ENTER}${StorageFilename}${ENTER}${StorageAddress}${ENTER}" Delay="100" RegEx="Bytes Sent"/>
  <Command Name="UploadConfigIndirect" Value="2${ENTER}8${ENTER}5${ENTER}config${ENTER}${StorageFilename}${ENTER}${StorageAddress}${ENTER}" Delay="100" RegEx="Bytes Received"/>
  <Command Name="EraseConfig" Value=""/>
  <Command Name="SaveConfig" Value=""/>
  <Command Name="Version" Value=""/>
  <Command Name="Menubased" Value="true"/>
  <Command Name="MenuDrivenConfigStart" Value="##########"/>
  <Command Name="VirtualPrompt" Value="Welcome"/>
 </Commands>
</Configuration-Management>