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

Halting the Device with the CLI

You can use the request system halt CLI command to halt the J-series or SRX-series device:


user@host> request system halt <at time> <in minutes> <media type> <message “text”>

When the device is halted, all software processes stop and you can access the device through the console port only. Reboot the device by pressing any key on the keyboard.

Note: If you cannot connect to the device through the console port, shut down the device by pressing and holding the power button on the front panel until the POWER LED turns off. After the device has shut down, you can power on the device by pressing the power button again. The POWER LED lights during startup and remains steadily green when the device is operating normally.

Table 183 describes the request system halt command options.

Table 183: CLI Request System Halt Command Options

Option

Description

none

Same as at now (stops software processes on the device immediately).

at time

Time at which to stop the software processes on the device. You can specify time in one of the following ways:

  • now—Stops the software processes immediately. This is the default.
  • +minutes—Stops the software processes in the number of minutes from now that you specify.
  • yymmddhhmm—Stops the software processes at the absolute time you specify. Enter the year, month, day, hour (in 24-hour format), and minute.
  • hh:mm—Stops the software processes at the absolute time that you specify, on the current day. Enter the time in 24-hour format, using a colon (:) to separate hours from minutes.

in minutes

Specifies the number of minutes from now to stop the software processes on the device. This option is a synonym for the at +minutes option.

media type

Specifies the boot device to boot the router from after the halt:

  • compact-flash—Reboots from the internal compact flash. This is the default.
  • removable-compact-flash—Reboots from the optional external compact flash. This option is available on J2320 and J2350 Services Routers only.
  • usb—Reboots from the USB storage device.

message "text"

Provides a message to display to all system users before the software processes on the device are stopped.


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