[Contents] [Prev] [Next] [Index] [Report an Error]

request system reboot

Syntax

request system reboot
<other-routing-engine>
<at time>
<in minutes>
<media (compact-flash | disk | removable-compact-flash | usb)>
<message "text">

Syntax (Routing Matrix)

request system reboot
<all-lcc | lcc number | scc>
<other-routing-engine>
<at time>
<in minutes>
<media (compact-flash | disk)>
<message "text">

Release Information

Command introduced before JUNOS Release 7.4.

other-routing-engine option added in JUNOS Release 8.0.

Description

Reboot the software.

Options

none — Reboot the software immediately.

all-lcc — (Routing matrix only) (Optional) Reboot all T640 routing nodes (or line-card chassis) connected to the TX Matrix platform.

lcc number(Routing matrix only) (Optional) Number of a T640 routing node that is connected to a TX Matrix platform. Replace number with a value from 0 through 3.

scc — (Routing matrix only) (Optional) Reboot the Routing Engine on the TX Matrix platform (or switch-card chassis). If you issue the command from re0, re0 is rebooted. If you issue the command from re1, re1 is rebooted.

other-routing-engine — Reboot the other Routing Engine from which the command is issued. For example, if you issue the command from the master Routing Engine, the backup Routing Engine is rebooted. Similarly, if you issue the command from the backup Routing Engine, the master Routing Engine is rebooted.

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 (compact-flash | disk | removable-compact-flash | usb) — (Optional) Boot medium for next boot. (The options removable-compact-flash and usb pertain to the J-series routing platform only.)

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

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

On a routing matrix, if you issue the request system reboot command on the master Routing Engine, all the master Routing Engines connected to the routing matrix are rebooted. If you issue this command on the backup Routing Engine, all the backup Routing Engines connected to the routing matrix are rebooted.

Note: To reboot a router that has two Routing Engines, reboot the backup Routing Engine (if you have upgraded it) first, and then reboot the master Routing Engine.

Required Privilege Level

maintenance

Related Topics

clear system reboot

List of Sample Output

request system reboot
request system reboot (at 2300)
request system reboot (In 2 Hours)
request system reboot (Immediately)
request system reboot (At 1:20 AM)

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



[Contents] [Prev] [Next] [Index] [Report an Error]