Вы находитесь на странице: 1из 1

Using the load factory-default Command

If you are still able to logon to the device via the CLI, you can use the load
factory-default command to return the device to its factory default configuration.
This command loads and commits the factory configuration; but this command does not
delete other configuration files on the device.

For more information about this command, refer to the documentation on Changing
from Router Context to Secure Context?

Type the load factory-default command:

root@host# load factory-default

Use the set system root-authentication plain-text-password command to set a new


root password for the device:

root@host# set system root-authentication plain-text-password

Type the root password and retype it to confirm it:

New password:
Retype new password:

Caution: Prior to committing the changes, if an IP address is not assigned for


the 'ge-0/0/0' interface, create a local user account and type the routing
information; either via the CLI configuration or DHCP. The SRX device will no
longer be remotely accessible.

To manage the SRX device, you must connect a PC or laptop to the physical
console or attach the PC or laptop to a subnet that is directly connected to the
ge-0/0/0 interface, which is assigned an IP address of '192.168.2.1'.

Use the commit and-quit command to commit the configuration and exit the
configuration mode, if the configuration contains no errors and the commit is
successful:

root@host# commit and-quit

After the commit, the factory default configuration will be the running
configuration.

Вам также может понравиться