반응형
SMALL

To resolve the issue, use the following procedure to recover the root password for SRX Branch devices running on Junos release versions 10.0R1, 10.0R2, and 10.1R1. This involves disabling watchdog functionality to allow the system to properly boot into single-user mode.

Press the power button on the front panel to power on the router.  Verify that the POWER LED on the front panel turns green. The console should continuously display the boot message.
When the prompt appears, press the spacebar to access the router’s bootstrap loader and type these commands:
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 9 seconds...

Loader>
Loader> watchdog disable
Loader> boot –s

The firewall starts up in single-user mode. In single-user mode, a multiuser operating system such as Junos boots into a single superuser. Single-use mode is mainly used for maintenance of multi-user environments such as network servers.
At the prompt, enter " recovery " to start the root password recovery procedure.
System watchdog timer disabled
Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery
The device directly enters operational mode without asking for an user ID or password..
Starting CLI ...

root@host> edit

When in configuration mode, set the root password.
root@host# set system root-authentication plain-text-password
On pressing the return key, type in the new root password.  Reenter the new root password when the second prompt appears.

New password: juniper1
Retype new password: juniper1
Commit the changes.
root@host# commit
commit complete
Reboot the device again.
root@host# run request system reboot
Reboot the system ? [yes,no] (no) yes

The boot messages display on the console.
Press the spacebar one time, to access the router’s bootstrap loader prompt. This sequence appears on the console:
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 9 seconds...

Loader>
Loader> watchdog enable
Loader> boot
The device reboots again and this time it asks for an user ID and password.  Enter the newly configured password. 
Wed Jun 16 14:20:21 UTC 2010
Amnesiac (ttyu0)
login: root
Password: juniper1
For more information, refer to PR499745 .

Modification History
2019-08-28: Article reviewed for accuracy. Only applicable on the specific versions
request system zeroize    공장초기화
리부팅 
set system root-authentication plain-text-password
commit
show system chassis       ,, J 대문자 Juniper
 set chassis cluster disable reboot   이중화 종료
delete interfaces vlan unit 0 family inet address 192.168.1.222/24
root# show | display set
 request system power-off at now    시스템 종료

반응형
LIST

'업무이야기 > Security' 카테고리의 다른 글

How to Deploy and Manage FortiEndpoint | Endpoint Security  (7) 2024.11.08
DeepFinder (웹방화벽)  (6) 2024.10.23
FortiGate SIP Debug  (1) 2023.05.02
SRX IPSec Tunnel Sample  (0) 2023.05.02
AhnLab Network Solutions  (0) 2022.11.21
반응형
SMALL

1.부팅시 스페이스 연타로 부트로더로 들어간다.

2. loader>boot -s 
   를 누르면 싱글유저 모드로 부팅

3. 부팅 중 아래와 같이 나오면 recovery 입력
   Enter full path name of shell or 'recovery' for root password recovery or RETURN for /bin/sh:  recovery
----------------------------------------------------------------------------------------------
패스워드 설정 안해도 되는 초기화법

1. 위의 3번에서 recovery 치지말고 그냥 엔터

