본문 바로가기

Skills/mY Technutz

다산 스위치/라우터장비 패스워드초기화방법.


INIT: version 2.77 booting     <--- Ctrl + C
INIT: Entering runlevel: 3

(none) login: root
Password: vertex25
login[24]: root login on `ttyS0'

*SWITCH# tar -xPvf /dev/conf
/etc/
/etc/Zebra.conf
         .
      중략
         .
/etc/HOSTNAME
/etc/ioctl.save

*SWITCH# rm passwd
*SWITCH# savecfg
*SWITCH# reboot


5000 시리즈 스위치


INIT: version 2.77 booting    --->Ctrl + C
INIT: Entering runlevel
Starting system loggers: syslogd
Starting INET services: syslogd
Starting httpd: httpd
login: root     
Password: 다산
cat: /etc/HOSTNAME: No such file or directory
cat: /etc/HOSTNAME: No such file or directory

5124 스위치

INIT: version 2.77 booting    --->Ctrl + C
INIT: Entering runlevel: 3

(none) login: root     
Password: vertex25 
login[24]: root login on `ttyS0'

*SWITCH# savecfg
/etc/
/etc/Zebra.conf
         .
  중간 생략
         .
/etc/HOSTNAME
/etc/ioctl.save

*SWITCH# reboot ---> 장비를 재 부팅한 후 초기값 root, vertex25로 접속