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

backing up flash

saidfrh18
Level 1
Level 1

i am trying to back up the IOs to a TFTp server. I can ping the TFTP server. When entering command copy flash TFTP, the address of the remote host is entered; immediately the Destination filename is followed, not the Sourcefilename.  see below.  Any sugestions would be appreciated.

RouterA#copy flash tftp

Address or name of remote host []? 172.16.30.2

Destination filename [flash]? c2500-i-l.121-3.bin

%Error opening flash:1:flash (No such file or directory)

RouterA#

RouterA#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 2500 Software (C2500-I-L), Version 12.1(3), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2000 by cisco Systems, Inc.

Compiled Thu 06-Jul-00 07:33 by cmong

Image text-base: 0x0303E710, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE

BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

RouterA uptime is 2 minutes

System returned to ROM by reload

System image file is "flash:c2500-i-l.121-3.bin"

cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.

Processor board ID 06160672, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0.

1 Ethernet/IEEE 802.3 interface(s)

2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash partition 1 (Read ONLY)

8192K bytes of processor board System flash partition 2 (Read/Write)

Configuration register is 0x2102

1 Accepted Solution

Accepted Solutions

Ganesh Hariharan
VIP Alumni
VIP Alumni

i am trying to back up the IOs to a TFTp server. I can ping the TFTP server. When entering command copy flash TFTP, the address of the remote host is entered; immediately the Destination filename is followed, not the Sourcefilename.  see below. Any sugestions would be appreciated.

RouterA#copy flash tftp

Address or name of remote host []? 172.16.30.2

Destination filename [flash]? c2500-i-l.121-3.bin

%Error opening flash:1:flash (No such file or directory)

RouterA#

RouterA#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 2500 Software (C2500-I-L), Version 12.1(3), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2000 by cisco Systems, Inc.

Compiled Thu 06-Jul-00 07:33 by cmong

Image text-base: 0x0303E710, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE

BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

RouterA uptime is 2 minutes

System returned to ROM by reload

System image file is "flash:c2500-i-l.121-3.bin"

cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.

Processor board ID 06160672, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0.

1 Ethernet/IEEE 802.3 interface(s)

2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash partition 1 (Read ONLY)

8192K bytes of processor board System flash partition 2 (Read/Write)

Configuration register is 0x2102

Hi,

Just try the following to copy the flash to tftp:-

Router#sh flash

Directory of flash:/

2 -rwx 99 Feb 24 2005 11:16:03 -05:00 private-config.text
3 -rwx 8149 Feb 24 2005 11:16:03 -05:00 config.text
6 -rwx 342 Jun 10 2004 11:36:32 -04:00 system_env_vars
24 drwx 192 Jun 10 2004 11:36:23 -04:00 c2500-i5q3l2-mz.121-20.EA2
7 -rwx 18 Jun 10 2004 11:36:32 -04:00 env_vars

15998976 bytes total (8269312 bytes free)

c2500-i5q3l2-mz.121-20.EA2 is the directory that the IOS file is in

This gives you the IOS file name in the directory

Router#cd flash:/c2500-i5q3l2-mz.121-20.EA2
Router#sh flash

Directory of flash:/c2500-i5q3l2-mz.121-20.EA2/

25 drwx 2688 Jun 10 2004 11:34:50 -04:00 html
107 -rwx 4219426 Jun 10 2004 11:36:23 -04:00 c2500-i5q3l2-mz.121-20.EA2.bin
108 -rwx 252 Jun 10 2004 11:36:23 -04:00 info

15998976 bytes total (8269312 bytes free)

Next copy the IOS to the tftp server

Router#copy flash tftp

Hope to Help !!

Remember to rate the helpful post

Ganesh.H

View solution in original post

2 Replies 2

Leo Laohoo
Hall of Fame
Hall of Fame

Try to use the command copy flash:c2500-i-l.121-3.bin tftp://flash:c2500-i-l.121-3.bin/c2500-i-l.121-3.bin

Ganesh Hariharan
VIP Alumni
VIP Alumni

i am trying to back up the IOs to a TFTp server. I can ping the TFTP server. When entering command copy flash TFTP, the address of the remote host is entered; immediately the Destination filename is followed, not the Sourcefilename.  see below. Any sugestions would be appreciated.

RouterA#copy flash tftp

Address or name of remote host []? 172.16.30.2

Destination filename [flash]? c2500-i-l.121-3.bin

%Error opening flash:1:flash (No such file or directory)

RouterA#

RouterA#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 2500 Software (C2500-I-L), Version 12.1(3), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2000 by cisco Systems, Inc.

Compiled Thu 06-Jul-00 07:33 by cmong

Image text-base: 0x0303E710, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE

BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

RouterA uptime is 2 minutes

System returned to ROM by reload

System image file is "flash:c2500-i-l.121-3.bin"

cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.

Processor board ID 06160672, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0.

1 Ethernet/IEEE 802.3 interface(s)

2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash partition 1 (Read ONLY)

8192K bytes of processor board System flash partition 2 (Read/Write)

Configuration register is 0x2102

Hi,

Just try the following to copy the flash to tftp:-

Router#sh flash

Directory of flash:/

2 -rwx 99 Feb 24 2005 11:16:03 -05:00 private-config.text
3 -rwx 8149 Feb 24 2005 11:16:03 -05:00 config.text
6 -rwx 342 Jun 10 2004 11:36:32 -04:00 system_env_vars
24 drwx 192 Jun 10 2004 11:36:23 -04:00 c2500-i5q3l2-mz.121-20.EA2
7 -rwx 18 Jun 10 2004 11:36:32 -04:00 env_vars

15998976 bytes total (8269312 bytes free)

c2500-i5q3l2-mz.121-20.EA2 is the directory that the IOS file is in

This gives you the IOS file name in the directory

Router#cd flash:/c2500-i5q3l2-mz.121-20.EA2
Router#sh flash

Directory of flash:/c2500-i5q3l2-mz.121-20.EA2/

25 drwx 2688 Jun 10 2004 11:34:50 -04:00 html
107 -rwx 4219426 Jun 10 2004 11:36:23 -04:00 c2500-i5q3l2-mz.121-20.EA2.bin
108 -rwx 252 Jun 10 2004 11:36:23 -04:00 info

15998976 bytes total (8269312 bytes free)

Next copy the IOS to the tftp server

Router#copy flash tftp

Hope to Help !!

Remember to rate the helpful post

Ganesh.H

Review Cisco Networking products for a $25 gift card