Network Management

NCM Template - Juniper EX4200 (1.3.6.1.4.1.2636.1.1.1.2.31)

This article provides a device template to be used with NCM with a Juniper device.

First published date

10/9/2018 6:33 PM

Last published date

10/10/2018 7:14 PM

Overview

This article provides an NCM Device Command Template to be used with Juniper EX4200 (1.3.6.1.4.1.2636.1.1.1.2.31) devices.

Product section

Network Configuration Manager

Resolution

Depending on the version of NCM you are using, follow the relevant steps to add a template. For instructions, refer to the NCM Administrator Guide.

Use following lines as the actual content of the template:

01	<Configuration-Management Device="Juniper 4200_2"SystemOID="1.3.6.1.4.1.2636.1.1.1.2.31">
02	  <Commands>
03	    <Command Name="ALLOCATEPTY" Value="True" />
04	    <Command Name="CUSTOMUSERNAMEPROMPT" Value="login: " />
05	    <Command Name="ENABLECOMMAND" Value="configure" />
06	    <Command Name="MENUBASED" Value="False" />
07	    <Command Name="VIRTUALPROMPT" Value="&gt;" />
08	    <Command Name="MORE" Value="---(more" />
09	    <Command Name="DOWNLOADCONFIG" Value="show configuration | display set" />
10	  </Commands>
11	</Configuration-Management>

If the issue still does occur, try the following device template:

01	<!--SolarWinds Network Management Tools-->
02	<!--Copyright 2007 SolarWinds.Net All rights reserved-->
03	<Configuration-Management Device="Juniper 4200 Switches"SystemOID="1.3.6.1.4.1.2636.1.1.1.2.31">
04	    <Commands>
05	        <Command Name="RESET" Value=""/>
06	        <Command Name="EnterConfigMode" Value=""/>
07	        <Command Name="ExitConfigMode" Value="exit${CRLF}"/>
08	        <Command Name="MenuBased" Value="false"/>
09	        <Command Name="VirtualPrompt" Value="%"/>
10	        <Command Name="EnterCLI" Value="cli${CRLF}configure${CRLF}"/>
11	        <Command Name="Startup" Value="| display set"/>
12	        <Command Name="Running" Value="| display set"/>
13	        <Command Name="DownloadConfig" Value="show ${ConfigType}${CRLF}"/>
14	        <Command Name="UploadConfig" Value="${ConfigText}${CRLF}$"/>
15	        <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}"/>
16	        <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename}  ${ConfigType}${CRLF}"/>
17	        <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>
18	        <Command Name="SaveConfig" Value="save ${CRLF}"/>
19	        <Command Name="Version" Value=" show system software | match boot"/>
20	    </Commands>
21	</Configuration-Management>