Monday, April 17, 2017

Copy multiple files from Cisco router to FTP server

https://community.spiceworks.com/how_to/77152-move-multiple-files-to-or-from-flash-on-your-cisco-router

conf t
file prompt quiet
exit
tclsh
set fileList [glob -directory crashinfo:tracelogs -nocomplain smd_R*]
foreach file $fileList { copy $file ftp://10.104.99.167/[string range $file 7 end] }
exit

set fileList [glob -directory crashinfo:tracelogs -nocomplain smd_R*]

No comments:

Post a Comment