network equipment/cisco

cisco switch password recovery (시스코 스위치 패스워드 복구) (2000 / 3000 시리즈)

과다수면증 2021. 1. 19. 11:10

1. 스위치 비밀번호를 찾을 때 사용

 

2. 다음과 같이 설정

 

rommon mode 실행

 

switch: flash_init

/ 플래시 파일시스템 초기화

switch: dir flash:

/ flash에 저장된 파일확인 (config.text 파일 확인)

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

/ config.text 파일을 config.old로 파일명 변경

switch: boot

/ 재부팅

 

privileged mode 실행

 

# rename flash:config.old flash:config.text

/ 파일명 복구

# show flash:

/ 복구 되었는지 확인

# copy flash:config.text system:runnig-config

/ config.text를 running-config로 복사

 

global configuration mode 실행

 

(config)# no enable secret    or    (config)# no enable password

/ 패스워드 삭제                                 / 패스워드 삭제

(config)# enable secret xxxx    or    (config)# enable password xxxx

/ 패스워드 설정                                   / 패스워드 설정

 

privileged mode 실행

 

# write memory

/ 저장하기   
# reload

/ 재부팅