Thanks for the reply. This does make sense and I tried running with below changes:
I removed $config_prompt as this is being run through enable mode, it's set as unknown anyways. Is this correct?
send "copy tftp system-manifest *.*.*.* FI08070e_Manifest.txt all-images-secondary\r"
set more true
expect {
-ex "y*n" {
send "y\r"
exp_continue
} $prompt {
}
}
Posted full results from the output below. I also noticed that after running this command script, it takes about two minutes just to show the send "copy tftp" command in the log output as it's running.
https://github.com/Lynkdev/Expect-learning/blob/master/Ruckus/Results%20from%20Expect%20scriptNot sure what the # check for previous logout portion of the script is doing towards the bottom, is this needed?