본문 바로가기
Technical/Network

네트워크 장비별 초기화 (Factory Default) 방법

by 알 수 없는 사용자 2021. 5. 12.

현재 많은 사이트에서 비주류 혹은 과거에 어디서나 쉽게 접할수 있었던 벤더사 4가지(Extream, Force10, Juniper, Nexus)

초기화 방법에 대해 간략하게 정리 하겠습니다.

 

모두 쉽게 따라 하실 수 있습니다.  

 

1. Extream (summit) 스위치 초기화

 

전원 올리기전에 space바를 누르고 있음

BootStrap >
BootStrap >
BootStrap > boot <=====================boot를 입력
Starting Default Bootloader ...


<======================== 부팅이 시작되면 다시 space바를 누르고 있음

Extreme Networks
................................................................

 


Running POST... PASSED

Version 1.0.2.2 by release-manager on Tue 10/31/06
Copyright 2003-2006, Extreme Networks, Inc.


Press and hold the to enter the bootrom.


BootRom > <==================bootrom이 떠야함
BootRom >
BootRom >
BootRom > loader pri

BootRom > config default <=================== config none 해도 됨
Configuration selected: default

BootRom > boot <================ 다시 부팅

Loading EXOS Image ...
login: admin <=============== admin
password: <=============== 없음

unconfig switch all <============ 초기화 명령어

 

2. Force10 스위치 초기화

CPU Card ID: 0x508245
2Boot Menu Version: 30 Aug 2006
Version 02.01.43 08/30/2006

Select an option. If no selection in 2 seconds then
operational code will start.

1 - Start operational code.
2 - Start Boot Menu.
Select (1, 2):2 <======= 부팅 중 2번 선택

 

Boot Menu Version: 30 Aug 2006

Options available
1 - Start operational code
2 - Change baud rate
3 - Retrieve event log using XMODEM
4 - Load new operational code using XMODEM
5 - Display operational code vital product data
6 - Run flash diagnostics
7 - Update boot code
8 - Delete operational code
9 - Reset the system
10 - Restore configuration to factory defaults (delete config files)
11 - Activate Backup Image
[Boot Menu] 10 <===== 10번 초기화 선택
[Boot Menu] 9 <====== 9번 재부팅

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

 

 

3.주니퍼 (EX시리즈) 초기화 방법


Hit [Enter] to boot immediately, or space bar for command prompt. <======= 재부팅중 여기서 enter 나 space bar
Booting [/kernel] in 1 second...

 

Type '?' for a list of commands, 'help' for more detailed help.
loader>
loader>
loader> boot -s <================= 여기서 boot -s 싱글모드로 진입

.

.

.

.

.

.Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery   <========== 여기서 recovery 입력 후 엔터

 

root@XXXX> edit <====================== edit 입력
Entering configuration mode

[edit]
root@XXXX# set system root-authentication plain-text-password
New password: <================= 새로운 password 입력
Retype new password: <============ 다시하번 password 입력

[edit]
root@XXXX# commit <========= commit을 꼭 해 줄것! (cisco write memory 기능)
commit complete

[edit]
root@XXXX#

[edit]
root@XXXX# exit <===================== exit 빠져나올것 !
Exiting configuration mode


root@XXXX> request system reboot <============== 주니퍼는 리눅스 기반으로 전원을 그냥 내리면 안됨
꼭 request system reboot 넣어 재부팅 할 것!
Reboot the system ? [yes,no] (no) yes <==== yes

Shutdown NOW!
[pid 835]
Nov 17 13:19:17 shutdown: reboot by root:

 

Amnesiac (ttyu0)

login: root <===== ID root
Password: <===== 기존엔 입력한 비밀번호

 

 

load factory default <====== 초기화

commit<====== 저장

 

4. N5K(Nexus) 초기화 방법

※ N5K 장비 기준 보통Nexus 장비는 OS가 2가지를 가지고 있음 ( Kickstart / UK )

 

부팅시 ctrl + shift + r

User break with default console settings
Loader Version pr-1.3

loader> dir
bootflash:
lost+found
mts.log
vdc_2
vdc_3
vdc_4
tftp
n5000-uk9.5.0.2.N1.1.bin
n5000-uk9-kickstart.5.0.2.N1.1.bin
stp.log.1
assoc_mgr_cnv.log
fcoe_mgr_cnv.log
vfc_cnv.log
flogi_cnv.log
vlan.dat

loader> boot n5000-uk9-kickstart.5.0.2.N1.1.bin

 

--> 계정 패스워드 변경시

switch(boot)(config)# admin-password admin

-- 그 후

switch(boot)# dir
728 Mar 07 2011 19:43:15 assoc_mgr_cnv.log
594 Feb 23 2011 22:31:41 fcoe_mgr_cnv.log
460 Feb 23 2011 22:31:41 flogi_cnv.log
49152 Feb 23 2011 22:26:50 lost+found/
14482 Mar 11 2015 11:11:08 mts.log
25803264 Feb 23 2011 22:25:30 n5000-uk9-kickstart.5.0.2.N1.1.bin
157426362 Feb 23 2011 22:24:37 n5000-uk9.5.0.2.N1.1.bin
3553 Feb 23 2011 22:30:51 stp.log.1
1127 Sep 02 2010 02:01:57 tftp
4096 Jan 01 2005 00:02:41 vdc_2/
4096 Jan 01 2005 00:02:41 vdc_3/
4096 Jan 01 2005 00:02:41 vdc_4/
468 Feb 23 2011 22:31:41 vfc_cnv.l
664 Dec 04 2014 05:01:07 vlan.dat

Usage for bootflash: filesystem
604672000 bytes total used
278679552 bytes free
883351552 bytes available
switch(boot)# load n5000-uk9.5.0.2.N1.1.bin

 

댓글