backing up flash

Answered Question
Mar 8th, 2010
User Badges:

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.


/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

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#


/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

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

Correct Answer by Ganesh Hariharan about 7 years 3 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Leo Laohoo Mon, 03/08/2010 - 14:55
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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

Correct Answer
Ganesh Hariharan Mon, 03/08/2010 - 21:56
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

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

Actions

This Discussion