User Tools

Site Tools


tech:network:ios-tftp-download:ios-tftp-download

Cisco IOS の TFTP ダウンロード

ネットワーク機器の場合、ダウンロードとアップロードは方向性が違い、ネットワーク機器を中心として見たときのダウンロードとなる。 つまり自分から見ればアップロードとなる。 これを間違えないように。

ASW2#sh flash

Directory of flash:/

    2  -rwx        1921   Mar 1 1993 00:01:08 +00:00  private-config.text
    3  drwx         512   Mar 9 1993 02:50:56 +00:00  c2960-lanbasek9-mz.150-2.SE8
  587  -rwx        1126   Mar 1 1993 00:01:08 +00:00  config.text
  588  -rwx        7192   Mar 1 1993 00:01:08 +00:00  multiple-fs
  589  -rwx         676   Mar 1 1993 05:10:17 +00:00  vlan.dat

27998208 bytes total (11552256 bytes free)

古い IOS は残す。

ASW2#archive download-sw /leave-old-sw tftp://172.16.2.250/c2960-lanbase-mz.122-44.SE2.tar
ASW2#$leave-old-sw tftp://172.16.2.250/c2960-lanbase-mz.122-44.SE2.tar
Loading c2960-lanbase-mz.122-44.SE2.tar from 172.16.2.250 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 9945600 bytes]

Loading c2960-lanbase-mz.122-44.SE2.tar from 172.16.2.250 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!
*Mar  1 00:58:09.040: %SYS-2-MALLOCFAIL: Memory allocation of 155400 bytes failed from 0xF1B850, alignment 0
Pool: Processor  Free: 113380  Cause: Not enough free memory
Alternate Pool: None  Free: 0  Cause: No Alternate pool
 -Process= "Exec", ipl= 0, pid= 110
-Traceback= E979B4z 1456660z 145D270z 17A18D4z F1B854z F1E018z F1A438z 608CA4z 60C590z 60E414z DE9FACz DF01CCz DFF804z 14D1D30z 14CC2E4z
 Could not buffer tarfile...using multiple downloads
examining image...
Loading c2960-lanbase-mz.122-44.SE2.tar from 172.16.2.250 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
extracting info (106 bytes)
[OK - 9945600 bytes]

Loading c2960-lanbase-mz.122-44.SE2.tar from 172.16.2.250 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
extracting c2960-lanbase-mz.122-44.SE2/info (509 bytes)
extracting c2960-lanbase-mz.122-44.SE2/info (511 bytes)
extracting info (106 bytes)
[OK - 9945600 bytes]


System Type:             0x00000000
  Ios Image File Size:   0x00615A00
  Total Image File Size: 0x00942A00
  Minimum Dram required: 0x04000000
  Image Suffix:          lanbase-122-44.SE2
  Image Directory:       c2960-lanbase-mz.122-44.SE2
  Image Name:            c2960-lanbase-mz.122-44.SE2.bin
  Image Feature:         LAYER_2|MIN_DRAM_MEG=64
  FRU Module Version:    No FRU Version Specified

Old image for switch 1: flash:/c2960-lanbasek9-mz.150-2.SE8
  Old image will be left alone

Extracting images from archive into flash...
Loading c2960-lanbase-mz.122-44.SE2.tar from 172.16.2.250 (via Vlan1): !
c2960-lanbase-mz.122-44.SE2 (directory)
c2960-lanbase-mz.122-44.SE2/html (directory)
extracting c2960-lanbase-mz.122-44.SE2/html/layers.js (1616 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/sorttable.js (48234 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/helpframework.js (865 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/graph_dash.js (18865 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/title.js (577 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/appsui.js (1749 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/more.txt (62 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/sitewide.js (12467 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/ajax.js (28348 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/fpv.js (40716 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/forms.js (13756 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/framework.js (24955 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/stylesheet.css (22059 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/combo.js (9353 bytes)
extracting c2960-
...
extracting c2960-lanbase-mz.122-44.SE2/html/images/122085.gif (0 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/images/spServer.gif (937 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/images/dkgreenmask28_upright.gif (149 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/images/spPressedMultiple.gif (1096 bytes)
extracting c2960-lanbase-mz.122-44.SE2/html/images/92908.gif (3691 bytes)
extracting c2960-lanbase-mz.122-44.SE2/c2960-lanbase-mz.122-44.SE2.bin (6368324 bytes)!!!!!OOOOO!OOOOO!O!OO!OOO!OOOOO!OOOO!OOOOOOOOOO!OOO!OOOOOOOOOO!OOOOO!OOO!OOOOOO!OOOOOOOOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!OOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOO
extracting c2960-lanbase-mz.122-44.SE2/info (509 bytes)
c2960-lanbase-mz.122-44.SE2 (directory)O
extracting c2960-lanbase-mz.122-44.SE2/info (511 bytes)
extracting info (106 bytes)
[OK - 9945600 bytes]


Installing (renaming): `flash:update/c2960-lanbase-mz.122-44.SE2' ->
                                       `flash:/c2960-lanbase-mz.122-44.SE2'
New software image installed in flash:/c2960-lanbase-mz.122-44.SE2


All software images installed.
*Mar  1 00:58:09.040: %SYS-2-MALLOCFAIL: Memory allocation of 155400 bytes failed from 0xF1B850, alignment 0
Pool: Processor  Free: 113380  Cause: Not enough free memory
Alternate Pool: None  Free: 0  Cause: No Alternate pool
 -Process= "Exec", ipl= 0, pid= 110
-Traceback= E979B4z 1456660z 145D270z 17A18D4z F1B854z F1E018z F1A438z 608CA4z 60C590z 60E414z DE9FACz DF01CCz DFF804z 14D1D30z 14CC2E4z
 Could not buffer tarfile...using multiple downloads
examining image...

そんな余分なスペースはねえって言ってるけど大丈夫か・・・。

*Mar  1 00:58:09.040: %SYS-2-MALLOCFAIL: Memory allocation of 155400 bytes failed from 0xF1B850, alignment 0
Pool: Processor  Free: 113380  Cause: Not enough free memory
Alternate Pool: None  Free: 0  Cause: No Alternate pool
 -Process= "Exec", ipl= 0, pid= 110
-Traceback= E979B4z 1456660z 145D270z 17A18D4z F1B854z F1E018z F1A438z 608CA4z 60C590z 60E414z DE9FACz DF01CCz DFF804z 14D1D30z 14CC2E4z
 Could not buffer tarfile...using multiple downloads
examining image...

ダウンロード、その後

All software images installed.
ASW2#sh flash

Directory of flash:/

    2  -rwx        1921   Mar 1 1993 00:01:08 +00:00  private-config.text
    3  drwx         512   Mar 9 1993 02:50:56 +00:00  c2960-lanbasek9-mz.150-2.SE8
  587  -rwx        1126   Mar 1 1993 00:01:08 +00:00  config.text
  588  -rwx        7192   Mar 1 1993 00:01:08 +00:00  multiple-fs
  589  -rwx         676   Mar 1 1993 05:10:17 +00:00  vlan.dat
  591  drwx         512   Mar 1 1993 01:11:59 +00:00  c2960-lanbase-mz.122-44.SE2

27998208 bytes total (1520640 bytes free)

References

tech/network/ios-tftp-download/ios-tftp-download.txt · Last modified: 2018/02/22 09:40 by wnoguchi