備忘録として
ちょっと検証が必要となったので、久しぶりにciscoのIOSを変更した。
Catalyst2950(古!)
せっかくなので、備忘録も兼ねて、ブログに掲載しておく。
今回は、『c2950-i6k2l2q4-mz.121-22.EA13.bin』から『c2950-i6q4l2-mz.121-22.EA2.bin』へのダウングレード(これも古!)
バージョンアップもやり方は同じ。
TFTPサーバのIPアドレスは192.168.0.1/24
TFTPサーバはTFTPDを使用した。
前提として、IPアドレスを割り当てておく(今回はデフォのVLANに192.168.0.10/24を割り当てた)
Switch#conf t
Switch(config)#interface vlan 1 ← デフォのVLAN
Switch(config-if)#ip address 192.168.0.10 255.255.255.0
Switch(config-if)#no shutdown
- メモリ内の確認
Switch#dir flash:/
Directory of flash:/2 -rwx 3721946 Mar 01 1993 09:03:48 +09:00 c2950-i6k2l2q4-mz.121-22.EA13.bin
3 -rwx 44 Mar 01 1993 10:41:58 +09:00 private-config.text
4 -rwx 1048 Mar 01 1993 10:41:58 +09:00 multiple-fs
6 -rwx 5055 Mar 01 1993 10:41:58 +09:00 config.text
7 -rwx 976 Mar 01 1993 09:00:23 +09:00 vlan.dat7741440 bytes total (4009984 bytes free) - TFTPサーバからダウンロード
Switch#copy tftp flash:
Address or name of remote host []? 192.168.0.1 ← TFTPサーバのIPアドレス
Source filename []? c2950-i6q4l2-mz.121-22.EA2.bin ← ブートイメージ名
Destination filename [c2950-i6q4l2-mz.121-22.EA2.bin]?
Accessing tftp://210.155.246.36/c2950-i6q4l2-mz.121-22.EA2.bin…
Loading c2950-i6q4l2-mz.121-22.EA2.bin from 210.155.246.36 (via Vlan2000): !!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK – 3086328 bytes]
3086328 bytes copied in 58.620 secs (52650 bytes/sec) - ブートイメージ(c2950-i6q4l2-mz.121-22.EA2.bin)がメモリに格納されたことを確認
Switch#dir flash:/
Directory of flash:/2 -rwx 3721946 Mar 01 1993 09:03:48 +09:00 c2950-i6k2l2q4-mz.121-22.EA13.bin
3 -rwx 44 Mar 01 1993 10:41:58 +09:00 private-config.text
4 -rwx 1048 Mar 01 1993 10:41:58 +09:00 multiple-fs
5 -rwx 3086328 Mar 01 1993 09:27:09 +09:00 c2950-i6q4l2-mz.121-22.EA2.bin
6 -rwx 5055 Mar 01 1993 10:41:58 +09:00 config.text
7 -rwx 976 Mar 01 1993 09:00:23 +09:00 vlan.dat7741440 bytes total (923648 bytes free) - 起動時のブートイメージの変更
Switch#conf t
Switch(config)#boot system flash:c2950-i6q4l2-mz.121-22.EA2.bin - リロードして確認
Switch#reload
再起動されたら
Switch#show version
Cisco Internetwork Operating System Software
IOS ™ C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Sun 07-Nov-04 23:14 by antonino
Image text-base: 0x80010000, data-base: 0x8055E000ROM: Bootstrap program is C2950 boot loaderICOMT_Catalyst2950 uptime is 2 minutes
System returned to ROM by power-on
System image file is “flash:c2950-i6q4l2-mz.121-22.EA2.bin“
Speak Your Mind