If you've been entering commands for configuration changes on a Juniper Neworks SRX router/firewall, which runs the Juniper Network Operating System, Junos OS, but haven't committed those changes to make them active, you can discard them using the command
rollback 0
. which will replace the "candidate config", i.,e., the
one you've been editing, with the active configuration, which is also the
boot configuration.
root@Alder# rollback 0 load complete [edit] root@Alder#
The device can store multiple prior configurations and you can revert to
one of those other prior configurations, instead, using rollback n
where n is the number for the prior configuration. You can
also rollback to a saved "rescue" configuration with rollback
rescue
. You an see a list of the stored configurations to which you can
revert using the command rollback ?
.
[ More Info ]