Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request system reboot (Junos OS Evolved)

date_range 08-Dec-23

Syntax

content_copy zoom_out_map
request system reboot 
<at time>
<in minutes> 
<message "text"> 

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.

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.

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

content_copy zoom_out_map
user@host-re0> request system reboot
The entire system (all nodes) will reboot causing traffic loss, do you wish to continue? [yes,no] (no) yes

*** System shutdown message from root@host-re0 ***


reboot the system at Tue Dec  6 13:32:24 2022

System going down IMMEDIATELY

request system reboot at 23:00

content_copy zoom_out_map
user@host-re0> request system reboot at 23:00
The entire system (all nodes) will reboot causing traffic loss, do you wish to continue? [yes,no] (no) yes

*** System shutdown message from root@host-re0 ***


reboot the system at Mon Dec  5 23:00:00 2022

request system reboot in 1

content_copy zoom_out_map
user@host-re0> request system reboot in 1
The entire system (all nodes) will reboot causing traffic loss, do you wish to continue? [yes,no] (no) yes
                                                                              
*** System shutdown message from root@host-re0 ***             


reboot the system at Mon Dec  5 15:08:00 2022

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:

content_copy zoom_out_map
user@host-re0> request system reboot at +120 
user@host-re0> request system reboot in 120 
user@host-re0> request system reboot at 19:00 

request system reboot (Immediately)

content_copy zoom_out_map
user@host-re0> request system reboot at now
The entire system (all nodes) will reboot causing traffic loss, do you wish to continue? [yes,no] (no) yes

Release Information

Command introduced in Junos OS Evolved Release 18.3R1.

footer-navigation