Rebooting or Halting the Device in SRX Series Services Gateways

This topic includes the following sections:

Rebooting the SRX Series Services Gateways (J-Web Procedure)

You can use the J-Web interface to schedule a reboot or halt the SRX Series device.

Figure 13 shows the Reboot page for the device.

Figure 13: Reboot Page

Image s031011.gif

To reboot or halt the device with the J-Web interface:

  1. In the J-Web interface, select Maintain>Reboot.
  2. Select one of the following options:
    • Reboot Immediately—Reboots the device immediately.
    • Reboot in number of minutes—Reboots the device in the number of minutes from the current time.
    • Reboot when the system time is hour:minute—Reboots the device at the absolute time that you specify, on the current day. You must select a 2-digit hour in 24-hour format, and a 2-digit minute.
    • Halt Immediately—Stops the device software immediately. After the software has stopped, you can access the device through the console port only.
  3. Choose the boot device from the Reboot From Media list:
    • internal—Reboots from the internal media (default).
    • usb—Reboots from the USB storage device.
  4. (Optional) In the Message box, type a message to be displayed to any users on the device before the reboot occurs.
  5. Click Schedule. The J-Web interface requests confirmation to perform the reboot or to halt.
  6. Click OK to confirm the operation.
    • If the reboot is scheduled to occur immediately, the device reboots. You cannot access J-Web until the device has restarted and the boot sequence is complete. After the reboot is complete, refresh the browser window to display the J-Web login page.
    • If the reboot is scheduled to occur in the future, the Reboot page displays the time until reboot. You have the option to cancel the request by clicking Cancel Reboot on the J-Web interface Reboot page.
    • If 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.

Rebooting the SRX Series Services Gateways (CLI Procedure)

You can use the request system reboot CLI command to schedule a reboot of the SRX Series device:

  1. Enter request system reboot <at time> <in minutes> <media type> <message “text”> command.
  2. Select the options listed in Table 129.

Table 129: CLI Request System Reboot Command Options

Option

Description

none

Same as at now (reboots the device immediately).

at time

Specifies the time at which to reboot the device . You can specify time in one of the following ways:

  • now—Reboots the device immediately.

    This is the default.

  • +minutes—Reboots the device in the number of minutes from the current time.
  • yymmddhhmm—Reboots the device at the absolute time on the date you specify. Enter the year, month, day, hour (in 24-hour format), and minute.
  • hh:mm—Reboots the device at the absolute time 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 current time to reboot the device. This option is a synonym for the at +minutes option.

media type

Specifies the boot device to boot the device from:

  • internal—Reboots from the internal media. This is the default.
  • usb—Reboots from the USB storage device.
  • external—Reboots from the external compact flash. This option is available on the SRX650 services gateway.

message "text"

Provides a message to display to all system users before the device reboots.

Example

request system reboot at 5 in 50 media internal message stop

Halting the SRX Series Services Gateways (CLI Procedure)

You can use the request system halt CLI command to halt the SRX Series device:


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

Example

request system halt at 5 in 50 media internal message halt-now

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 130 describes the request system halt command options.

Table 130: 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 current time.
  • 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 current time 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 device from after the halt:

  • interbal—Reboots from the internal media. This is the default.
  • usb—Reboots from the USB storage device.
  • external—Reboots from the external compact flash. This option is available on the SRX650 services gateway.

message "text"

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

Bringing Chassis Components Online and Offline on SRX Series Services Gateways

You can use the CLI request commands to bring all chassis components (except Power Entry Modules and fans) online and offline.

To bring chassis components online and offline, enter the following from the request chassis CLI command.

user@host> request chassis <fru> slot <slot#> pic <pic#> offlineuser@host> request chassis <fru> slot <slot#> pic <pic#> online

<fru> in the request chassis command can be any of the following:

Example

user@host> request chassis fpc slot 1 online

Chassis Control Restart Options on SRX Series Services Gateways

You can restart the chassis using the restart chassis-control CLI command with the following options: