출처 : 초고속연구망실무자협의회
http://ktc.kreonet.re.kr/menu2-1-15 .htm 가져온 날 : 2003.9.8(월)
--------------------------------------------------------------
|
Cisco Router IOS Software Upgrade 방법
1. TFTP Server 실행 |
|
|
|
를 더블 클릭한다. |
|
|
2. TFTP Server 화면이 열리면, 메뉴에서 “View” -> “Options”를 선택
|
|
|
|
|
|
|
3. “TFTP server root”에 IOS S/W가 있는 디렉토리를 지정한 후 “OK”를 클릭
|
|
|
|
|
|
|
4. Router에 login하여 TFTP 사용하기 |
|
|
|
<내장 flash memory 보는 명령>
pmj# sh flash 4096K bytes of flash memory sized on embedded flash. Flash: No files present. [4194240/4194304 bytes free/total]
<외장 flash memory로 들어가는 명령>
pmj# cd slot0:
<외장 flash memory를 보는 명령>
pmj# sh flash -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .. unknown D25E1C8E 47CFB8 22 4575029 Apr 06 2000 17:46:37 c7000-js-mz_112-21.bin 2 .. unknown DFAA9BAD 8D9E7C 22 4574788 Apr 06 2000 18:15:05 c7000-js-mz_112-19.bin 7233924 bytes available (9150076 bytes used)
< Flash memory의 file을 삭제하는 방법>
형식 : del [file 명]
[사용예] pmj# del c7000-js-mz_112-21.bin Overwrite image file? [confirm] -> Enter를 친다. 위와 같이 실행하면 밑에서 보는 것처럼 delete된 File에 “D“로 checking이 된다. pmj# sh flash -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .D unknown D25E1C8E 47CFB8 22 4575029 Apr 06 2000 17:46:37 c7000-js-mz_112-21.bin 2 .. unknown DFAA9BAD 8D9E7C 22 4574788 Apr 06 2000 18:15:05 c7000-js-mz_112-19.bin 7233924 bytes available (9150076 bytes used) < “D”로 checking된 File을 완전히 삭제하려면>
형식 : squeeze [dev명]
pmj#squeeze slot0: All deleted files will be removed, proceed? [confirm] Squeeze operation may take a while, proceed? [confirm] Erasing squeeze log 위의 작업은 몇 분 소요됨 pmj#sh flash -#- ED --type-- --crc--- ---seek--- nlen -length- -----date/time------ name 1 .. unknown DFAA9BAD 47CEC4 22 4574788 Apr 06 2000 18:15:05 c7000-js-mz_112-19.bin 11809084 bytes available (4574916 bytes used)
<외장 Flash에 있는 파일을 TFTP Server PC로 받기>
형식 : copy [dev명:] tftp
[사용예] pmj#copy slot0: tftp Enter source file name: c7000-js-mz_112-19.bin -> PC에 있는 파일 이름을 지정 Enter destination file name [c7000-js-mz_112-19.bin]: -> Flash에 저장할 이름을 지정 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Address or name of remote host []? 203.237.55.1-> TFTP Server PC IP Address 지정 아래 그림은 TFTP Server가 동작하고 있는 화면을 보여주고 있다. !
<TFTP Server에서 외장 flash로 받기>
형식 : copy tftp [dev명:]
[사용예] pmj#copy tftp slot0: Enter source file name: c7000-js-mz_112-21.bin 11808956 bytes available on device slot0, proceed? [confirm] Address or name of remote host [203.237.55.1]? Accessing file "c7000-js-mz_112-21.bin" on 203.237.55.1 ...FOUND Loading c7000-js-mz_112-21.bin from 203.237.55.1 (via Ethernet3/0): !!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 4575029/9149440 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC pmj#sh flash -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .. unknown DFAA9BAD 47CEC4 22 4574788 Apr 06 2000 18:15:05 c7000-js-mz_112-19.bin 2 .. unknown D25E1C8E 8D9E7C 22 4575029 Apr 09 2000 22:28:20 c7000-js-mz_112-21.bin 7233924 bytes available (9150076 bytes used)
pmj#conf t Enter configuration commands, one per line. End with CNTL/Z. pmj(config)#boot system flash slot0:c7000-js-mz_112-21.bin -> boot System 지정 pmj(config)#config-register 0x2102 -> 레지스터값 설정 pmj(config)#^Z pmj#wr -> 저장 Building configuration... [OK] pmj#reload -> 재부팅 Proceed with reload? [confirm]
< 부팅 후 확인> User Access Verification
Password: pmj>en Password: pmj#sh run Building configuration... Current configuration: ! version 11.2 no service password-encryption service udp-small-servers service tcp-small-servers ! hostname pmj ! boot system flash slot0:c7000-js-mz_112-21.bin -> Boot System을 보여줌 enable secret 5 $1$D/oB$gaIoX.ABgDx4yVHiU6Bc3/ enable password test123 ! ip name-server 203.237.32.100 ! interface Ethernet3/0 ip address 203.237.55.254 255.255.255.0 no mop enabled
|
|
|
|
|
|
|
|
|