Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Configuration Manager (NCM) > 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