네트워크

ARISTA switch 공장 초기화 및 패스워드 초기화

SlowOwl 2025. 3. 18.
반응형

# 빨간색 글자는 반드시 입력해야하는 고정 명령어이며,  보라색 글자는 상황에 따라 변경하는 가변 명령어입니다.

 

1. ARISTA switch 패스워드 초기화

1) Aboot shell 모드 진입

 > 전원 ON

 > 부팅 후에 곧바로 프롬프트 표시될때 Ctrl + C 키를 입력

 

 2) 활성 디렉토리 변경

Aboot#cd /mnt/flash
# 활성 디렉토리를 /mnt/flash 디렉토리로 변경

 

3) startup-config 편집

Aboot#vi startup-config

enable password 5 문자로 시작되는 라인으로 이동
# vi 줄 이동 명령어 참조

enable password 5 문자로 시작되는 라인 삭제
# ex) dd enable password 5 $1$Ab01cD23EF$ghIJKLmnOp4Qr5

:wq!
# 저장

 

> vi 줄 이동 명령어

vi 편집기 줄 이동 명령어

 

4) 재부팅

switch#exit
# Aboot 모드 나가면서 자동으로 스위치 재부팅

 

 

2. ARISTA switch 공장 초기화

1) Aboot shell 모드 진입

switch#reload
# 명령어로 재부팅
# 장비의 전원을 끄고, 다시 켜도 됨

부팅 후에 프롬프트 표시될때 Ctrl + C 키 입력

 Aboot 암호 입력 (Aboot 암호를 분실했다면, Enter 키 3번 입력)

Type "fullrecover" and press Enter to revert /mnt/flash to factory default state, or just press Enter to reboot: fullrecover
# 알림 메시지가 보이면, fullrecover 입력

4번 선택

 

2) 공장 초기화

Aboot#fullrecover
All data on /mnt/flash will be erased; type "yes" and press Enter to proceed, or just press Enter to cancel: yes
# 알림 메시지가 보이면, yes 입력 후 엔터키 입력
Aboot#exit

 

반응형

댓글