Network Management

NCM Device Template - pfSense (1.3.6.1.4.1.12325.1.1.2.1.1)

This article describes how to use the pfSense device template in NCM. Depending on the NCM version you are using, follow the relevant steps to add a template.

First published date

10/22/2018 7:58 PM

Last published date

6/12/2023 6:37 PM

Overview

This article provides NCM Device Command Templates to be used with pfSense (1.3.6.1.4.1.12325.1.1.2.1.1) devices.

Product section

Network Configuration Manager

Resolution

Depending on the NCM version 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:

<Configuration-Management Device="pfSense" SystemOID="1.3.6.1.4.1.12325.1.1.2.1.1">
   <Commands>
      <Command Name="RESET" Value=""/>
      <Command Name="Reboot" Value=""/>
      <Command Name="Startup" Value=""/>
      <Command Name="Running" Value=""/>
      <Command Name="DownloadConfig" Value="cat /cf/conf/config.xml"/>
      <Command Name="UploadConfig" Value="${CTRL+D}"/>
      <Command Name="Version" Value="uname -a"/>
      <Command Name="MenuBased" Value="false"/>
      <Command Name="VirtualPrompt" Value="#"/>
   </Commands>
</Configuration-Management>

Note:
The template is configured with an assumption that the user prompt is set to # but you can change it to suit your environment by adjusting the VirtualPrompt command.