Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register now.

Home > Success Center > Network Configuration Manager (NCM) > NCM - Knowledgebase Articles > NCM test failed : timeout for Cisco 3845 unable to download configuraton

NCM test failed : timeout for Cisco 3845 unable to download configuraton

Created by Malik Haider, last modified by MindTouch on Jun 23, 2016

Views: 1,235 Votes: 0 Revisions: 7

Updated June 13, 2016

Overview

This article provides brief information and steps to resolve the issue when you  have a number of Cisco  devices that  you are unable to download the configurations for.

 

This previously worked before the upgrade to the latest version but no longer does. The devices are menu based with 99  used to enter the CLI mode. The template we are using does not recognize the menu and therefore does not enter the 99 selection to exit the menu and then enter enable mode.

Using the Interactive wizard does not give the option for menu based devices. 

 

 

The session trace logs reflect the following:

 

[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t38dc1bn01> String2=selection:99
[18/05/2016 10:47:17] TimerTick: Timeout
[18/05/2016 10:47:17] <-- 99


[18/05/2016 10:47:17] --> 99
[18/05/2016 10:47:17] --> % 99 is not an open connection
[18/05/2016 10:47:17] --> T38DC1BN01>
[18/05/2016 10:47:17] Echo not detected yet. Push back data to echo buffer, EchoBuffer = <<<T38DC1BN01>99
% 99 is not an open connection
>>>
[18/05/2016 10:47:17] Start detecting command echo in echo buffer...
[18/05/2016 10:47:17] Echo is detected, EchoBuffer = <<<T38DC1BN01>99
% 99 is not an open connection
>>>
[18/05/2016 10:47:17] Remove Prompt - prompt not found via RegEx
[18/05/2016 10:47:17] Echo and prompt are removed if they exist, out buffer = <<<T38DC1BN01>% 99 is not an open connection
T38DC1BN01>>>>
[18/05/2016 10:47:17] Start check prompt for menu-based device
[18/05/2016 10:47:17] Process Line = <T38DC1BN01>% 99 is not an open connection>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t38dc1bn01>%99isnotanopenconnection String2=selection:99
[18/05/2016 10:47:17] Save Command Output: T38DC1BN01>% 99 is not an open connection
[18/05/2016 10:47:17] Enter CLI command detected. Trying to switch into CLI mode...
[18/05/2016 10:47:17] Custom Prompt detector detect # prompt
[18/05/2016 10:47:17] CLI mode prompt detected <T38DC1BN01>>
[18/05/2016 10:47:17] Process Line = <T38DC1BN01>>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t38dc1bn01> String2=t38dc1bn01>
[18/05/2016 10:47:17] <-- terminal width 0
terminal length 0


[18/05/2016 10:47:17] --->t
[18/05/2016 10:47:17] Start check prompt for menu-based device
[18/05/2016 10:47:17] Process Line = <t>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t String2=t38dc1bn01>
[18/05/2016 10:47:17] Pushing back: <t>
[18/05/2016 10:47:17] mPrompt is : <T38DC1BN01>>
[18/05/2016 10:47:17] --> erminal width 0
[18/05/2016 10:47:17] --> T38DC1BN01>
[18/05/2016 10:47:17] --> T38DC1BN01>terminal length 0
[18/05/2016 10:47:17] --> T38DC1BN01>
[18/05/2016 10:47:17] Incomplete buffer with prompt is detected - save all lines to echo buffer
[18/05/2016 10:47:17] Echo not detected yet. Push back data to echo buffer, EchoBuffer = <<<terminal width 0
T38DC1BN01>
T38DC1BN01>terminal length 0
T38DC1BN01>
>>>
[18/05/2016 10:47:17] Start detecting command echo in echo buffer...
[18/05/2016 10:47:17] Start check prompt for menu-based device
[18/05/2016 10:47:17] Process Line = <terminal width 0>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=terminalwidth0 String2=t38dc1bn01>
[18/05/2016 10:47:17] Process Line = <T38DC1BN01>>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t38dc1bn01> String2=t38dc1bn01>
[18/05/2016 10:47:17] Waiting for the Current Command (terminal width 0
terminal length 0) to be Echoed
[18/05/2016 10:47:17] Process Line = <T38DC1BN01>terminal length 0>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t38dc1bn01>terminallength0 String2=t38dc1bn01>
[18/05/2016 10:47:17] Waiting for the Current Command (terminal width 0
terminal length 0) to be Echoed
[18/05/2016 10:47:17] Process Line = <T38DC1BN01>>
[18/05/2016 10:47:17] Fuzzy match detector start detecting prompt. String1=t38dc1bn01> String2=t38dc1bn01>
[18/05/2016 10:47:17] Waiting for the Current Command (terminal width 0
terminal length 0) to be Echoed
[18/05/2016 10:47:19] TimerTick: mstrData=<T38DC1BN01>> State=3 - Connected to server - idle
[18/05/2016 10:47:19] Pending Disconnect = False
[18/05/2016 10:47:19] TimerTick: Saw ConfigPrompt
[18/05/2016 10:47:19] Prompt is being set to : T38DC1BN01>
[18/05/2016 10:47:19] SendNextCommand Done: Disconnecting
[18/05/2016 10:47:21] Disconnecting
[18/05/2016 10:47:21] TimerTick: mstrData=<T38DC1BN01>> State=3 - Connected to server - idle
[18/05/2016 10:47:21] Pending Disconnect = True
[18/05/2016 10:47:21] Disconnected - From: 10.61.241.9

 

Environment

NCM 7.4 and later

 

Cause 

You have enabled Allow Terminal Server Support to YES causing the issue within the device response. 

 

Resolution

Disable Allow Terminal Server Support to NO and then try to connect  

 

Also use the below template for the device in question 

 

<Configuration-Management Device="Cisco 3845 New" SystemOID="1.3.6.1.4.1.9.1.544">
                <Commands>
                                <Command Name="RESET" Value="terminal width 0${CRLF}terminal length 0"/> 
                                <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>
                                <Command Name="EnterConfigMode" Value="config terminal"/>
                                <Command Name="ExitConfigMode" Value="end"/>
                                <Command Name="Startup" Value="startup"/>
                                <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}${CRLF}${CRLF}${CRLF}"/>
                                <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename} ${ConfigType}${CRLF}${CRLF}"/>
                                <Command Name="DownloadConfigIndirectSCP" Value="copy ${ConfigType} ${TransferProtocol}://${SCPServerUserName}@${SCPStorageAddress}/${StorageFilename}${CRLF}${CRLF}${CRLF}${CRLF}${SCPServerPassword}"/>
                                <Command Name="UploadConfigIndirectSCP" Value="copy ${TransferProtocol}://${SCPServerUserName}@${SCPStorageAddress}/${StorageFilename} ${ConfigType}${CRLF}${CRLF}${SCPServerPassword}"/>
                                <Command Name="EraseConfig" Value="write erase${CRLF}Y"/>
                                <Command Name="SaveConfig" Value="write memory"/>
                                <Command Name="FreezeLoginForPreCommand" Value="True"/>
                                <Command Name="PreCommand" Value="99"/>
                </Commands>
</Configuration-Management>

 

 

 

 

Last modified

Tags

Classifications

Public