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 with Upgraded FreeBSD)

Syntax

Description

For devices running FreeBSD Release 10 or above, use this command to reboot the device software.

Options

none

Reboot the device 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.

  • yymmddhhmm—Absolute time at which to reboot the software, specified as year, month, day, hour, and minute. Omitting a value will default to the current date for that value.

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

both-routing-engines

(Optional) Reboot both Routing Engines at the same time.

in minutes

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

junos

(Optional) Reboot from the junos volume.

message "text"

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

network

(Optional) Reboot from the network.

oam

(Optional) Reboot from the oam volume.

other-routing-engine

(Optional) Reboot the other Routing Engine from which the command is issued. For example, if you issue the command from the primary Routing Engine, the backup Routing Engine is rebooted. Similarly, if you issue the command from the backup Routing Engine, the primary Routing Engine is rebooted.

usb

(Optional) Reboot from the USB device. From U-Boot release 3.12 and later and FreeBSD release 10 or later, the USB boot behaves differently than in prior releases.

Therefore, to stop the device from booting from the USB in the future, you can either:

  • Unplug the USB stick and powercycle the device. Then from the U-Boot prompt, issue these commands:

  • Or if the CLI is available, you can issue the request system reboot junos command.

Additional Information

Reboot requests are recorded in the system log files, which you can view with the show log command (see show log). Also, the names of any running processes that are scheduled to be shut down are changed. You can view the process names with the show system processes command (see show system processes).

Note:

To reboot a device that has two Routing Engines, reboot the backup Routing Engine (if you have upgraded it) first, and then reboot the primary Routing Engine.

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 2300)

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 (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.

Release Information

Command introduced in Junos OS Release 15.1.

Command introduced for all platforms using Junos OS with upgraded FreeBSD. To find which platforms in which releases use Junos OS with upgraded FreeBSD, see Feature Explorer, enter freebsd, and select Junos kernel upgrade to FreeBSD 10+.