Supported Platforms
request system reboot
Syntax
Release Information
Command introduced in Junos OS Release 9.0 for EX Series switches.
Option partition changed to slice in Junos OS Release 10.0 for EX Series switches.
Description
Reboot the Junos OS.
Reboot requests are recorded in the system log files, which you can view with the show log command. You can view the process names with the show system processes command.
Options
none | — | Reboots the software immediately. |
all-members | local | member member-id | — | (EX4200 switch only) (Optional) Specify which member of the Virtual Chassis to reboot:
|
at time | — | (Optional) Time at which to reboot the software, specified in one of the following ways:
|
in minutes | — | (Optional) Number of minutes from now to reboot the software. This option is an alias for the at +minutes option. |
media (external | internal) | — | (Optional) Boot medium for the next boot. The external option reboots the switch using a software package stored on an external boot source, such as a USB flash drive. The internal option reboots the switch using a software package stored in an internal memory source. |
message “text” | — | (Optional) Message to display to all system users before rebooting the software. |
slice (1 | 2 | alternate) | — | (Optional) Reboot using the specified partition on the boot media. This option has the following suboptions:
|
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
user@host> request system reboot
Reboot the system ? [yes,no] (no)
request system reboot (at 2300)
user@host> request system reboot at 2300 message
?Maintenance time!?
Reboot the system ? [yes,no] (no) yes shutdown: [pid 186] *** System shutdown message from root@berry.network.net *** System going down at 23:00
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:
user@host> request system reboot at +120
user@host> request system reboot
in 120
user@host> request
system reboot at 19:00
request system reboot (Immediately)
user@host> request system reboot at now
request system reboot (at 1:20 AM)
To reboot the system at 1:20 AM, enter the following command. Because 1:20 AM is the next day, you must specify the absolute time.
user@host> request system reboot at 06060120
request system reboot at 120 Reboot the system at 120? [yes,no] (no) yes