Using cli commands to reset the device, Cli c, Sing – Juniper Networks 5000 User Manual
Page 41: Ommands, Eset, Evice

Using CLI Commands to Reset the Device
NetScreen-5000 Series
33
4.
(Optional) To see the updated port list and details about the new aggregate
interface:
get interface
get interface aggregate1
Notice that the listing contains aggregate1, an aggregate interface comprised of
ethernet2/1 and ethernet2/2. This aggregate interface runs with a throughput
rate of 2 Gbps. Use the following command to bind the aggregate interface,
aggregate1, to the trust zone:
set interface aggregate1 zone trust
U
SING
CLI C
OMMANDS
TO
R
ESET
THE
D
EVICE
If you lose the admin password, then you can use the following procedure to reset the
NetScreen-5000 Series system to its default settings. This procedure destroys any existing
configurations, but restores access to the device. To perform this operation, you need to
make a console connection, as described in
“Establishing a Terminal Emulator
1.
At the login prompt, type the serial number of the NetScreen-5000 Series
system.
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, keys and settings. Would you
like to continue? y/[n]
Note:
As with most other interfaces, you must assign the aggregate interface an
IP address so that other nodes on the network can reach it.
Warning:
Resetting the NetScreen-5000 Series system deletes all existing configuration
settings, and the firewall and VPN services is rendered inoperative.
Note:
After you successfully reset and reconfigure the NetScreen-5000 Series, 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. For detailed information about configuration backups, see the
System Parameters section in the NetScreen Concepts & Examples ScreenOS Reference
Guide.
Note:
By default the device recovery feature is enabled. You can disable it by entering the
following CLI command: unset admin device-reset.