http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml

Cisco 2950/3500XL Switch password 복구하기 | NETWORK(장비) 2006/01/25 17:58
http://blog.naver.com/ijyzzang/130001292987

1. 스위치의 콘솔 포트에 PC를 연결하고 터미널 에뮬레이션

(하이퍼 터미널 등)을 실행한다.

 

- Bits per second(baud) : 9600

- Data bits: 8

- Parity: None

- Stop bits: 1

- Flow Control: Xon/Xoff

 

2. 전원 케이블을 분리한다.

 

3. 프론트 패널의 좌측에 위치한 모드 버튼을 누른 채로

전원 케이블을 다시 연결한다.

 

STAT LED에 불이 꺼지면 모드 버튼을 놓는다.

 

4. flash_init 을 실행한다.

 

switch: flash_init

Initializing Flash...

flashfs[0]: 143 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 3612672

flashfs[0]: Bytes used: 2729472

flashfs[0]: Bytes available: 883200

flashfs[0]: flashfs fsck took 86 seconds

....done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

switch:

 

(상기 예시는 3550XL 기준이며, 모델에 따라 다름)

 

5. load_helper 명령을 실행한다.

 

switch: load_helper

 

6. dir flash: 명령을 실행한다.

 

switch: dir flash:

Directory of flash:/

2 -rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin

 

!--- This is the current version of software.

 

4 -rwx 1131 config.text

 

!--- This is the configuration file.

 

5 -rwx 109 info

6 -rwx 389 env_vars

7 drwx 640 html

18 -rwx 109 info.ver

403968 bytes available (3208704 bytes used)

switch:

 

(상기 예시는 3550XL 기준이며, 모델에 따라 다름)

 

7. rename flash:config.text flash:config.old 을 실행하여

설정 파일의 이름을 변경한다.

 

switch: rename flash:config.text flash:config.old

 

8. boot 명령을 실행하여 리부팅한다.

 

switch: boot

Loading "flash:c3500xl-c3h2s-mz.120-5.WC7.bin"...###############################

################################################################################

######################################################################

File "flash:c3500xl-c3h2s-mz.120-5.WC7.bin" uncompressed and installed, entry po

int: 0x3000

executing...

 

(상기 예시는 3550XL 기준이며, 모델에 따라 다름)

 

9. 초기 설정 모드에서 n 을 입력한다.

 

--- 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 '[]'.

Continue with configuration dialog? [yes/no]: n

 

Press RETURN to get started.

 

Switch>

 

10. enable 을 입력한다.

 

Switch>en

Switch#

 

11. rename flash:config.old flash:config.text 을 실행하여

설정 파일 이름을 원래대로 바꾼다.

 

Switch#rename flash:config.old flash:config.text
Destination filename [config.text]

 

12. 설정 파일을 메모리로 올린다.

 

Switch#copy flash:config.text system:running-config

 

13. 패스워드를 바꾼다.

 

Switch#configure terminal

Switch(config)#no enable secret

Switch(config)#enable password Cisco

Switch#(config)#^Z

 

14. 저장한다.

 

Switch#write memory

Building configuration...

[OK]

Switch#

 

 

참조 : http://blog.naver.com/k2love97/60011238903

이 포스트를..