Network Management

NCM Template - SonicWall TZ210 (1.3.6.1.4.1.8741)

This article provides a device template to be used with Network Configuration Manager (NCM) for SonicWall TZ210.

First published date

10/9/2018 7:12 PM

Last published date

10/10/2022 8:08 AM

Overview

This article provides NCM Device Command Templates to be used with SonicWall TZ210 (1.3.6.1.4.1.8741) devices.

Product section

Network Configuration Manager

Cause

  • The Errors in the following logs would be seen in the event that there is a problem with the template.
  • NCM Collector Jobs
2022-10-10 02:05:59,579 [STP SmartThreadPool Thread #9] INFO  SolarWinds.Orion.Pollers.Framework.PollerBase - Polling for IP - XX.X.XXX.X, Core node ID - XX finished. Took 00:01:42.5146843
2022-10-10 02:05:59,673 [40] INFO  SolarWinds.ConnectionSynchronizer.ConnectionStore - Occupying connection(IP-XX.X.XX.X,pid 40556_20221010020044921) bypassing limitation check. TotalConn: 14, PerHostConn -1
2022-10-10 02:05:59,736 [52] ERROR SolarWinds.NCM.Transfer.DirectTransfer - NCMTransfer  IP:XX.X.XXX.X - LoginFailed Message: Unable to login to device : Timeout
2022-10-10 02:05:59,736 [52] INFO  SolarWinds.NCM.Transfer.DirectTransfer - NCMTransfer DirectTransfer IP:XX.X.XXX.X - Session Complete Successful=False, IsSuccess=False. Core node ID XX
2022-10-10 02:05:59,736 [52] INFO  SolarWinds.Orion.Pollers.Framework.PollerBase - Transfer completed. Config ID 00000000-0000-0000-0000-000000000000. Type: Download. Core node ID XX
  • NCM BusinessLayer Plugin
2022-10-10 11:08:48,223 [91] INFO  SolarWinds.NCM.Transfer.DirectTransfer - NCMTransfer  IP:XX.X.XX.X - ExecuteScript Started  RetryCount 3, SkipRetry False
2022-10-10 11:08:48,226 [91] INFO  SolarWinds.ConnectionSynchronizer.ConnectionStore - Occupying connection(IP-XX.X.XX.X,pid 18716_20221009135538277) bypassing limitation check. TotalConn: 1, PerHostConn -1
2022-10-10 11:09:18,417 [91] INFO  SolarWinds.NCM.Transfer.DirectTransfer - NCMTransfer  IP:XX.X.XX.X - Transfer cancelled
2022-10-10 11:09:18,419 [91] INFO  SolarWinds.NCM.Transfer.NcmSessionInterceptor - XX.X.XX.X - Disconnect
2022-10-10 11:09:18,420 [91] INFO  SolarWinds.NCM.Transport.LoginValidation.LoginValidation - NCMValidateLogin: Login Timeout
2022-10-10 11:09:18,422 [91] INFO  SolarWinds.NCM.Transfer.NcmSessionInterceptor - XX.X.XX.X - Disconnect
2022-10-10 11:09:23,467 [68] INFO  SolarWinds.NCM.Transfer.DirectTransfer - NCMTransfer  IP:XX.X.XX.X - ExecuteScript Started  RetryCount 3, SkipRetry False
2022-10-10 11:09:23,470 [68] INFO  SolarWinds.ConnectionSynchronizer.ConnectionStore - Occupying connection(IP-xx.x.xx.x,pid 18716_20221009135538277) bypassing limitation check. TotalConn: 1, PerHostConn -1
2022-10-10 11:09:53,670 [68] INFO  SolarWinds.NCM.Transfer.DirectTransfer - NCMTransfer  IP:XX.X.XX.X - Transfer cancelled
2022-10-10 11:09:53,672 [68] INFO  SolarWinds.NCM.Transfer.NcmSessionInterceptor - XX.X.XX.X - Disconnect
2022-10-10 11:09:53,673 [68] INFO  SolarWinds.NCM.Transport.LoginValidation.LoginValidation - NCMValidateLogin: Login Timeout
2022-10-10 11:09:53,674 [68] INFO  SolarWinds.NCM.Transfer.NcmSessionInterceptor - XX.X.XX.X - Disconnect

 

Resolution

  • Depending on your version of NCM, follow the relevant steps to add a template. Refer to the NCM Documentation.
  • Use the following lines as the actual content of the template:
     
<Configuration-Management Device="SonicWall TZ210" SystemOID="1.3.6.1.4.1.8741">
  <Commands>
     <Command Name="RESET" Value="clear screen"/>
     <Command Name="Reboot" Value="restart"/>
     <Command Name="RebootAt" Value=""/>
     <Command Name="EnterConfigMode" Value=""/>
     <Command Name="ExitConfigMode" Value="end"/>
     <Command Name="Startup" Value=""/>
     <Command Name="Running" Value=""/>
     <Command Name="DownloadConfig" Value="show tsr all"/>
     <Command Name="SaveConfig" Value="backup"/>
     <Command Name="Version" Value="show device"/>
  </Commands>
</Configuration-Management>


 

Version: 2022.3.0
 
  • In the event that the customer is not able to download the config file, the customer will see the following error. Test Failed. Time out.
image.png

Kindly proceed in checking the following below:
1. Session Trace logs and confirm that the device can connect successfully.
2. Retrace the steps when logging into the device.

image.png

NOTE:  Upon checking the putty connection, it was prompting to Accept The Policy Banner. 

3. Check the template that was being used and add the following commands:
<Command Name="Accept the Policy Banner" Value="(yes)?" />
<Command Name="PreCommand" Value="YES" />



4. Re-test the credential and it will now be successful.

image.png


5. You can now proceed with running the config transfer.