Juniper Networks delivers your E-series router already set up with a factory default configuration and a software release (.rel) file. You can, however, create a new configuration file (.cnf) and select a different software release file to use in future reboots of your router. When you reboot your router, you can use:
In addition, you can configure the system to load a different software release file on its next reboot. Use the boot system command to do this. If you do not configure your system with a backup release, it reverts to the release and configuration it had before the crash.
You can use the boot backup command to specify a software release and configuration for the system to use in case the system resets too many times in a given period.
The boot subsystem command enables you to override the system release setting for a given subsystem—for example, OC3.
The GE-2 line module can now detect whether it supports the software release installed on the primary SRP module in an E-series router. When the GE-2 line module is booting and it detects that it supports the software release on the SRP module, the line module boots successfully with that software release. However, if the GE-2 line module detects that it does not support the software release on the SRP module, the module does not boot successfully and the following messages appear in the system log:
- ERROR 05/04/2005 06:09:05 system (slot 13): Line card failed
diags in slot 13 with status: Autoboot disabled
- ERROR 05/04/2005 06:09:05 system (slot 13): board failed
diagnostics
boot backup
- host1(config)#boot backup rel_1_1_0.rel newfile.cnf
boot config
![]() |
Caution: All versions of this command except those using the running-configuration or startup-configuration keywords erase the current system running configuration. Before issuing one of those versions, you might want to save the running configuration to a .cnf file by issuing the copy running-configuration command. |
To specify an existing system configuration (.cnf) file that the system uses for the next reboot and all subsequent reboots:
- host1(config)#boot config newconffile.cnf
To specify an existing system configuration (.cnf) file that the system uses only on the next reboot. On subsequent reboots, the system will use the running configuration current at the time of that reboot:
- host1(config)#boot config newconffile.cnf
once
- host1(config)#boot config scriptfile.scr
Configuring this option causes the system to ignore—only at the next reboot—an autocfg.scr file that you may also have configured.
If the system is in Automatic Commit mode:
- host1(config)#boot config running-configuration
If the system is in Manual Commit mode:
- host1(config)#boot config startup-configuration
See Saving the Current Configuration in Managing the System , for information about Automatic and Manual Commit modes.
- host1(config)#boot config factory-defaults
boot force-backup
- host1(config)#boot force-backup mysafe.rel
mysafe.cnf
![]() |
Note: Even if you request the normal release/configuration, the boot logic still checks the reboot history file. It may force the backup mode regardless of your request. To guarantee that the boot logic does not override your request to use the normal release/configuration, do either of the following:
|
boot revert-tolerance
- host1(config)#boot revert-tolerance 2 60
boot revert-tolerance never
- host1(config)#boot revert-tolerance never
![]() |
Note: This command is functionally equivalent to specifying no backup image/configuration, but it allows you to leave the backup settings alone and to toggle autoreversion on and off. This command is undone by using the no boot revert-tolerance command, which restores the default settings, or the boot revert-tolerance command. The default settings are count = 3 (crashes) and time = 1800 (seconds); that is, 3 crashes in 30 minutes. |
boot subsystem
- host1(config)#boot subsystem ct3 rel_1_0_1.rel
- host1(config)#boot backup subsystem ct3 rel_1_0_1.rel
boot system
![]() |
Caution: This command attempts to reprogram the SRP boot PROMs, if necessary. The SRP has a primary and, typically, a backup boot PROM. If the boot system command is executed on an SRP with no backup boot PROM, the following message is displayed: “ Write to Backup Boot ROM failed.” In this instance, this message is correct, and you can ignore it. |
- host1(config)#boot system release1.rel