05-19-2016 08:13 AM
Hi
I just want to run a ping or trace tcl script on the 7k, but how to export the output to a file automatically? I can log the output from securecrt but try to find a easier way.
Thanks
05-19-2016 01:54 PM
Assume the output is in a variable called $output, you can do:
set fd [open "flash:output.txt" w]
puts $fd $output
close $fd
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community