IOS Image Name

Answered Question
Aug 10th, 2009
User Badges:

Hi,

How can we locate the name of the IOS image. I need it to take the backup.

thanks

Correct Answer by Lucien Avramov about 7 years 11 months ago

your copy command should be:

copy disk1: tftp:

Then follow the questions.


Use disk1: and not slot0:.


When you boot your router, it boots the first image it finds on the disk1:. It is fine as you have 1 image only. If you have more than one image you should set the boot var, the command is boot system disk1:7200.bin for you.


http://www.cisco.com/en/US/docs/ios/12_0/configfun/command/reference/frreboot.html#wp1017705

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Lucien Avramov Mon, 08/10/2009 - 22:51
User Badges:
  • Red, 2250 points or more

show version will tell you where its located, yield for "System image file is"


Example:

NMS-CAT6K-B#show ver

Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISE_WAN-M), Version 12.2(33)SXI1, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2009 by Cisco Systems, Inc.

Compiled Sat 28-Mar-09 10:29 by prod_rel_team


ROM: System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1)


NMS-CAT6K-B uptime is 2 weeks, 3 days, 9 hours, 25 minutes

Uptime for this control processor is 2 weeks, 3 days, 9 hours, 14 minutes

Time since NMS-CAT6K-B switched to active is 2 weeks, 3 days, 10 hours, 15 minutes

System returned to ROM by power cycle at 12:29:08 PDT Thu Jun 4 2009 (SP by power on)

System restarted at 13:35:25 PDT Fri Jul 24 2009

System image file is "disk0:s72033-adventerprise_wan-mz.122-33.SXI1.bin"


Then you can copy it to a tftp server on your pc for example:

Example:

copy disk0:s72033-adventerprise_wan-mz.122-33.SXI1.bin tftp:



ravinderrajput Mon, 08/10/2009 - 22:59
User Badges:

Hi,

That's exactly what i am doing, but still i am unable to locate the image name. Here is the copy of the sh ver output

Pardon my ignorance but can you locate the file for me.



Reliance_Teleport#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 7200 Software (C7200-K4P-M), Version 12.0(31)S, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

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

Compiled Sat 16-Apr-05 23:33 by kellythw

Image text-base: 0x60008F3C, data-base: 0x616D2000


ROM: System Bootstrap, Version 12.0(19990210:195103) [12.0XE 105], DEVELOPMENT S

OFTWARE

BOOTLDR: 7200 Software (C7200-BOOT-M), Version 12.0(2)XE2, EARLY DEPLOYMENT RELE

ASE SOFTWARE (fc1)


Reliance_Teleport uptime is 5 weeks, 3 days, 3 hours, 13 minutes

System returned to ROM by reload at 14:14:26 UTC Thu Feb 26 2009

Running default software


cisco 7206 (NPE300) processor with 122880K/40960K bytes of memory.

Processor board ID 16061132

R7000 CPU at 262Mhz, Implementation 39, Rev 1.0, 256KB L2 Cache

6 slot midplane, Version 1.3


Last reset from power-on

X.25 software, Version 3.0.0.


PCI bus mb0_mb1 (Slots 0, 1, 3 and 5) has a capacity of 600 bandwidth points.

Current configuration on bus mb0_mb1 has a total of 200 bandwidth points.

This configuration is within the PCI bus capacity and is supported.


PCI bus mb2 (Slots 2, 4, 6) has a capacity of 600 bandwidth points.

Current configuration on bus mb2 has a total of 0 bandwidth points

This configuration is within the PCI bus capacity and is supported.


Please refer to the following document "Cisco 7200 Series Port

Adaptor Hardware Configuration Guidelines" on CCO ,

for c7200 bandwidth points oversubscription/usage guidelines.



1 FastEthernet/IEEE 802.3 interface(s)

4 Serial network interface(s)

125K bytes of non-volatile configuration memory.


31360K bytes of ATA PCMCIA card at slot 1 (Sector size 512 bytes).

4096K bytes of Flash internal SIMM (Sector size 256K).

Configuration register is 0x2102


thanks

Lucien Avramov Mon, 08/10/2009 - 23:54
User Badges:
  • Red, 2250 points or more

You dont seem to have set the boot variable.

Do a dir disk0: or dir disk1: and check for a file that will contain 7200.


Post your outputs if you want I can tell you what the file is.


ravinderrajput Tue, 08/11/2009 - 00:44
User Badges:

here is the output


Directory of disk1:/


1 -rw- 10463672 Jul 28 2005 11:26:54 +00:00 7200.bin


31916032 bytes total (21450752 bytes free)


i think 7200.bin is the file name. The following error comes when i try to copy flash to tftp

"%Error opening slot0:7200.bin (No such device)"

can you pls elaborate " You dont seem to have set the boot variable "

Correct Answer
Lucien Avramov Tue, 08/11/2009 - 00:52
User Badges:
  • Red, 2250 points or more

your copy command should be:

copy disk1: tftp:

Then follow the questions.


Use disk1: and not slot0:.


When you boot your router, it boots the first image it finds on the disk1:. It is fine as you have 1 image only. If you have more than one image you should set the boot var, the command is boot system disk1:7200.bin for you.


http://www.cisco.com/en/US/docs/ios/12_0/configfun/command/reference/frreboot.html#wp1017705

ravinderrajput Wed, 08/12/2009 - 02:32
User Badges:

sorry for starting this again..

i had posted the same question in another n/w forum. one of the experts there suggested that if the sh ver is not showing the IOS that means either the flash is corrupt or there is some but in IOS. Is this true, if yes then what are the possible solutions for this prob.

Joe Clarke Wed, 08/12/2009 - 08:17
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Actually, this is could be related to CSCdp95322:


Symptom:


When booting from a PCMCIA ata-disk (disk0: or disk1), the process of booting

is normal, except that, once booted, the 'show ver' command will display

'Running default software' instead of the name of the image actually loaded. As

a consecuence of this, the SNMP object sysConfigName is empty, and this causes

some management applications to malfunction.


Conditions:


This problem only occurs when booting from a PCMCIA ata-disk (disk0: or

disk1:). Booting an IOS image from any other source will display the correct

image name.


Workaround:


To have the correct IOS image name displayed by the 'show version' command boot

the IOS image from any source but disk0: or disk1:.



This bug is fixed in your main image, but not in your boot image. You should try installing a boot image which contains this fix (e.g. c7200-boot-mz.120-33.S5) before assuming anything is wrong with flash.


Actions

This Discussion