ciscoルータのIOSが起動しない

このQ&Aのポイント
  • ciscoルータでOSを変更しても起動しない問題が発生しています。
  • 現在は新しいIOSを手動でロードすることで起動していますが、自動でロードする方法はありませんか?
  • 起動時のログからも問題が分かりませんでしたので、助力していただけると助かります。
回答を見る
  • ベストアンサー

ciscoルータが起動時にIOSをロードしない

機器はCisco1712です。 当初はc1700-k9o3sy7-mz.122-15.ZL1.binというIOSが入っていて、問題なく動作していました。 今回IOSをc1700-advsecurityk9-mz.124-12.binというのに変更しました。 それだけの操作で、次回起動時には新しいIOSをロードしてくれるものだと思っていたのですが その後ルータを起動するとIOSはロードしてくれず、rommonモードのプロンプトで停止するようになりました。ここで boot flash:c1700-advsecurityk9-mz.124-12.bin を実行すれば正常に起動してくれますのでイメージファイルは問題ないと思っています。 自動で新しいIOSをロードしてもらえるようにできないでしょうか。 参考に起動時のログを載せておきますが、ご存知の方がいましたら宜しくお願いします。 System Bootstrap, Version 12.2(7r)XM4, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2003 by cisco Systems, Inc. C1700 platform with 65536 Kbytes of main memory loadprog: bad file magic number: 0x0 boot: cannot load "flash:" System Bootstrap, Version 12.2(7r)XM4, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2003 by cisco Systems, Inc. C1700 platform with 65536 Kbytes of main memory loadprog: bad file magic number: 0x0 boot: cannot load "flash:" System Bootstrap, Version 12.2(7r)XM4, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2003 by cisco Systems, Inc. C1700 platform with 65536 Kbytes of main memory rommon 1 > dev Devices in device table: id name flash: flash rommon 2 > dir flash: File size Checksum File name 3176448 bytes (0x307800) 0xc273 sdm.tar (deleted) 1430 bytes (0x596) 0x820a home.html 1038 bytes (0x40e) 0xddd8 home.shtml 4096 bytes (0x1000) 0xedab sdm.tar (deleted) (bad checksum: 0x1254) 13474288 bytes (0xcd99f0) 0xe603 c1700-advsecurityk9-mz.124-12.bin 15765 bytes (0x3d95) 0x7eac sdm.shtml 2196 bytes (0x894) 0x3c5e sdmconfig-1711-1712.cfg 660 bytes (0x294) 0xae56 vlan.dat 216064 bytes (0x34c00) 0xf287 home.tar 3176448 bytes (0x307800) 0xc273 sdm.tar rommon 4 > boot flash:c1700-advsecurityk9-mz.124-12.bin program load complete, entry point: 0x80008000, size: 0xcd9878 Self decompressing the image : ####### [OK] 以下省略

質問者が選んだベストアンサー

  • ベストアンサー
  • poiuy9801
  • ベストアンサー率59% (59/100)
回答No.1

このページの手順どおりに行ったのでしょうか? http://www.cisco.com/JP/support/public/ht/tac/102/1020704/sw_upgrade_proc_ram-j.shtml おそらくステップ9のブート変数あたりで間違っているものと思われます。

aki-kun
質問者

お礼

ありがとうございます!! まさにご指摘いただいた手順で復旧しました こんな手順があったんですね、全然知りませんでした ありがとうございました。

