Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system reboot (Junos OS Evolved)

Syntax

Syntax (QFX Series)

Syntax (UfiSpace)

Description

Reboot the entire system (all nodes).

To reboot a single node, use the request node reboot command instead.

Options

none

Reboot the software immediately.

at time

(Optional) Time at which to reboot the software, specified in one of the following ways:

  • now—Stop or reboot the software immediately. This is the default.

  • +minutes—Number of minutes from now to reboot the software.

  • hh:mm—Absolute time on the current day at which to stop the software, specified in 24-hour time.

  • yymmddhhmm or yyyymmddhhmm—Year, month, day, hour, and minute to reboot the software, specified in 24-hour time. The year can be specified in either 2-digit or 4-digit formats.

hitless

(Optional) Perform a hitless graceful reboot to minimize traffic loss and prevent interface flapping. You will be prompted to continue and the hitless reboot will only begin if you respond with "yes".

hitless no-confirm

(Optional) Perform a hitless graceful reboot immediately without prompting the user.

in minutes

(Optional) Number of minutes from now to reboot the software. The minimum value is 1. This option is an alias for the at +minutes option.

message "text"

(Optional) Message to display to all system users before stopping or rebooting the software.

onie Reboot into the specified ONIE bootloader mode:
install Reboot into ONIE OS installer mode. This invokes ZTP to reinstall the network OS.
update Reboot into ONIE self update mode. This invokes the ONIE updater to update the ONIE bootloader. Only the ONIE bootloader is updated. The network OS is untouched.
rescue Reboot into ONIE rescue mode where you can issue ONIE commands.
embed Reboot into ONIE self update mode and embed ONIE. This updates the ONIE bootloader and removes the currently installed network OS.

Additional Information

Starting in Junos OS Evolved 23.4R1, when rebooting a system with this command, the Layer 2 applications l2ald, l2ald-agent, l2cpd, and l2cpd-agent are initialized and started only if any of the following configuration hierarchy levels contain any configuration statements:

  • [edit interface interface-name unit number family ethernet-switching]

  • [edit vlans]

  • [edit routing-instance instance-name instance-type virtual-switch]

  • [edit routing-instance instance-name instance-type mac-vrf]

  • [edit protocols l2-learning]

Additionally, l2cpd, and l2cpd-agent are initialized and started if the [edit protocols lldp] hierarchy level contains any configuration statements.

As a result of this change, if your configuration already contains these configuration statements and you then delete all of the above configuration statements, these Layer 2 applications stop running.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system reboot

request system reboot at 23:00

request system reboot at 202607011200

request system reboot in 1

request system reboot (in 2 Hours)

The following example, which assumes that the time is 5 PM (17:00), illustrates three different ways to request the system to reboot in two hours:

request system reboot (Immediately)

request system reboot hitless

request system reboot hitless no-confirm

request system reboot onie install

Release Information

Command introduced in Junos OS Evolved Release 18.3R1.

Option to set a future date and time introduced in Junos OS Evolved Release 25.2R1.

hitless and hitless no-confirm options introduced in Junos OS Evolved release 25.4R1 for QFX Series devices.

onie options introduced in Junos OS Evolved Release 25.4R1 for UfiSpace devices.