cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

CustomQuestionPrompt is ignored in Device Template

Hi,

I added the Option "CustomQuestionPrompt" to my Device Template because the Firmware updates on my Devices are not working via NCM.

In Tracelog I see that the promt isn't detectd but I also see that the option "CustomQuestionPromt" is ignored in the SSH Session:

 

[e3a7e5f9] [08/28/2020 11:15:28.037] -----------------Net. SWTelnet v7.12.1.711-------------------
[e3a7e5f9] [08/28/2020 11:15:28.037] UseCustomMorePromptBehaviour: False
[e3a7e5f9] [08/28/2020 11:15:28.053] MorePromptKey:
[e3a7e5f9] [08/28/2020 11:15:28.053] Custom MorePrompt Pattern:
[e3a7e5f9] [08/28/2020 11:15:28.053] Login Attempts: 1
[e3a7e5f9] [08/28/2020 11:15:28.069] UseKeyboardInteractiveAuthentication: False
[e3a7e5f9] [08/28/2020 11:15:28.069] Enable Identifier: #$
[e3a7e5f9] [08/28/2020 11:15:28.084] Device Template: Dell N1100 Connection Profile: SSH-Dell-NSeries
[e3a7e5f9] [08/28/2020 11:15:28.084] System Name: ME07-043-N1148T-ACCESS
[e3a7e5f9] [08/28/2020 11:15:28.084] System OID: 1.3.6.1.4.1.674.10895.3084
[e3a7e5f9] [08/28/2020 11:15:28.100] UseExactPromptMatch=False
[e3a7e5f9] [08/28/2020 11:15:28.100] Menu-based mode=False
[e3a7e5f9] [08/28/2020 11:15:28.115] FreezeLoginForPreCommands mode= False
[e3a7e5f9] [08/28/2020 11:15:28.115] CommandCharKey = Default
[e3a7e5f9] [08/28/2020 11:15:28.115] FISP mode= False
[e3a7e5f9] [08/28/2020 11:15:28.131] UseVirtualPromptForCommands False
[e3a7e5f9] [08/28/2020 11:15:28.131] Responce Timeout in seconds: 1200
[e3a7e5f9] [08/28/2020 11:15:28.147] Connection Timeout in seconds: 1500
[e3a7e5f9] [08/28/2020 11:15:28.147] Resx Culture is: English (United States)
[e3a7e5f9] [08/28/2020 11:15:28.147] Encoding: Unicode (UTF-8)
[e3a7e5f9] [08/28/2020 11:15:28.162] Process Architecture : 64-bit
[e3a7e5f9] [08/28/2020 11:15:28.162] WOD details:

....

....

