Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

request system power-off

List of Syntax

Syntax
Syntax (EX Series Switches)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Syntax (QFX Series)

Syntax

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)

request system power-off <all-members><at time> <both-routing-engines><in minutes><local><media (external | internal)><member member-id><message "text"><other-routing-engine><slice slice>

Syntax (TX Matrix Router)

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

Syntax (TX Matrix Plus Router)

request system power-off<all-chassis | all-lcc | lcc number | sfc number><both-routing-engines><other-routing-engine><at time><in minutes> <media (compact-flash | disk)><message "text">

Syntax (MX Series Router)

request system power-off <all-members><at time> <both-routing-engines><in minutes><local><media (external | internal)><member member-id><message "text"><other-routing-engine>

Syntax (QFX Series)

request system power-off<at time><in minutes> <media (external | internal)><message "text"> <slice slice>

Release Information

Command introduced in Junos OS Release 8.0.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Command introduced in Junos OS Release 11.1 for the QFX Series.

Description

Power off the software.

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, PTX Series, and T Series routers), 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.

Options

none

Power off the router or switch software immediately.

all-chassis

(Optional) (TX Matrix and TX Matrix Plus router only) Power off all Routing Engines in the chassis.

all-lcc

(Optional) (TX Matrix and TX Matrix Plus router only) On a TX Matrix router, power off all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, power off all T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.

all-members

(EX4200 switches and MX Series routers 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.

lcc number

(Optional) (TX Matrix and TX Matrix Plus router only) On a TX Matrix router, power off a T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, power off a specific router that is connected to the TX Matrix Plus router.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.
  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.
  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.
  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.
local

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

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

(Optional) Boot medium for the next boot. (The options removable-compact-flash and usb pertain to the J Series routers only.)

media (external | internal)

(EX Series and QFX Series switches and MX Series routers 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 switches and MX Series routers 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.

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 master Routing Engine, the backup Routing Engine is halted. Similarly, if you issue the command from the backup Routing Engine, the master Routing Engine is halted.

scc

(Optional) (TX Matrix router only) Power off only the master Routing Engine or the backup Routing Engine on the TX Matrix router (or switch-card chassis). If you issue the command from the master Routing Engine, the master SCC is powered off. If you issue the command from the backup Routing Engine, the backup SCC is powered off.

sfc number

(Optional) (TX Matrix Plus router only) Power off only the master Routing Engine or the backup Routing Engine on the TX Matrix Plus router (or switch-fabric chassis). If you issue the command from the master Routing Engine, the master SFC is powered off. If you issue the command from the backup Routing Engine, the backup SFC is powered off. Replace number with zero.

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.

Additional Information

On a routing matrix composed of a TX Matrix router and T640 routers, if you issue the request system power-off command on the TX Matrix master Routing Engine, all the master Routing Engines connected to the routing matrix are powered off. If you issue this command on the backup Routing Engine, all the backup Routing Engines connected to the routing matrix are powered off.

Likewise, on a routing matrix composed of a TX Matrix Plus router and T1600 routers, if you issue the request system power-off command on the TX Matrix Plus master Routing Engine, all the master Routing Engines connected to the routing matrix are powered off. If you issue this command on the backup Routing Engine, all the backup Routing Engines connected to the routing matrix are powered off.

If you issue the request system power-off both-routing-engines command on the TX Matrix or TX Matrix Plus router, all the Routing Engines on the routing matrix are powered off.

Required Privilege Level

maintenance

List of Sample Output

request system power-off

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system power-off

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]

Published: 2014-06-20

Published: 2014-06-20