Method 1:
People who have used juniper products should know a little, juniper product password Forget the words is a very painful thing, why say so? Come down and listen to what I have to tell you!
The loss of the password is unrecoverable, so we have to regain administrative privileges by restoring the factory default settings (the original configured parameters, certificates, etc. will be deleted).
There are two ways to restore the factory default configuration:
1. In console mode, use the serial number of the device to login the username/password.
After a successful system appears warning prompt, will erase the existing configuration, confirm the system begins to restore the default configuration, and then reboot. The whole process is about 3 minutes.
So how do we get this serial number? There are two ways to get this serial number, the first of which is to have a serial number behind the product. The second option is to obtain it by entering "get Sys".
Let's take a look at the Juniper Firewall startup process:
NetScreen ns-5gt Boot Loader Version 2.1.0 (CHECKSUM:61D07DA5)
Copyright (c) 1997-2003 NetScreen Technologies, Inc.
Total Physical MEMORY:128MB
Test-pass
Initialization ..... Done
Hit any key to run loader
Hit any key to run loader
Hit any key to run loader
Hit any key to run loader
Loading default system image from on-board flash disk ...
done! (size = 11,108,352 bytes)
Ignore Image authentication!
Start loading ... ......... ...... ....... ...... ... ............... ....... .......
Done.
Juniper Networks, Inc.
NS-5GT System Software
Copyright, 1997-2008
Version 6.2.0r1.0
Load manufacture Information ... Done
Initialize fbtl 0 .... Done
Load NVRAM Information ... (6.2.0) Done
Syimage
Install module init vectors
Build and Grow Heap:system, order:13
Initial Port mode trust-untrust (1)
Install modules (00FDC800,01BF5C70) ...
PPP Ip-pool initiated, 256 pools
System Config (1945 bytes) loaded
Done.
Load System Configuration ......................................................................................................................... ......... Disabled LicenseKey Auto Update
................... Done
System init done ...
Login:trust Interface Change Physical
Untrust Interface Change Physical
Login:system Change State to Active (1)