OS 를 바꿀 일이 있어서 그 과정을 한번 옮겨봤습니다.
IOS upgrade 를 처음 하게 될경우 참고 하시기 바랍니다.
기존OS는 2500-IS 12.2(8)(IP Plus) 이고 바꾸는 버전은 2500-JS (Enterprise) 12.2(10b)버전입니다.
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS-L), Version 12.2(8)T, RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 13-Feb-02 21:11 by ccai
Task1. 먼저 config-register 의 설정값을 바꾸어 줍니다.
Router>
Router>en
Router#config
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0x2101
Router(config)#^Z
Router#reload
System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm]
00:08:11: %SYS-5-RELOAD: Reload requested
System Bootstrap, Version 11.0(10c)XB2, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1998 by cisco Systems
2500 processor with 14336 Kbytes of main memory
-생략-
cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.
Processor board ID 07146454, with hardware revision 00000000
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
1 Ethernet/IEEE 802.3 interface.
2 Serial network interfaces.
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Notice: NVRAM invalid, possibly due to write erase.
--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Would you like to enter the initial configuration dialog? [yes]: no
Would you like to terminate autoinstall? [yes]: yes
Press RETURN to get started!
Cisco Internetwork Operating System Software
IOS (tm) 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c)XB2, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1996 by cisco Systems, Inc.
Compiled Mon 05-Oct-98 10:52 by jaturner
Router(boot)>en
Router(boot)#config t
Enter configuration commands, one per line. End with CNTL/Z.
Task2. Boot모드에서 TFTP 서버와 연결을 합니다. 이는 지금 경우와 같이 Ethernet연결이 될수도 있고, serial 연결이 될 수도 있습니다. 아래의 경우는 192.168.0.2 에 TFTP server를 설치 하였습니다.
Router(boot)(config)#int e0
Router(boot)(config-if)#ip addr 192.168.0.10 255.255.255.248
Router(boot)(config-if)#no sh
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
Router(boot)(config-if)#^Z
Router(boot)#ping 192.168.0.2
%SYS-5-CONFIG_I: Configured from console by console
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/204/1004 ms
Router(boot)#copy tftp flash
System flash directory:
File Length Name/status
1 13859704 c2500-is-l.122-8.T.bin
[13859768 bytes used, 2917448 available, 16777216 total]
Address or name of remote host [255.255.255.255]? 192.168.0.2
Source file name? c2500-js-l.122-10b.bin
Destination file name [c2500-js-l.122-10b.bin]?
Accessing file 'c2500-js-l.122-10b.bin' on 192.168.0.2...
Loading c2500-js-l.122-10b.bin from 192.168.0.2 (via Ethernet0): ! [OK]
Erase flash device before writing? [confirm]
Flash contains files. Are you sure you want to erase? [confirm]
Copy 'c2500-js-l.122-10b.bin' from server
as 'c2500-js-l.122-10b.bin' into Flash WITH erase? [yes/no]yes
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...erased
Loading c2500-js-l.122-10b.bin from 192.168.0.2 (via Ethernet0): !!!!!!!!!!
[OK - 15694836/16777216 bytes]
Verifying checksum... OK (0x58D2)
Flash copy took 0:11:09 [hh:mm:ss]
Task3. 파일 복사가 끝나면 다시 config-register를 원상복귀 시킵니다.
Router(boot)#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(boot)(config)#config-register 0x2102
Router(boot)(config)#^Z
Router(boot)#reload
%SYS-5-CONFIG_I: Configured from console by console
System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm]
%SYS-5-RELOAD: Reload requested
System Bootstrap, Version 11.0(10c)XB2, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1998 by cisco Systems
2500 processor with 14336 Kbytes of main memory
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Fri 12-Jul-02 02:13 by pwade
Image text-base: 0x0307AA24, data-base: 0x00001000
cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.
Processor board ID 07146454, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)