cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
743
Views
0
Helpful
2
Replies

To share router information

sir_ulrick
Level 1
Level 1

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

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame

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".

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?