Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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 power-off

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request system power-off
<both-routing-engines>
<other-routing-engine>
<at time>
<in minutes>
<media (compact-flash | disk | removable-compact-flash | usb)> 
<message "text">

Syntax (EX Series Switches)

content_copy zoom_out_map
request system power-off 
<at time> 
<both-routing-engines>
<in minutes>
<junos>
<message "text">
<network>
<oam>
<other-routing-engine>
<usb>

Syntax (MX Series Router)

content_copy zoom_out_map
request system power-off 
<at time> 
<both-routing-engines>
<in minutes>
<junos>
<message "text">
<network>
<no-forwarding>
<oam>
<other-routing-engine>
<usb>

Syntax (QFX Series)

content_copy zoom_out_map
request system power-off
<all-members>
<at time>
<both-routing-engines>
<in minutes> 
<local>
<member>
<message "text"> 
<other-routing-engine>
<slice slice>

Description

Power off the Routing Engines.

Note:

When you issue this command on an individual component in a QFabric system, you will receive a warning that says “Hardware-based members will halt, Virtual Junos Routing Engines will reboot.” If you want to halt only one member, use the member option. You cannot issue this command from the QFabric CLI.

Note:

For a standalone chassis (such as MX Series and PTX Series), the request to power off the system is applicable only to the Routing Engines. When you request to power off both Routing Engines, all the FPCs in the chassis shut down after approximately 10 minutes and the chassis fans run at full speed. The FPCs shut down because they no longer have communication with the Routing Engines and an Inter-Integrated Circuit (l2C) timeout occurred.

Note:

For the devices with Routing Engines RE-S-2x00x6, RE-PTX-2x00x8, and RE-S-2x00x8, this command is deprecated and might be removed completely in a future release.

On these devices, this command is replaced with the request vmhost power-off command which provides similar functionality.

Options

none

Power off the router or switch software immediately.

all-members

(QFX Series devices only) (Optional) Power off all members of the Virtual Chassis configuration.

at time

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

  • now—Power off the software immediately. This is the default.

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

  • yymmddhhmm—Absolute time at which to power off the software, specified as year, month, day, hour, and minute.

  • hh:mm—Absolute time on the current day at which to power off the software.

both-routing-engines

(Optional) Power off both Routing Engines at the same time.

in minutes

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

junos (EX Series and MX Series devices only) (Optional) Boot off Junos volume.
local

(EX4200 switches and MX Series devices only) (Optional) Power off the local Virtual Chassis member.

media (compact-flash | disk | removable-compact-flash | usb)

(Optional) Boot medium for the next boot.

media (external | internal)

(EX Series, MX Series, and QFX Series devices only) (Optional) Power off the boot media:

  • external—Power off the external mass storage device.

  • internal—Power off the internal flash device.

member member-id

(EX4200 and MX Series devices only) (Optional) Power off the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.

message "text"

(Optional) Message to display to all system users before powering off the software.

no-forwarding (MX series devices only) (Optional) No forwarding.
network (EX Series and MX Series devices only) (Optional) Network boot through PXE.
oam (Optional) Boot off OAM volume.
other-routing-engine

(Optional) Power off 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 halted. Similarly, if you issue the command from the backup Routing Engine, the primary Routing Engine is halted.

slice slice

(EX Series and QFX Series switches only) (Optional) Power off a partition on the boot media. This option has the following suboptions:

  • 1—Power off partition 1.

  • 2—Power off partition 2.

  • alternate—Reboot from the alternate partition.

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 power-off

content_copy zoom_out_map
user@host> request system power-off message “This router will be powered off in 30 minutes. Please save your data and log out immediately.”  
warning: This command will not halt the other routing-engine.
If planning to switch off power, use the both-routing-engines option.
Power Off the system ? [yes,no] (no) yes 
                                                                               
*** FINAL System shutdown message from remote@nutmeg ***                     
System going down IMMEDIATELY                                                  
                                                                               
This router will be powered off in 30 minutes. Please save your data and log out
immediately.                                                                 
                                                                               
Shutdown NOW!
[pid 5177]

Release Information

Command introduced in Junos OS Release 8.0.

external-footer-nav