Friday, October 14, 2016

how to redirecto cisco command output to remote server

below will show you how to redirect cisco command output to ftp and tftp server


1- to setup ftp server test follow the link below
http://www.atechnote.com/2016/10/very-quick-way-to-setup-ftp-server-for.html

2- setup tftp server by install the following package
$ sudo apt-get install atftpd

3- create tftproot directory and start the daemon
$ sudo mkdir /tftpboot/
$ sudo chmod 777 /tftpboot/ -R
$ atftpd -v --daemon /tftpboot/



*** on cisco router

- copy running-config to ftp
Router#show running-config | redirect ftp://10.0.0.2/running-config

-copy running-config to tftp
Router#show running-config | redirect tftp://10.0.0.2/running-config

No comments:

Post a Comment