2. mount -a
    mkdir /config/temp
    mv /config/*.gz /config/temp
    shutdown -r now 

입력 하면 재부팅 되면서 초기설정으로 들어감.

request system zeroize    공장초기화
리부팅 

set system root-authentication plain-text-password
usb 설치 하고 부팅 
install file:///jinstall-ex-3200-12.3R6.6-domestic-signed.tgz
request system power-off at now    시스템 종료
================================================================
show chassis hardware  하드웨어 보는 명령어

반응형
LIST
반응형
SMALL

How do I reset the admin account password on H-Series products?
Environment
HD4/8, HB1, HC2, TA1
Answer
Note: You will need console port access

1. a) Power cycle & goto to step 2
    or
     b) Log in with a different user, type "reload"

2. Watch shutdown and boot up system messages (get ready to hit Ctrl-C)

System shutdown initiated -- logging off.

Gigamon GigaVUE-HD Platform
 
INIStopping pm: [  OK  ]
Shutting down kernel logger: [  OK  ]
Shutting down system logger: [  OK  ]
Starting killall:  [  OK  ]
Sending all processes the TERM signal...
Sending all processes the KILL signal...
Remounting root filesystem in read-write mode:
Saving random seed:
Syncing hardware clock to system time
Running vpart script:
Unmounting file systems:
Remounting root filesystem in read-only mode:
Running vpart script:
Please stand by while rebooting the system...
Restarting system.
 
U-Boot 2010.06 gigavue 1.0.0 #1-dev ppc gvhd hnguyen@boombox:unkno (May 25 2011 - 05:53:45) MPC83XX
 
Reset Status:
 
CPU:   e300c4, MPC8378E, Rev: 2.1 at 800 MHz, CSB: 400 MHz
Board: Gigamon HDCC
I2C:   ready
DRAM:  2 GiB (DDR2, 64-bit, ECC off, 400 MHz)
 
FLASH: 32 MiB

2. When you see the above type Ctl-C twice to enter the U-Boot prompt.
 
Default image: 'gigavue 1.0.0 #1-dev 2011-05-26 05:07:57 ppc gvhd build_master@GigaBuilder:unknown'
Press Enter to boot this image, or any other key for boot menu
 
Booting default image in:  0
 
Boot Menu:
   1: gigavue 1.0.0 #1-dev 2011-05-25 05:45:26 ppc gvhd hnguyen@boombox:unknown
*  2: gigavue 1.0.0 #1-dev 2011-05-26 05:07:57 ppc gvhd build_master@GigaBuilder:unknown
   c: Command prompt
 
   Choice:
 
3. Select c to get to the u-boot command prompt. Then type
setenv reset_button 1
run bootcmd
 
4. Default credentials admin/admin123A! should now work

 

반응형
LIST
반응형
SMALL
  1. Power off the device by pressing the power button on the front panel and reboot the device.
  2. Turn on the power to the management device.
  3. Power on the device by pressing the power button on the front panel. Verify that the POWER LED on the front panel turns green.The terminal emulation screen on your management device displays the device’s boot sequence.
  4. When the autoboot is completed, press the spacebar a few times to access the bootstrap loader prompt.
  5. At the following prompt, enter boot -s to start up the system in single-user mode.
    loader>boot -s
  6. At the following prompt, enter recovery to start the root procedure.
  7. Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery
  8. Enter configuration mode in the CLI.
  9. Set the root password. For example:
    user@host# set system root-authentication plain-text-password
    For more information about configuring the root password, see the System Basics Configuration Guide.
  10. At the following prompt, enter the new root password. For example:
    New password: juniper1
    Retype new password:
  11. At the second prompt, reenter the new root password.
  12. If you are finished configuring the network, commit the configuration.
    root@host# commit
    commit complete
  13. Exit configuration mode in the CLI.
  14. Exit operational mode in the CLI.
  15. At the prompt, enter y to reboot the device.
    Reboot the system? [y/n] y

 

반응형
LIST
반응형
SMALL


Summary:

This article describes how to recover a lost or forgotten password for the EX-series Switch.

 

Problem or Goal:

Lost root password for the EX-series Switch.

 

 

Solution:

Troubleshooting Loss of the Root Password on the EX-series Switch

Problem:
If you forget the root password for the switch, you can use the password recovery procedure to reset the root password.

NOTE: You need physical access to the switch to recover the root password. This is done by direct console access or through a console server to the console port on the EX Switch.

Solution To recover the root password:
  1. Power off your switch by unplugging the power cord or turning off the power at the wall switch.
  1. Insert one end of the Ethernet cable into the serial port on the management device and connect the other end to the console port on the back of the switch.
  1. On the management device, start your asynchronous terminal emulation application (such as Microsoft Windows Hyperterminal) and select the appropriate COM port to use (for example, COM1).
  1. Configure the port settings as follows:
  • Bits per second: 9600
  • Data bits: 8
  • Parity: None
  • Stop bits: 1
  • Flow control: None
  1. Power on your switch by plugging in the power cord or turning on the power atthe wall switch.
  1. When the following prompt appears, press the Spacebar to access the switch's bootstrap loader command prompt:
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 1 second...
  1. At the following prompt, type boot -s to start up the system in single-user mode:
loader> boot -s
  1. At the following prompt, type recovery to start the root password recovery procedure:
Enter full path name of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery

A series of messages describe consistency checks, mounting of filesystems, and initialization and checkout of management services. Then the CLI prompt appears.
  1. Enter configuration mode in the CLI:
user@switch> cli
  1. Set the root password. For example:
user@switch# set system root-authentication plain-text-password
  1. At the following prompt, enter the new root password. For example:
New password: juniper1

Retype new password:
  1. At the second prompt, reenter the new root password.
  1. If you are finished configuring the network, commit the configuration.root@switch# commit

commit complete

  1. Exit configuration mode in the CLI.
root@switch# exit

  1. Exit operational mode in the CLI.
root@switch> exit

  1. At the prompt, enter y to reboot the switch.
Reboot the system? [y/n] y
반응형
LIST

'업무이야기 > Network' 카테고리의 다른 글

Alteon L4 FWLB Sample  (0) 2012.04.20
Juniper Virtual Router Basic Configuration  (0) 2012.02.21
Alteon config 기본 설정  (2) 2012.02.07
Alteon SLB에서 PIP(Proxy IP) 설정  (1) 2012.02.04
Brocade FLS624G dhcp 구성 config (Foundry)  (0) 2012.01.25

+ Recent posts