[IT 알아보기]/IT 소식

[그린IDC]CISCO 3500XL IOS 이미지 복구

이호스트ICT 2011. 5. 17. 12:04

1.CISCO 3500XL IOS 이미지 복구

증상)IOS 이미지가 지워졌거나 손장되었을때 스위치 부팅시
    system LED 깜박 깜박 하면서 1,2번 포트는 LED가 꺼져있고 나머지 포트는 LED 전부 불이 들어와있음

    
xmodem을 이용한 복구 방법(IOS xmodem으로 upload 후 복구)

1)스위치 전원 on

switch: dir

List of filesystems currently registered:

               flash[0]: (read-write)
              xmodem[1]: (read-only)
                null[2]: (read-write)
                  bs[3]: (read-only)

switch: dir flash:
Directory of flash:/

2    -rwx  42        <date>               env_vars
3    -rwx  798       <date>               config.text
4    drwx  10240     <date>               html
165  -rwx  556       <date>               vlan.dat
167  -rwx  5         <date>               private-config.text

6453248 bytes available (1288192 bytes used)

2)하이퍼 터미널을 이용하여 upload

전송--> 화일 보내기 --> 화일이름 선택, 프로토콜 Xmodem 선택합니다.
 
switch: copy xmodem: flash:c3500XL-c3h2s-mz-120.5.1-XP.bin

Begin the Xmodem or Xmodem-1K transfer now...

CCC.............................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..........................................

File 'xmodem:' successfully copied to 'flash:/c3500xl-c3h2s-mz.120-5.WC5.bin'

Switch: boot flash:/c3500XL-c3h2s-mz-120.5.1-XP.bin

switch: reset

Are you sure you want to reset the system (y/n)?y

System resetting...

/////////////////////////////////////////////////////////////////////////////////////////////////////////////

2.CISCO 3500XL IOS 이미지 복구(tar)

1)스위치 전원 on

switch: dir

List of filesystems currently registered:

               flash[0]: (read-write)
              xmodem[1]: (read-only)
                null[2]: (read-write)
                  bs[3]: (read-only)

switch: dir flash:
Directory of flash:/

1    -rwx 1797756     <date>             c3500XL-c3h2s-mz-120.5.1-XP.bin
2    -rwx  42        <date>               env_vars
3    -rwx  798       <date>               config.text
4    drwx  10240     <date>               html
165  -rwx  556       <date>               vlan.dat
167  -rwx  5         <date>               private-config.text

6453248 bytes available (1288192 bytes used)

Switch# delete c3500XL-c3h2s-mz-120.5.1-XP.bin

Delete filename [c3500XL-c3h2s-mz-120.5.1-XP.bin]?

Delete flash:c3500XL-c3h2s-mz-120.5.1-XP.bin? [confirm]


2)하이퍼 터미널을 이용하여 upload

전송--> 화일 보내기 --> 화일이름 선택, 프로토콜 Xmodem 선택합니다.

switch: copy xmodem: flash:c3500xl-c3h2s-mz.tar.120-5.1-XP.tar

Begin the Xmodem or Xmodem-1K transfer now...

CCC.............................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..........................................

Interrupt within 5 seconds to abort boot proces

extracting c3500xl-c3h2s-mz.120-5.1-XP.bin (1797756 bytes)!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!

html/ (directory)

extracting html/homepage.htm (3990 bytes)!

extracting html/not_supported.html (1392 bytes)

extracting html/common.js (9111 bytes)!!

extracting html/cms_splash.gif (22062 bytes)!!!!!

extracting html/cms_12.html (911 bytes)

extracting html/cms_13.html (1010 bytes)

extracting html/cluster.html (2823 bytes)!

extracting html/CMS.jar (1299352 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

extracting html/CiscoChartPanel.jar (74146 bytes)!!!!!!!!!!!!!!!

extracting html/Redirect.jar (1958 bytes)

extracting info.ver (108 bytes)!

[OK - 3225600 bytes]

Switch# sh flash
Directory of flash:/

  2  -rwx         108   Mar 01 1993 00:38:52  info

  3  -rwx     1797756   Mar 01 1993 00:39:44  c3500xl-c3h2s-mz.120-5.1.XP.bin

  4  -rwx        1094   Mar 01 1993 00:32:37  config.text

  5  drwx         640   Mar 01 1993 00:40:33  html

 16  -rwx         108   Mar 01 1993 00:40:33  info.ver

3612672 bytes total (392192 bytes free)