View Single Post
  #37  
Old 10-14-2014, 09:34 AM
kgaudineer kgaudineer is offline
Registered User
 
Join Date: Jan 2011
Posts: 15
Good morning rtb

I had a second thought this morning... Since there are basically only 3 commands that are being used for this task is there a way to comment out the section of the script that reads commands in from a separate file and just hard code the 3 file transfer steps ? My thoughts are trying it this way...

copy startup-config tftp
10.24.21.117
waitfor string "#", "?" {enter}

OR

copy startup-config tftp://10.24.21.117/{variable to construct file name} {enter}
waitfor string "#", "?" {enter}
waitfor string "#", "?" {enter}
Reply With Quote