이 페이지에서는 부팅 이미지의 TFTP 기능을 사용하여 ROM 모니터(ROMmon) 프롬프트에서 라우터를 업그레이드하는 방법에 대해 설명합니다.
이 문서에 대한 특정 요건이 없습니다.
이 문서는 특정 소프트웨어 및 하드웨어 버전으로 한정되지 않습니다.
문서 규칙에 대한 자세한 내용은 Cisco 기술 팁 표기 규칙을 참고하십시오.
부팅 이미지는 복구 상황에서 TFTP를 사용하여 라우터에 기본 Cisco IOS 소프트웨어 이미지를 다운로드하는 데 사용되는 Cisco IOS® 소프트웨어의 하위 집합입니다.사용자는 프롬프트 Router(boot)#에서 나타내는 명령줄 인터페이스를 통해 이 이미지와 상호 작용할 수 있습니다.일부 플랫폼(Cisco 1600, 2500)은 ROM에 있습니다.다른(하이엔드 라우터)는 bootflash에 있습니다.이 이미지를 xboot 이미지, rxboot 이미지, 부트스트랩 이미지 또는 부트 로더 또는 헬퍼 이미지라고 할 수 있으며 이는 플랫폼에 따라 다릅니다.
부트 이미지에 제한된 기능이 있습니다.예를 들어 라우팅 정보는 포함되지 않습니다.
경고: 이 방법으로 저장하면 구성(예: 라우팅 부품)의 일부가 손실되므로 부팅 모드에서 컨피그레이션을 저장하지 마십시오.
라우터에 유효한 부팅 이미지가 포함되어 있는 경우 TFTP를 사용하여 유효한 Cisco IOS 소프트웨어 이미지를 플래시에 다운로드하는 데 사용할 수 있습니다.이렇게 하려면 다음 단계를 수행합니다.
다음과 같이 컨피그레이션 레지스터를 설정하여(있는 프롬프트에 따라) 부팅 이미지를 부팅하도록 컨피그레이션 레지스터를 변경합니다.
rommon 1 > confreg 0x2101 or > o/r 0x2101 You must reset or power cycle for the new configuration to take effect. !--- This is the router output when a configuration register command is entered.
부팅 이미지를 부팅하기 위해 컨피그레이션 레지스터가 변경되었습니다.
라우터를 재설정하여 부트 이미지를 부팅합니다.
rommon 2 > reset or > i
시스템 부트스트랩 메시지가 나타나고 라우터가 부팅 이미지를 부팅합니다.화면에 다음과 같은 내용이 표시됩니다.
System Bootstrap, Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Copyright (c) 1997 by cisco Systems, Inc. C1600 processor with 18432 Kbytes of main memory program load complete, entry point: 0x4018060, size: 0x1e1568 Restricted Rights Legend . . !--- Output omitted. . . Router(boot)>
이제 Router(boot)>와 유사한 프롬프트가 표시되어야 합니다.
ROMmon에 있는 경우 부트 이미지가 없거나 손상되었음을 의미합니다.라우터에 플래시 또는 Bootflash에 유효한 이미지가 없고 다른 ROMmon 업그레이드 절차가 없는 경우 복구하는 유일한 방법은 호환되는 플래시 카드가 있는 유사한 라우터를 가지고 해당 라우터에서 이미지를 다운로드한 다음 플래시 카드를 고착 상태인 라우터로 이동하는 것입니다.
PCMCIA 파일 시스템 호환성 매트릭스 및 파일 시스템 정보에서 플래시 카드 호환성 정보를 확인합니다.
라우터의 이더넷 인터페이스 0을 네트워크에 연결하여 TFTP 서버에 연결할 수 있습니다.라우터의 이더넷 인터페이스에서 IP 주소를 구성합니다.
Router(boot)>enable Router(boot)#configure terminal Router(boot)(config)#interface ethernet 0 Router(boot)(config-if)#ip address 10.77.241.160 255.255.255.0 Router(boot)(config-if)#no shutdown
부트 이미지를 실행하는 라우터에는 라우팅 기능이 없습니다.따라서 이 라우터의 기본 게이트웨이를 구성해야 합니다.ip default-gateway 전역 컨피그레이션 명령을 실행하여 이 라우터에 적합한 기본 게이트웨이를 설정합니다.이는 이더넷 0 인터페이스와 동일한 서브넷에 연결된 라우터의 IP 주소를 가리켜야 합니다.
Router(boot)(config)#ip default-gateway 10.77.241.129
TFTP 서버에서 Cisco IOS 이미지를 복사하기 전에 라우터가 TFTP 서버에 연결되어 있는지 확인하십시오.
Router(boot)#ping 10.77.233.94 Type escape sequence to abort. Sending 5, 100-byte ICMP Echoes to 10.77.233.94, timeout is 2 seconds: .!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms Router(boot)#
TFTP 서버에서 라우터의 플래시 메모리로 Cisco IOS 이미지를 복사합니다.
Router(boot)#copy tftp flash PCMCIA flash directory: No files in PCMCIA flash [0 bytes used, 16777216 available, 16777216 total] Address or name of remote host [255.255.255.255]? 10.77.233.94 !--- Enter the IP address of the TFTP Server. Source file name? c1600-y-l.122-10d.bin !--- This is the filename of the Cisco IOS image that you want to copy from !--- the TFTP server. Destination file name [c1600-y-l.122-10d.bin]? !--- Press 'Enter'. Accessing file 'c1600-y-l.122-10d.bin' on 10.77.233.94... Loading c1600-y-l.122-10d.bin from 10.77.233.94 (via Ethernet0): ! [OK] Device needs erasure before copying new file Erase flash device before writing? [confirm]y !--- Press 'y' or 'Enter'. !--- On Class B Flash file systems, the router gives you the option of erasing !--- the existing contents of Flash memory before writing to it. If no free Flash !--- memory is available, or if no files have ever been written to Flash memory, !--- the erase routine is required before new files can be copied. If there is !--- enough free Flash memory, the router gives you the option of erasing the !--- existing Flash memory before writing to it. The system will inform you !--- of these conditions and prompt you for a response. !--- If you enter 'n' after the "Erase flash before writing?" prompt, the copy !--- process continues. If you enter 'y' and confirm the erasure, the erase !--- routine begins. Make sure to have ample Flash memory space before entering "n" !--- at the erasure prompt. Copy 'c1600-y-l.122-10d.bin' from server as 'c1600-y-l.122-10d.bin' into Flash WITH erase? [yes/no]yes !--- Entering 'yes' erases all the files in Flash. Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased Loading c1600-y-l.122-10d.bin from 10.77.233.94 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!! [OK - 7220632/16777216 bytes]Verifying checksum... OK (0x6526) Flash device copy took 00:05:57 [hh:mm:ss] Router(boot)#
다음 다시 로드 중에 라우터가 새로 다운로드된 Cisco IOS 이미지로 부팅되도록 구성 레지스터 값을 다시 2102로 변경합니다.
Router(boot)#configure terminal Router(boot)(config)#config-register 0x2102 Router(boot)(config)#exit Router(boot)#
reload 명령을 실행하여 라우터를 다시 로드합니다.
Router(boot)#reload System configuration has been modified. Save? [yes/no]: no Building configuration... [OK] Proceed with reload? [confirm] !--- Press 'Enter'. %SYS-5-RELOAD: Reload requested System Bootstrap, Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Copyright (c) 1997 by cisco Systems, Inc. C1600 processor with 18432 Kbytes of main memory program load complete, entry point: 0x4018060, size: 0x1e1568 . . !--- Output omitted. . . Router>
라우터에 올바른 이미지가 로드되었는지 확인하려면 show version 명령을 실행하여 라우터에서 Cisco IOS 이미지 버전을 확인합니다.
Router>show version Cisco Internetwork Operating System Software IOS (tm) 1600 Software (C1600-Y-L), Version 12.2(10d), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Wed 14-May-03 01:04 by pwade Image text-base: 0x0803A510, data-base: 0x02005000 ROM: System Bootstrap, Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) ROM: 1600 Software (C1600-BOOT-R), Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) 1603 uptime is 19 hours, 26 minutes System returned to ROM by reload System image file is "flash:c1600-y-l.122-10d.bin" cisco 1603 (68360) processor (revision C) with 13824K/4608K bytes of memory. Processor board ID 10240382, with hardware revision 00000000 Bridging software. X.25 software, Version 3.0.0. Basic Rate ISDN software, Version 1.1. 1 Ethernet/IEEE 802.3 interface(s) 1 ISDN Basic Rate interface(s) System/IO memory with parity disabled 2048K bytes of DRAM onboard 16384K bytes of DRAM on SIMM System running from FLASH 7K bytes of non-volatile configuration memory. 16384K bytes of processor board PCMCIA flash (Read ONLY) Configuration register is 0x2102 Router>
이제 TFTP 서버에서 로드된 새 Cisco IOS 이미지를 실행하고 있습니다.
개정 | 게시 날짜 | 의견 |
---|---|---|
1.0 |
27-Jan-2006 |
최초 릴리스 |