Submit a ticketCall us

WebinarDatabase Roundtable – Expert Database Professionals Feel Your Pain

In this video broadcast, Head Geek™ Tom LaRock is joined by Karen Lopez, Tim Chapman, and David Klee. They’ve known each other for many years, so this discussion was like four friends getting together to talk data and databases. They discussed diagnostic data collection, common performance root causes, reactive tuning versus proactive, and more. Join us for an engaging discussion on these topics! Plus, Tom LaRock will be available to answer your questions live.

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