Page 1 of 1

Downloading boot.cfg file from router flash

Posted: 17 Jan 2014 00:04
by anubhav65
Hi guys I want to know that how to download a file from router like boot.cfg through putty by consoling into the router.

Re: Downloading boot.cfg file from router flash

Posted: 17 Jan 2014 04:09
by devnull
console?
Download ist easy: just enter
"show configuration snapshot all"
and grap the output.

What you don't get with that is user configuration, boot slot numbers, banners, aclman configs aso.

I prefer to use ftp to get the files, if you have the possibility (which also makes it easier to upload the files).

you can also connect from the switch to a ftp server:

Code: Select all

switch > cd working
switch > ftp 172.24.20.176
Connecting to [172.24.20.176]...connected.
220 3Com 3CDaemon FTP Server Version 2.0
Name : devnull
331 User name ok, need password
Password: 
230 User logged in
ftp> put boot.cfg
200 PORT command successful.
150 File status OK ; about to open data connection
Transmitting: boot.cfg
/flash/working/boot.cfg Transferred 18817 octets in 1 seconds.
226 Closing data connection; File transfer successful.
ftp> quit
221 Service closing control connection
switch >