This is an old revision of the document!
CCIE RSv5 の試験では IOS 15 系使うっぽかったんで IOS 15 系入ってるルータ 1 個調達したんでした。
そしてそれを他の IOS バージョン 12 のルータにも展開。
ちな、プラットフォームが異なったら IOS 15 系の IOS イメージだからといって動くわけじゃありゃあせん。
C1841だったらC1841用のIOSが必要です。
R2#sh flash -#- --length-- -----date/time------ path 1 47454756 Sep 29 2015 00:59:58 +00:00 c1841-adventerprisek9-mz.151-4.M10.bin 2 1038 Mar 24 2016 05:45:14 +00:00 home.shtml 3 2746 Mar 24 2016 05:45:28 +00:00 sdmconfig-18xx.cfg 4 1697952 Mar 24 2016 05:45:46 +00:00 securedesktop-ios-3.1.1.45-k9.pkg 5 415956 Mar 24 2016 05:45:58 +00:00 sslclient-win-1.1.4.176.pkg 6 527849 Mar 24 2016 05:46:08 +00:00 128MB.sdf 7 1505280 Mar 24 2016 05:46:30 +00:00 common.tar 8 931840 Mar 24 2016 05:46:40 +00:00 es.tar 9 112640 Mar 24 2016 05:46:48 +00:00 home.tar 10 6389760 Mar 24 2016 05:47:26 +00:00 sdm.tar 5017600 bytes available (59056128 bytes used)
入れたい
13925828 bytes = 13599.44141 KiB = 13.2807045 MiB
R2>en R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int f0/0 R2(config-if)#ip addr 172.16.128.254 255.255.255.0 R2(config-if)#no shut R2(config-if)# *Jan 28 23:54:36.219: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up *Jan 28 23:54:37.219: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2#copy tftp c1841-ipbase-mz.124-1a.bin Address or name of remote host []? 172.16.128.4 Source filename []? c1841-ipbase-mz.124-1a.bin Destination filename [c1841-ipbase-mz.124-1a.bin]? flash:c1841-ipbase-mz.124-1a.bin Accessing tftp://172.16.128.4/c1841-ipbase-mz.124-1a.bin... Loading c1841-ipbase-mz.124-1a.bin from 172.16.128.4 (via FastEthernet0/0): ! %Error copying tftp://172.16.128.4/c1841-ipbase-mz.124-1a.bin (Not enough space on device) R2#copy tftp flash:c1841-ipbase-mz.124-1a.bin Address or name of remote host [172.16.128.4]? Source filename [c1841-ipbase-mz.124-1a.bin]? Destination filename [c1841-ipbase-mz.124-1a.bin]? flash:c1841-ipbase-mz.124-1a.bin Accessing tftp://172.16.128.4/c1841-ipbase-mz.124-1a.bin... Loading c1841-ipbase-mz.124-1a.bin from 172.16.128.4 (via FastEthernet0/0): ! %Error copying tftp://172.16.128.4/c1841-ipbase-mz.124-1a.bin (Not enough space on device)
R1#sh flash -#- --length-- -----date/time------ path 2 76 Jul 8 2015 16:30:58 +00:00 System Volume Information/IndexerVolumeGuid 3 47454756 Apr 30 2015 02:06:24 +00:00 c1841-adventerprisek9-mz.151-4.M10.bin (snip) 446 151 Jul 22 2015 00:45:34 +00:00 ccpexp/templates2/deleteATMInterfacePppoe.txt 447 41 Jul 22 2015 00:45:36 +00:00 ccpexp/templates2/deleteDHCPDefaultRoute.txt 448 105 Jul 22 2015 00:45:36 +00:00 ccpexp/templates2/deleteEthernetInterfacePppoe.txt 449 72 Jul 22 2015 00:45:36 +00:00 ccpexp/templates2/deleteNATInterface.txt 450 98 Jul 22 2015 00:45:36 +00:00 ccpexp/templates2/deleteNATIntwithPort.txt 451 62 Jul 22 2015 00:45:38 +00:00 ccpexp/templates2/deleteNATVal.txt 452 88 Jul 22 2015 00:45:38 +00:00 ccpexp/templates2/deleteOldNAT.txt 453 85 Jul 22 2015 00:45:38 +00:00 ccpexp/templates2/deleteSerialPPP.txt 454 61 Jul 22 2015 00:45:38 +00:00 ccpexp/templates2/interfaceWithDHCPPool.txt 455 57 Jul 22 2015 00:45:40 +00:00 ccpexp/templates2/setPrimarySimSlot.txt 456 255 Jul 22 2015 00:45:40 +00:00 ccpexp/templates2/vpnIkev1Modified.txt 457 132462 Jul 22 2015 00:43:54 +00:00 ccpexp/CCPExpress_3.1_Open_Source_Documentation.html 458 70 Jul 22 2015 00:47:46 +00:00 ccpexp/version.txt 459 2885 Jul 22 2015 00:47:48 +00:00 home.shtml 460 180508 Mar 13 2016 14:32:08 +00:00 crashinfo_20160313-143209-UTC 461 0 Mar 17 2016 14:26:38 +00:00 crashinfo_20160317-142638-UTC 69320704 bytes available (60411904 bytes used)
R1 に入れられそう。
改めて R1 のフラッシュメモリ(CF: Compact Flash)にダウンロードする。
R1#copy tftp c1841-ipbase-mz.124-1a.bin Address or name of remote host []? 172.16.128.4 Source filename []? c1841-ipbase-mz.124-1a.bin Destination filename [c1841-ipbase-mz.124-1a.bin]? flash:c1841-ipbase-mz.124-1a.bin Accessing tftp://172.16.128.4/c1841-ipbase-mz.124-1a.bin... Loading c1841-ipbase-mz.124-1a.bin from 172.16.128.4 (via FastEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!! [OK - 13925828 bytes] 13925828 bytes copied in 70.756 secs (196815 bytes/sec)
これで IOS 15 系と IOS 12 系がいる状態になったかな。
R1#sh flash | include .bin 3 47454756 Apr 30 2015 02:06:24 +00:00 c1841-adventerprisek9-mz.151-4.M10.bin 462 13925828 Jan 29 2018 22:30:04 +00:00 c1841-ipbase-mz.124-1a.bin R1#sh flash | include bytes available 55394304 bytes available (74338304 bytes used)
ルータの場合。コンフィグレーションレジスタの値が 0x2102
であるなら startup-config
の boot system
コマンドの指定を確認する。
R1#sh ver | inc Configuration Configuration register is 0x2102
R1#show flash: | include .bin 3 47454756 Apr 30 2015 02:06:24 +00:00 c1841-adventerprisek9-mz.151-4.M10.bin 462 13925828 Jan 29 2018 22:30:04 +00:00 c1841-ipbase-mz.124-1a.bin R1#sh ver | inc image file is System image file is "flash:c1841-adventerprisek9-mz.151-4.M10.bin"