Saturday, March 12, 2011

Copying Running Configuration with Cisco SCP

Below shows a sample configuration for using the Cisco IOS copy command to copy a router's running configuration to an OpenSSH server.

Router#copy running-config scp:
Address or name of remote host []? 10.10.10.10
Destination username [Router]? someone
Destination filename [router-config]? /cygdrive/c/backup-config/router-confg01
Writing /cygdrive/c/backup-config/router-confg01
Password: passwd
! Sink : CO644 741 router-confg01

741 bytes copied in 20.632 secs (36 bytes/sec)
Router#
Router#copy running-config scp://someone:passwd@10.10.10.10//cygdrive/c/backup-config/router-confg02
Address or name of remote host [10.10.10.10]? [Enter]
Destination username [someone]? [Enter]
Destination filename [/cygdrive/c/backup-config/router-confg02]? [Enter]
Writing /cygdrive/c/backup-config/router-confg02 ! Sink : CO644 741 router-confg01

741 bytes copied in 16.232 secs (46 bytes/sec)
Router#

No comments:

Post a Comment