09-23-2020 04:04 AM - edited 09-23-2020 04:05 AM
Hi everybody,
I have a Cisco router connected to Linux server. I access to the router using ssh connection from the server (is not possible to change this). After to access to the router, I get different information (interfaces status, pings to different devices, etc) and now, I would like to share this information with the server. Cisco has any command to transfer information? If not, it's possible to create any FTP, SFTP o similar to store information and then server access to it? It's not possible use SMNP or IPSLA.
Thanks
09-23-2020 06:53 AM
You could write a script, on you Linux server, to connect to your router, via SSH, and "extract" whatever information you desire. Or, your script might also "pipe" requested information "somewhere". It might also be possible to write an EEM script, on your router, running on a reoccurring schedule, to pipe output "somewhere".
09-23-2020 11:49 PM
Thanks for your reply Joseph,
but I have a question. With the second option (IOS command) I can use "shell processing full" to create a file (using '>') with results and then, copy to a ftp server on my Linux, but using the first option (ssh from Linux server) how can I extract this information? Linux can pass information from Cisco to the Linux server automatically using ssh?
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