Submit a ticketCall us

WebinarVisual Monitoring Tactics: Getting More Log Search Value from SolarWinds Log & Event Manager with nDepth Webcast

Do things seem to make more sense when they are visualized? Are you an IT professional or security expert with a wish for more cybersecurity tools that provide an intuitive visual experience? Join Alexis Horn and Jamie Hynds from SolarWinds as they demonstrate how the nDepth feature in LEM can help make visualizing log search results a reality.

Register now.

Home > Success Center > Network Configuration Manager (NCM) > NCM - Knowledgebase Articles > Unable to download configs on devices that require second authentication

Unable to download configs on devices that require second authentication

Table of contents

Updated October 3, 2017

Overview

This article provides an NCM template to be used on devices that requires a second authentication.

NCM connection profiles only provide the option to use single authentication and enable password. 

Environment

  • NCM, all versions

Steps

Use following lines as the actual content of the template:

<Configuration-Management Device="Brocade Devices" SystemOID=" 1.3.6.1.4.1.1991.1.3">
    <Commands>
        <Command Name="RESET" Value="skip-page-display"/>
        <Command Name="Reboot" Value="${SaveConfig}${CR}reload${CRLF}y${CRLF}y"/>
        <Command Name="RebootAt" Value="reload at ${HH}:${NN} ${MM}-${DD}-${YY}${CRLF}Yes"/>
        <Command Name="EnterConfigMode" Value="config terminal"/>
        <Command Name="ExitConfigMode" Value="end"/>
        <Command Name="Startup" Value="configuration"/>
        <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}"/>
        <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol} ${ConfigType} ${StorageAddress}
${StorageFilename}  "/>        
        <Command Name="SaveConfig" Value="write memory"/>
        <Command Name="Version" Value="show version"/>
                <Command Name="FreezeLoginForPreCommand" Value="True"/>
                <Command Name="PreCommand" Value="FirstPassword"/>
                <Command Name="PreCommand" Value="enable"/>
                <Command Name="PreCommand" Value="username"/>
                <Command Name="PreCommand" Value="2nd apssword"/>
                
    </Commands>
</Configuration-Management>

Note: There are also cases where you need to increase the Telnet/SSH Connection Timeout and Telnet/SSH Prompt Timeout depending on how long the device takes to respond to NCM commands.

 

 

Last modified

Tags

Classifications

Public