Submit a ticketCall us

Bridging the ITSM Divide
Integrated help desk and remote support software for faster resolution

Join us on Wednesday, November 29, 2017 at 11 a.m. CT, as we discuss the benefits of effectively integrating your help desk software with remote support solutions to help increase the efficiency of IT administration, improve communication, and decrease mean time to resolution (MTTR) for IT issues of all sizes. This directly impacts end-user satisfaction and your business’ bottom line. Register Now.

Home > Success Center > Network Configuration Manager (NCM) > HP master switch error: Connection refused when downloading configuration

HP master switch error: Connection refused when downloading configuration

Created by Malik Haider, last modified by Karen Valdellon on Apr 19, 2017

Views: 42 Votes: 0 Revisions: 5

Updated March 7, 2017

Overview

The master switch in an HP switch stack cannot download the configs from NCM, but the secondary switch can. The master switch is getting a connection refused error.

Environment

All NCM versions

Cause 

Here is the template for 1.3.6.1.4.1.11.2.3.7.11 [HP J4865A ProCurve Switch 4108GL]:
 
<!--SolarWinds Network Management Tools-->
<!--Copyright 2007 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="HP J4865A ProCurve Switch 4108GL" SystemOID=" 1.3.6.1.4.1.11.2.3.7.11.">
                <Commands>
                                <Command Name="RESET" Value="terminal length 1000"/>
                                <Command Name="Reboot" Value="reset board{CRLF}y${CRLF}"/>
                                <Command Name="EnterConfigMode" Value="configure"/>
                                <Command Name="ExitConfigMode" Value="end"/>
                                <Command Name="Startup" Value="config"/>
                                <Command Name="Running" Value="running-config"/>
                                <Command Name="DownloadConfig" Value="Show ${ConfigType}"/>
                                <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
                                <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} tftp ${StorageAddress} ${StorageFilename} pc"/>
                                <Command Name="UploadConfigIndirect" Value="copy tftp ${ConfigType} ${StorageAddress} ${StorageFilename} pc"/>
                                <Command Name="EraseConfig" Value="reset configuration${CRLF}y${CRLF}"/>
                                <Command Name="Version" Value="show version"/>
                                <Command Name="PreCommand" Value="X"/>
                                <Command Name="CustomUserNamePrompt" Value="Username"/>
                                <Command Name="PreCommand" Value="${ENTER}" Delay="1000"/>
                                <Command Name="MenuBased" Value="false"/>
                                <Command Name="VirtualPrompt" Value=">"/>
                </Commands>
</Configuration-Management>

 

In the above template,  the process is stuck in the question from switch: Enter switch number to connect to or <CR>

 

[5/30/2016 5:02:02 PM] TimerTick: mstrData=<SWC00250_64_1# > State=3 - Connected to server - idle
[5/30/2016 5:02:02 PM] Pending Disconnect = False
[5/30/2016 5:02:02 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[5/30/2016 5:02:02 PM] Fuzzy match detector start detecting prompt. String1=swc00250_64_1# String2=enterswitchnumbertoconnecttoor<cr>:
[5/30/2016 5:02:02 PM] TimerTick: Just tick-tockin away. ..
[5/30/2016 5:02:04 PM] TimerTick: mstrData=<SWC00250_64_1# > State=3 - Connected to server - idle
[5/30/2016 5:02:04 PM] Pending Disconnect = False
[5/30/2016 5:02:04 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[5/30/2016 5:02:04 PM] Fuzzy match detector start detecting prompt. String1=swc00250_64_1# String2=enterswitchnumbertoconnecttoor<cr>:
[5/30/2016 5:02:04 PM] TimerTick: Just tick-tockin away. ..
[5/30/2016 5:02:06 PM] Disconnected - From: 10.106.64.1

Resolution

Use the following NCM template instead:

<!--SolarWinds Network Management Tools-->
<!--Copyright 2007 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="HP J4865A ProCurve Switch 4108GL" SystemOID=" 1.3.6.1.4.1.11.2.3.7.11.">
                <Commands>
                                <Command Name="RESET" Value="terminal length 1000"/>
                                <Command Name="Reboot" Value="reset board{CRLF}y${CRLF}"/>
                                <Command Name="EnterConfigMode" Value="configure"/>
                                <Command Name="ExitConfigMode" Value="end"/>
                                <Command Name="Startup" Value="config"/>
                                <Command Name="Running" Value="running-config"/>
                                <Command Name="DownloadConfig" Value="Show ${ConfigType}"/>
                                <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
                                <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} tftp ${StorageAddress} ${StorageFilename} pc"/>
                                <Command Name="UploadConfigIndirect" Value="copy tftp ${ConfigType} ${StorageAddress} ${StorageFilename} pc"/>
                                <Command Name="EraseConfig" Value="reset configuration${CRLF}y${CRLF}"/>
                                <Command Name="Version" Value="show version"/>
                                <Command Name="PreCommand" Value="${ENTER}"/>
                                <Command Name="CustomUserNamePrompt" Value="Username"/>                                
                <Command Name="FreezeLoginForPreCommand" Value="True"/>
                                <Command Name="MenuBased" Value="false"/>
                                <Command Name="VirtualPrompt" Value=">"/>
                </Commands>
</Configuration-Management>

 

Last modified

Tags

Classifications

Public