FoundPromptLine=ME07-043-N1148T-ACCESS#
[e3a7e5f9] [08/28/2020 11:15:34.946] Echo and prompt are removed if they exist, out buffer = <<<ME07-043-N1148T-ACCESS# >>>
[e3a7e5f9] [08/28/2020 11:15:34.946] Start check prompt for menu-based device
[e3a7e5f9] [08/28/2020 11:15:34.962] Process line = <ME07-043-N1148T-ACCESS#>
[e3a7e5f9] [08/28/2020 11:15:34.962] SendNextCommand Running: copy tftp://10.130.3.29/N1100v6.6.0.2.stk backup
[e3a7e5f9] [08/28/2020 11:15:34.977] <-- copy tftp://10.130.3.29/N1100v6.6.0.2.stk backup
[e3a7e5f9] [08/28/2020 11:15:34.993] Process line = <>
[e3a7e5f9] [08/28/2020 11:15:35.024] -->c
[e3a7e5f9] [08/28/2020 11:15:35.040] Start check prompt for menu-based device
[e3a7e5f9] [08/28/2020 11:15:35.040] Process line = <c>
[e3a7e5f9] [08/28/2020 11:15:35.055] Fuzzy match detector start detecting prompt. String1=c String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.055] Pushing back: <c>
[e3a7e5f9] [08/28/2020 11:15:35.071] mPrompt is : <ME07-043-N1148T-ACCESS#>
[e3a7e5f9] [08/28/2020 11:15:35.290] -->opy tftp://10.130.3.29/N1100v6.6.0.2.stk backup
[e3a7e5f9] [08/28/2020 11:15:35.305] -->
[e3a7e5f9] [08/28/2020 11:15:35.305] -->
[e3a7e5f9] [08/28/2020 11:15:35.321] -->Transfer Mode.................................. TFTP
[e3a7e5f9] [08/28/2020 11:15:35.321] -->Server IP Address.............................. 10.130.3.29
[e3a7e5f9] [08/28/2020 11:15:35.337] -->Source File Path............................... ./
[e3a7e5f9] [08/28/2020 11:15:35.337] -->Source Filename................................ N1100v6.6.0.2.stk
[e3a7e5f9] [08/28/2020 11:15:35.352] -->Data Type...................................... Code
[e3a7e5f9] [08/28/2020 11:15:35.352] -->Destination Filename........................... backup
[e3a7e5f9] [08/28/2020 11:15:35.368] -->
[e3a7e5f9] [08/28/2020 11:15:35.368] -->Management access will be blocked for the duration of the transfer
[e3a7e5f9] [08/28/2020 11:15:35.384] -->Are you sure you want to start? (y/n)
[e3a7e5f9] [08/28/2020 11:15:35.384] Echo not detected yet. Push back data to echo buffer, EchoBuffer = <<<copy tftp://10.130.3.29/N1100v6.6.0.2.stk backup Transfer Mode.................................. TFTP Server IP Address.............................. 10.130.3.29 Source File Path............................... ./ Source Filename................................ N1100v6.6.0.2.stk Data Type...................................... Code Destination Filename........................... backup Management access will be blocked for the duration of the transfer >>>
[e3a7e5f9] [08/28/2020 11:15:35.399] Start detecting command echo in echo buffer...
[e3a7e5f9] [08/28/2020 11:15:35.399] Echo is detected, EchoBuffer = <<<copy tftp://10.130.3.29/N1100v6.6.0.2.stk backup Transfer Mode.................................. TFTP Server IP Address.............................. 10.130.3.29 Source File Path............................... ./ Source Filename................................ N1100v6.6.0.2.stk Data Type...................................... Code Destination Filename........................... backup Management access will be blocked for the duration of the transfer >>>
[e3a7e5f9] [08/28/2020 11:15:35.415] RemovePrompt = prompt not found via Regex
[e3a7e5f9] [08/28/2020 11:15:35.415] Echo and prompt are removed if they exist, out buffer = <<<Transfer Mode.................................. TFTP Server IP Address.............................. 10.130.3.29 Source File Path............................... ./ Source Filename................................ N1100v6.6.0.2.stk Data Type...................................... Code Destination Filename........................... backup Management access will be blocked for the duration of the transfer Are you sure you want to start? (y/n) >>>
[e3a7e5f9] [08/28/2020 11:15:35.430] Start check prompt for menu-based device
[e3a7e5f9] [08/28/2020 11:15:35.430] Process line = <Transfer Mode.................................. TFTP >
[e3a7e5f9] [08/28/2020 11:15:35.446] Fuzzy match detector start detecting prompt. String1=transfermode..................................tftp String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.446] Save Command output: Transfer Mode.................................. TFTP
[e3a7e5f9] [08/28/2020 11:15:35.462] Process line = <Server IP Address.............................. 10.130.3.29>
[e3a7e5f9] [08/28/2020 11:15:35.462] Fuzzy match detector start detecting prompt. String1=serveripaddress..............................10.130.3.29 String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.477] Save Command output: Server IP Address.............................. 10.130.3.29
[e3a7e5f9] [08/28/2020 11:15:35.477] Process line = <Source File Path............................... ./>
[e3a7e5f9] [08/28/2020 11:15:35.493] Fuzzy match detector start detecting prompt. String1=sourcefilepath................................/ String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.493] Save Command output: Source File Path............................... ./
[e3a7e5f9] [08/28/2020 11:15:35.493] Process line = <Source Filename................................ N1100v6.6.0.2.stk>
[e3a7e5f9] [08/28/2020 11:15:35.509] Fuzzy match detector start detecting prompt. String1=sourcefilename................................n1100v6.6.0.2.stk String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.509] Save Command output: Source Filename................................ N1100v6.6.0.2.stk
[e3a7e5f9] [08/28/2020 11:15:35.524] Process line = <Data Type...................................... Code >
[e3a7e5f9] [08/28/2020 11:15:35.524] Fuzzy match detector start detecting prompt. String1=datatype......................................code String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.540] Save Command output: Data Type...................................... Code
[e3a7e5f9] [08/28/2020 11:15:35.540] Process line = <Destination Filename........................... backup>
[e3a7e5f9] [08/28/2020 11:15:35.555] Fuzzy match detector start detecting prompt. String1=destinationfilename...........................backup String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.555] Save Command output: Destination Filename........................... backup
[e3a7e5f9] [08/28/2020 11:15:35.571] Process line = <>
[e3a7e5f9] [08/28/2020 11:15:35.571] Process line = <Management access will be blocked for the duration of the transfer>
[e3a7e5f9] [08/28/2020 11:15:35.587] Fuzzy match detector start detecting prompt. String1=managementaccesswillbeblockedforthedurationofthetransfer String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.587] Save Command output: Management access will be blocked for the duration of the transfer
[e3a7e5f9] [08/28/2020 11:15:35.602] Process line = <Are you sure you want to start? (y/n) >
[e3a7e5f9] [08/28/2020 11:15:35.602] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=me07-043-n1148t-access#
[e3a7e5f9] [08/28/2020 11:15:35.618] Removed data in (...) Output= areyousureyouwanttostart?
[e3a7e5f9] [08/28/2020 11:15:35.618] Pushing back: <Are you sure you want to start? (y/n) >
[e3a7e5f9] [08/28/2020 11:15:35.634] mPrompt is : <ME07-043-N1148T-ACCESS#>
[e3a7e5f9] [08/28/2020 11:15:36.260] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected
[e3a7e5f9] [08/28/2020 11:15:36.260] Pending Disconnect = False

0 Kudos
0 Replies