Unattended Boot Mode in ACX Series
Junos operating system (Junos OS) for ACX series router supports unattended boot mode. Unattended boot mode feature blocks any known methods to get access to the router from CPU reset till Junos OS login prompt, thereby preventing a user to make any unauthorized changes on the router such as viewing, modifying, or deleting configuration information.
Unattended boot mode is not supported on ACX5048 and ACX5096 routers.
To enable unattended boot mode, you need to configure a bootloader password. Bootloader password can be either in plain-text as entered by the user, or an encrypted string as provided in the input configuration file. The unattended-boot mode is disabled, by default.
To enable unattended boot mode, enter a bootloader password, commit the changes, and then enable unattended boot mode:
- Use the following command to set a bootloader password
using plain-text-password option:[edit]user@host# set system boot-loader-authentication plain-text-passwordNew Password: type password hereRetype new password: retype password here
- Use the following command to set a bootloader password
using encrypted-password option:[edit]user@host# set system boot-loader-authentication encrypted-password password
Note When you set a bootloader password using encrypted-password option, you should use the encryption type as MD5.
- Commit the changes:[edit]user@host# commit
- Exit from configuration mode:[edit]user@host#exituser@host>
Note After the router reboots, you need to enter the bootloader password at the bootloader login prompt.
- To enable unattended boot mode, use the following command:[edit]user@host#set system unattended-boot
- Commit the changes:[edit]user@host#commit
A warning message appears as Please take snapshot to alternate slice after unattended-boot enable is successfully committed. commit complete
- Exit from configuration mode:[edit]user@host# exituser@host>
For information on taking system snapshot, see Understanding System Snapshot on an ACX Series Router and Example: Taking a Snapshot of the Software and Configuration.
To disable unattended boot mode, delete the bootloader password and then delete the unattended boot mode:
- Use the following command to delete the bootloader password:[edit]user@host# delete system boot-loader-authentication
- Use the following command to delete unattended boot mode:[edit]user@host# delete system unattended-boot
- Commit the changes:[edit]user@host# commit
A warning message appears as Please take snapshot to alternate slice after unattended-boot enable is successfully committed. commit complete
For information on taking system snapshot, see Understanding System Snapshot on an ACX Series Router and Example: Taking a Snapshot of the Software and Configuration.
- Exit from configuration mode:[edit]user@host# exitroot@>
If unattended mode is enabled or configured, the USB mode of booting is disabled. If you want to boot from an external USB device, you need use the bootfrom USB CLI command at the bootloader prompt.