4 Replies Latest reply on Nov 6, 2018 3:23 PM by jpetkevich

    DELL N-Series Firmware Update

    bias

      Hi,

       

      I am trying to upgrade Firmwares via NCM.

       

      But the update script is stucking because NCM doesn't send a Y for confirm the copy command.

      I tried different commands in my upgrade template..

       

      For example: copy ${TransferProtocol}://${StorageAddress}/${NewImageName} backup${CRLF}y

       

      Here is the Log:

       

      [bf0f944d] [10.29.2018 16:22:11.024] mPrompt is : <Dell#>

      [bf0f944d] [10.29.2018 16:22:11.039] -->opy tftp://10.130.3.100/N3000AdvLitev6.5.2.15.stk backup

      [bf0f944d] [10.29.2018 16:22:11.039] -->

      [bf0f944d] [10.29.2018 16:22:11.039] -->

      [bf0f944d] [10.29.2018 16:22:11.039] -->Transfer Mode.................................. TFTP  

      [bf0f944d] [10.29.2018 16:22:11.039] -->Server IP Address.............................. 10.130.3.100

      [bf0f944d] [10.29.2018 16:22:11.039] -->Source File Path............................... ./

      [bf0f944d] [10.29.2018 16:22:11.055] -->Source Filename................................ N3000AdvLitev6.5.2.15.stk

      [bf0f944d] [10.29.2018 16:22:11.055] -->Data Type...................................... Code            

      [bf0f944d] [10.29.2018 16:22:11.055] -->Destination Filename........................... backup

      [bf0f944d] [10.29.2018 16:22:11.055] -->

      [bf0f944d] [10.29.2018 16:22:11.055] -->Management access will be blocked for the duration of the transfer

      [bf0f944d] [10.29.2018 16:22:11.070] -->Are you sure you want to start? (y/n) 

      [bf0f944d] [10.29.2018 16:22:11.070] Echo not detected yet. Push back data to echo buffer, EchoBuffer = <<<copy tftp://10.130.3.100/N3000AdvLitev6.5.2.15.stk backup

       

       

       

       

      Transfer Mode.................................. TFTP 

      Server IP Address.............................. 10.130.3.100

      Source File Path............................... ./

      Source Filename................................ N3000AdvLitev6.5.2.15.stk

      Data Type...................................... Code           

      Destination Filename........................... backup

       

       

      Management access will be blocked for the duration of the transfer

      >>>

      [bf0f944d] [10.29.2018 16:22:11.070] Start detecting command echo in echo buffer...

      [bf0f944d] [10.29.2018 16:22:11.070] Echo is detected, EchoBuffer = <<<copy tftp://10.130.3.100/N3000AdvLitev6.5.2.15.stk backup

       

       

       

       

      Transfer Mode.................................. TFTP 

      Server IP Address.............................. 10.130.3.100

      Source File Path............................... ./

      Source Filename................................ N3000AdvLitev6.5.2.15.stk

      Data Type...................................... Code           

      Destination Filename........................... backup

       

       

      Management access will be blocked for the duration of the transfer

      >>>

      [bf0f944d] [10.29.2018 16:22:11.070] RemovePrompt = prompt not found via Regex

      [bf0f944d] [10.29.2018 16:22:11.070] Echo and prompt are removed if they exist, out buffer = <<<Transfer Mode.................................. TFTP 

      Server IP Address.............................. 10.130.3.100

      Source File Path............................... ./

      Source Filename................................ N3000AdvLitev6.5.2.15.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) >>>

      [bf0f944d] [10.29.2018 16:22:11.086] Start check prompt for menu-based device

      [bf0f944d] [10.29.2018 16:22:11.086] Process line = <Transfer Mode.................................. TFTP  >

      [bf0f944d] [10.29.2018 16:22:11.086] Fuzzy match detector start detecting prompt. String1=transfermode..................................tftp String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.102] Save Command output: Transfer Mode.................................. TFTP  

      [bf0f944d] [10.29.2018 16:22:11.102] Process line = <Server IP Address.............................. 10.130.3.100>

      [bf0f944d] [10.29.2018 16:22:11.102] Fuzzy match detector start detecting prompt. String1=serveripaddress..............................10.130.3.100 String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.102] Save Command output: Server IP Address.............................. 10.130.3.100

      [bf0f944d] [10.29.2018 16:22:11.102] Process line = <Source File Path............................... ./>

      [bf0f944d] [10.29.2018 16:22:11.102] Fuzzy match detector start detecting prompt. String1=sourcefilepath................................/ String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.117] Save Command output: Source File Path............................... ./

      [bf0f944d] [10.29.2018 16:22:11.117] Process line = <Source Filename................................ N3000AdvLitev6.5.2.15.stk>

      [bf0f944d] [10.29.2018 16:22:11.117] Fuzzy match detector start detecting prompt. String1=sourcefilename................................n3000advlitev6.5.2.15.stk String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.117] Save Command output: Source Filename................................ N3000AdvLitev6.5.2.15.stk

      [bf0f944d] [10.29.2018 16:22:11.117] Process line = <Data Type...................................... Code            >

      [bf0f944d] [10.29.2018 16:22:11.117] Fuzzy match detector start detecting prompt. String1=datatype......................................code String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.117] Save Command output: Data Type...................................... Code            

      [bf0f944d] [10.29.2018 16:22:11.133] Process line = <Destination Filename........................... backup>

      [bf0f944d] [10.29.2018 16:22:11.133] Fuzzy match detector start detecting prompt. String1=destinationfilename...........................backup String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.133] Save Command output: Destination Filename........................... backup

      [bf0f944d] [10.29.2018 16:22:11.133] Process line = <>

      [bf0f944d] [10.29.2018 16:22:11.133] Process line = <Management access will be blocked for the duration of the transfer>

      [bf0f944d] [10.29.2018 16:22:11.133] Fuzzy match detector start detecting prompt. String1=managementaccesswillbeblockedforthedurationofthetransfer String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.149] Save Command output: Management access will be blocked for the duration of the transfer

      [bf0f944d] [10.29.2018 16:22:11.149] Process line = <Are you sure you want to start? (y/n) >

      [bf0f944d] [10.29.2018 16:22:11.149] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:11.149] Removed data in (...) Output= areyousureyouwanttostart?

      [bf0f944d] [10.29.2018 16:22:11.149] Pushing back: <Are you sure you want to start? (y/n) >

      [bf0f944d] [10.29.2018 16:22:11.149] mPrompt is : <Dell#>

      [bf0f944d] [10.29.2018 16:22:12.633] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected

      [bf0f944d] [10.29.2018 16:22:12.633] Pending Disconnect = False

      [bf0f944d] [10.29.2018 16:22:12.633] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:12.633] Removed data in (...) Output= areyousureyouwanttostart?

      [bf0f944d] [10.29.2018 16:22:12.633] TimerTick: Just tick-tockin away ...

      [bf0f944d] [10.29.2018 16:22:14.633] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected

      [bf0f944d] [10.29.2018 16:22:14.633] Pending Disconnect = False

      [bf0f944d] [10.29.2018 16:22:14.633] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...

      [bf0f944d] [10.29.2018 16:22:14.633] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:14.633] Removed data in (...) Output= areyousureyouwanttostart?

      [bf0f944d] [10.29.2018 16:22:14.633] TimerTick: Just tick-tockin away ...

      [bf0f944d] [10.29.2018 16:22:16.633] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected

      [bf0f944d] [10.29.2018 16:22:16.633] Pending Disconnect = False

      [bf0f944d] [10.29.2018 16:22:16.633] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...

      [bf0f944d] [10.29.2018 16:22:16.633] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:16.633] Removed data in (...) Output= areyousureyouwanttostart?

      [bf0f944d] [10.29.2018 16:22:16.633] TimerTick: Just tick-tockin away ...

      [bf0f944d] [10.29.2018 16:22:18.649] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected

      [bf0f944d] [10.29.2018 16:22:18.649] Pending Disconnect = False

      [bf0f944d] [10.29.2018 16:22:18.649] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...

      [bf0f944d] [10.29.2018 16:22:18.649] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:18.649] Removed data in (...) Output= areyousureyouwanttostart?

      [bf0f944d] [10.29.2018 16:22:18.649] TimerTick: Just tick-tockin away ...

      [bf0f944d] [10.29.2018 16:22:20.649] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected

      [bf0f944d] [10.29.2018 16:22:20.649] Pending Disconnect = False

      [bf0f944d] [10.29.2018 16:22:20.649] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...

      [bf0f944d] [10.29.2018 16:22:20.649] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:20.649] Removed data in (...) Output= areyousureyouwanttostart?

      [bf0f944d] [10.29.2018 16:22:20.649] TimerTick: Just tick-tockin away ...

      [bf0f944d] [10.29.2018 16:22:22.680] TimerTick: mstrData=<Are you sure you want to start? (y/n) > State=Connected

      [bf0f944d] [10.29.2018 16:22:22.680] Pending Disconnect = False

      [bf0f944d] [10.29.2018 16:22:22.680] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...

      [bf0f944d] [10.29.2018 16:22:22.680] Fuzzy match detector start detecting prompt. String1=areyousureyouwanttostart?(y/n) String2=dell#

      [bf0f944d] [10.29.2018 16:22:22.680] Removed data in (...) Output= areyousureyouwanttostart?