Chapter 3 Configuring the Device
28
User’s Guide
A
SSET
R
ECOVERY
If you lose the admin password, you can use one of the following procedures to reset the
NetScreen device to its default settings. This destroys any existing configurations, but
restores access to the device.
Using CLI Commands to Reset the Device
To perform this operation, you need to make a console connection, as described in
“Establishing a Terminal Emulator Connection” on page 22
.
1.
At the login prompt, type the serial number of the device.
2.
At the password prompt, type the serial number again.
The following message appears:
!!! Lost Password Reset !!! You have initiated a command to reset the device to
factory defaults, clearing all current configuration and settings. Would you like to
continue? y/[n]
3.
Press the
y
key.
The following message appears:
!! Reconfirm Lost Password Reset !! If you continue, the entire configuration of
the device will be erased. In addition, a permanent counter will be incremented to
signify that this device has been reset. This is your last chance to cancel this
command. If you proceed, the device will return to factory default configuration,
which is: System IP: 192.168.1.1; username: netscreen; password: netscreen.
Would you like to continue? y/[n]
4.
Press the
y
key to reset the device.
You can now login in using
netscreen
as the default admin name and password.
Warning:
Resetting the device will delete all existing configuration settings, and the
firewall and VPN service will be rendered inoperative.
Note:
After you successfully reset and reconfigure the NetScreen device, you should back up
the new configuration setting. As a precaution against lost passwords, you should back up
a new configuration that contains the NetScreen default password. This will ensure a
quick recovery of a lost configuration. You should change the password on the system as
soon as possible.
Note:
By default the device recovery feature is enabled. You can disable it by entering the
following CLI command:
unset admin device-reset
.