関連するQ&A

  • Ciscoルータ(1710)の起動不可。

    Ciscoルータ(1710)の起動不可。 多機能IOS(Version 12.2)への変更を試みたところ、 下記のエラーが発生しました。 プロパーIOS(Ver11)を搭載し直しましたが改善しません。 ブートストラップがVersion 12.2であることがメモリ不足の要因に なっていのではないかと考え、 ROMモニタでFLASH内のプロパーIOSを指定して起動しましたが、 改善しません。 進行の必要な他の作業もあるため、状況をここに投げて アドバイスを求めたいと思いました。 よろしくお願いします。 System Bootstrap, Version 12.2(1r)XE1, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/cgi-bin/ibld/view.pl?i=support Copyright (c) 2001 by cisco Systems, Inc. C1700 platform with 49152 Kbytes of main memory program load complete, entry point: 0x80008000, size: 0xab6ff0 Self decompressing the image : ######################################################################################################## ############################################################################### [OK] Smart Init is disabled. IOMEM set to: 25 Memory required: 52840224 bytes, Memory available: 50331648 bytes INSUFFICIENT MEMORY TO LOAD IMAGE! The difference between Memory required and Memory available is the additional memory you need to run the router. Alternately, use a smaller image; this may cause the memory requirement to decrease, and may allow you to at least use the router with reduced functionality until you get more memory. *** System received a Software forced crash *** signal= 0x17, code= 0x200, context= 0x8000626c PC = 0xffffffff, Vector = 0x200, SP = 0xffffffff System Bootstrap, Version 12.2(1r)XE1, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/cgi-bin/ibld/view.pl?i=support Copyright (c) 2001 by cisco Systems, Inc. C1700 platform with 49152 Kbytes of main memory rommon 1 >

  • CiscoルータのROMモニターからの回復について

    お世話になります。 Cisco 1720ルータを使用しているのですが、電源をいれてみたらIOSが起動しませんでした。 復旧のため以下コマンドを試してみましたが、うまくいきません。 rommon 1 > boot loadprog: bad file magic number: 0x0 boot: cannot load "flash:" rommon 2 > rommon 2 > dir flash: File size Checksum File name 576 bytes (0x240) 0x905f tftpc rommon 3 > rommon 3 > boot flash:tftpc loadprog: bad file magic number: 0x0 boot: cannot load "flash:tftpc" rommon 4 > rommon 4 > boot flash:c1700-ny-mz.121-6.bin open: file "c1700-ny-mz.121-6.bin" not found open(): Open Error = -1 loadprog: error - on file open boot: cannot load "flash:c1700-ny-mz.121-6.bin" rommon 5 > rommon 5 > xmodem -c tftpc Do not start the sending program yet... File size Checksum File name 576 bytes (0x240) 0x905f tftpc WARNING: All existing data in bootflash will be lost! Invoke this application only for disaster recovery. Do you wish to continue? y/n [n]: y Ready to receive file tftpc ... CCCCCCCCCC Timeout waiting for data - aborting download... 数日前に色々コマンドを試し打ちしていた際 tftpサーバは特に立ち上げていることはなく Router#copy running-config tftp Address or name of remote host []? tftp というようなコマンドを打っていたのを覚えています。 正常に起動できるような復旧方法がありましたら 教えていただきたいと思います。 よろしくお願いします。

  • cisco 2500に14M越えメモリを認識させる方法がありますか?

    cisco 2500にPC用72PIN SIMM 64Mを設定しました。 たしかに、贈設されたらしく、純正メモリが追加された状態では、 7MをこえるIOS(c2500-is-l.120-23.bin)を読めて起動する様にになりました そこで、16MをこえるIOSをboot systemで設定すると 起動時 [buffer overflow - 14066688/14066494 bytes] になります。 POSTの結果では14Mしか認識されていないように 思えます。 01:01:27: %SYS-5-RELOAD: Reload requested System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE Copyright (c) 1986-1995 by cisco Systems 2500 processor with 14336 Kbytes of main memory 14M以上のメモリを認識させる方法がROMモード等で あるのでしょうか? 御存知のかたアドバイスお願いします。リカバリの方法が 予めわかっていればですが、学習用の器材なので、 失敗して起動しなくなるような操作でもためせます。

  • CISCOルーター

    買ったシスコルーターでBGPを走らせたら、 下記エラーでした。 これは今使っているIOSだとbgpをサポートしていない、 ということになるのでしょうか。 R2(config)#router bgp 1000 Protocol not in this image R2#show version Cisco IOS Software, C1700 Software (C1700-ADVSECURITYK9-M), Version 12.4(25d), RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Wed 18-Aug-10 03:50 by prod_rel_team ROM: System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1) R2 uptime is 36 minutes System returned to ROM by power-on System image file is "flash:c1700-advsecurityk9-mz.124-25d.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. Cisco 1721 (MPC860P) processor (revision 0x300) with 60003K/5533K bytes of memory. Processor board ID FOC072517L9 (3693462903), with hardware revision 0000 MPC860P processor: part number 5, mask 2 1 FastEthernet interface 2 Serial(sync/async) interfaces 32K bytes of NVRAM. 32768K bytes of processor board System flash (Read/Write) Configuration register is 0x2102

  • TFTPからIOSを起動できない。

    FLASH容量の少ないルータでIOSをTFTPから起動したいと思っていますが、次のエラーで起動できません。 %SYS-6-READ_BOOTFILE_FAIL: tftp://192.168.1.65/c1710-k9o3sy-mz[1].124-19.bin Fil e read failed -- Timed out. %SYS-6-BOOT_MESSAGES: Messages above this line are from the boot loader. boot of "tftp:c1710-k9o3sy-mz[1].124-19.bin 192.168.1.65" using boot helper "fla sh:c1710-k9o3sy-mz[1].122-8.T4.bin" failed error returned: File read failed -- Timed out loadprog: error - on file open boot: cannot load "tftp:c1710-k9o3sy-mz[1].124-19.bin 192.168.1.65" *TFTPはWinXP(192.168.1.65)の「POOR TFTP」です。ルータから左記XPにはPING到達できます。ルータはCisco1710。オリジナルIOSは、「c1710-k9o3sy-mz.122-8.T4.bin」。TFTPからの起動希望IOSは「c1710-k9o3sy-mz[1].122-8.T4.bin」。 ご指導をお願いします。

  • catalyst 4500 rommonからのIOS起動方法

    Catalyst 4500 SuperVisor IV(WS-X4515)にて運用していますが、 工場出荷状態に戻してからIOSをフラッシュメモリにバックアップ しようとしていたところ、手順を誤ったのかIOSを消してしまった ようなのです。 Switch1#copy running-config startup-config Destination filename [startup-config]? Building configuration... Compressed configuration from 2511 bytes to 1085 bytes[OK] Switch1#sh startup-config Switch1#reload System configuration has been modified. Save? [yes/no]: y Building configuration... Compressed configuration from 2511 bytes to 1085 bytes[OK] Proceed with reload? [confirm] rommon 1 > 再起動する際にSystem configurationのSaveを「y」にしてしまった のが要因と思われます。 ciscoのサイトからIOSをダウンロードしてフラッシュメモリに格納し、 slot0経由でIOSをインストールしようとしましたがslot0に入ることが 出来ず、復旧させることが出来ません。 rommon 1 >dev Devices in device table: Device id Name Size --------- ----- ------ mem: Main Memory ( SDRAM ) 536870912 nvram: Non Volatile RAM 1048576 bootflash: Internal Flash Memory 62914560 (filesystem capable) slot0: Compact Flash Memory 128450560 (filesystem capable) rommon 8 >dir bootflash: File size Checksum File name -------------------------------------------------- Total space = 61341696 bytes, Available = 61341696 bytes rommon 2 >dir slot0: device does not contain a valid magic number dir: cannot open device "slot0:" このままでは、ただの黒い箱になってしまいますので 助言をお願い致します。

  • CiscoIOS無限リロード

    Cisco1712のIOSを誤って消去してしまい、代わりに1720のIOSをダウンロードしました、ダウンロードまではうまくいったのですが、その後、IOS起動画面でエラーのようなものが表示され、無限に繰り返されている状況です。 以下画面のログになります Cisco Internetwork Operating System Software IOS (tm) C1700 Software (C1700-SY-M), Version 12.2(13)T14, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Thu 09-Sep-04 15:28 by ccai Image text-base: 0x80008120, data-base: 0x80B2750C Support for platform you are using is not available in this IOS image (or) The mainboard cookie is corrupt Reloading the system... System Bootstrap, Version 12.2(7r)XM4, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2003 by cisco Systems, Inc. C1700 platform with 98304 Kbytes of main memory program load complete, entry point: 0x80008000, size: 0x5e2a0c Self decompressing the image : ############################################################################################################ [OK] % Warning: SmartInit-UNKNOWN platform type. Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 ここから最初のログの状態に戻ります。 助けてください;;

  • cisco社スイッチのIOSの復旧

    cisco社スイッチのIOSの復旧ができず困っています。知識不足から原因を特定できずいます。以下に情報を載せました。よろしくお願いいたします 機器名:catalyst3512XL-EN ターミナルソフト:UTF-8 Tera Term Pro サーバソフト:Poor TFTP Server ブートシステム:Boot Loader (c3500-HBOOT-M) Version 12.0 (5) XU PC:Microsoft Windows XP Professional Version2002 起動時のプロンプト: switch: 操作手順: switch: copy xmodem: flash:c2900XL-c3h2s-mz-120.5-XU.bin Termより、ファイル→転送→XMODEM→送信→c2900XL-c3h2s-mz-120.5-XU(ファイル名) 結果: 一定時間(1分くらい)後に転送の表示が消え、通常状態に戻る。インストールはされていない模様 確認: switch: dir flash: 結果: unable to start flash:/:invalid argument また、以下の操作時に情報表示後にフリーズする switch:set BAUD 11520 & switch:flash_init switch:load_helperは通常どおり処理しているように見えます IOSはサーバソフトを利用し、catalyst2912XL-EN(唯一起動するスイッチになります)より #copy flash tftp にてPCに転送しています

  • CISCO IOSをPCに保存する方法

    TFTPサーバをたててcopy tftp flashでPCに保存を考えていたのですが、接続がうまくいかず困っています。 現在の状況ですがルータ-PC間はストレートで接続しています。 (ルータとPCを接続してもLINKがあがらない) ポートが閉じているかもしれないので確認しようにも、configにポートの設定がでてこず確認できない状態です。 なんとかPC-ルータ間のLINKのあげかたをあげたいのでどうかよろしくお願いします。 zmodemなどを利用して、転送する方法はないでしょうか? Router#sh ver Cisco Internetwork Operating System Software IOS (tm) 7200 Software (C7200-DS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 16:06 by phanguye Image text-base: 0x60008900, data-base: 0x61552000 ROM: System Bootstrap, Version 11.1(13)CA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Router uptime is 4 minutes System returned to ROM by power-on System image file is "slot0:c7200-ds-mz.120-7.T.bin" cisco 7206 (NPE200) processor with 57344K/8192K bytes of memory. R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache 6 slot midplane, Version 1.3 Last reset from power-on Bridging software. X.25 software, Version 3.0.0. Primary Rate ISDN software, Version 1.1. 4 Ethernet/IEEE 802.3 interface(s) 1 FastEthernet/IEEE 802.3 interface(s) Router#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname Router ! boot system flash c7200-ds-mz.120-7.T.bin boot bootldr slot0:c7200-ds-mz.120-7.T.bin ! ip subnet-zero ! isdn voice-call-failure 0 ! Router#sh diag Slot 0: Fast-ethernet on C7200 I/O card Port adapter, 1 port Port adapter is analyzed Port adapter insertion time 00:04:32 ago EEPROM contents at hardware discovery: Hardware revision 1.3 Board revision C0 Serial number 7522671 Part number 73-1537-03 Test history 0x0 RMA number 00-00-00 EEPROM format version 1 EEPROM contents (hex): 0x20: 01 14 01 03 00 72 C9 6F 49 06 01 03 00 00 00 00 0x30: 60 00 00 00 98 01 10 00 00 00 FF FF FF FF FF FF Slot 1/2: ATMCES OC3SM uplink, T1 CBR Port adapter, 5 ports Port adapter is analyzed Port adapter insertion time 00:04:25 ago EEPROM contents at hardware discovery: Hardware revision 1.0 Board revision A0 Serial number 18898127 Part number 73-2272-07 Test history 0xE RMA number 22-15-90 EEPROM format version 1 EEPROM contents (hex):

  • Cisco パスワード回復 ROMMONモードに切り替え方法

    下記サイトを参考にパスワード回復を試しているのですが、電源を入れた後のROMMONモードに切り替えができません。 http://www.cisco.com/japanese/warp/public/3/jp/service/tac/474/pswdrec_1700-j.html 環境は インターネット---Linuxマシン(CUI)--コンソール---ルーター で、まずルーターは設定のため、Linuxマシンへ外部からSSHでリモートアクセスし、ここから# screen /dev/ttyS0 9600 でアクセスしています。 show version でConfiguration register is 0x2102を確認致しました。 その後、 電源投入後 60 秒以内にターミナルのキーボードで Break キーを押して、ルータを ROMMON モードにします。 とあり、試したのですがどうしても rommon 1> プロンプトがでません。 ブレーク シーケンスが機能していない、ということだと思うのですが、screen の場合、break キーではだめなのでしょうか。他C+a+fなど試しましたが、起動後ログイン画面が出るだけで、rommon 1> と出ません。 タイミングが悪いのでしょうか。キーが違うのでしょうか。 よろしくお願い致します。

専門家に質問してみよう