01-25-2012 08:47 AM
Hi Cisco Experts,
I would like to ask a simple query, as you can use append/tee filter to get the output from one Cisco device.
but does any one know how can multiple router send any command output to a central ftp server to any file? .txt or .doc etc? and just to ensure all entries get appended not overridden.
Any one know?
RTR-A : sho log | redirect ftp://user|pwd@myserver/file.txt
RTR-B : sho log | redirect ftp://user|pwd@myserver/file.txt
RTR-C : sho log | redirect ftp://user|pwd@myserver/file.txt
Thanks again!
Regds,
Faiz
01-25-2012 09:49 AM
I don't think you can append directly to a remote file from the router.
If instead you use the remote server as your logging destination from the outset and have a syslog daemon running on it, that would seem to accomplish a similar result. If your do that, syslog.log will have all the log entiries from the routers in it (sorted by time of arrival vs. sequentially by device but easy enough to re-sort).
01-30-2012 08:01 AM
I wanted to take some cutomized output get appended to central file. I see there is an option to use Solarwinds NCM "execute command script" but I wanted to used something simpler than that. I am still finding out.
Thanks for your feedback anyways Marvin.
Regds,
Faiz
01-31-2012 01:03 AM
this should be possible if you use "append" instead of "redirect". See this doc:
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t13/feature/guide/ftshowre.html#wp1046419
05-03-2012 05:06 AM
Thanks for all your replies. It didnt work anyways.
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