Reboot and shutdown the Junos device

In this lesson, I am going to show you how you can reboot and shutdown the Junos device.

Let’s start with the reboot:

root@R1> request system reboot ?

Possible completions:

<[Enter]>            Execute this command

at                   Time at which to perform the operation

both-routing-engines  Reboot both the Routing Engines

in                   Number of minutes to delay before operation

media                Boot media for next boot

message              Message to display to all users

other-routing-engine  Reboot the other Routing Engine

|                    Pipe through a command

root@R1> request system reboot

This is the command that you can use. You can also use “at” by end of the command and schedule a system reboot as the following:

root@R1> request system reboot at 2024-08-04

Similarly, you can do shutdown to the Junos device, that means that you power it off.

Let me show you how this can be done:

root@R1> request system power-off ?

Possible completions:

<[Enter]>            Execute this command

at                   Time at which to perform the operation

in                   Number of minutes to delay before operation

media                Boot media for next boot

message              Message to display to all users

|                    Pipe through a command

root@R1> request system power-off

The last thing that I want to show you, is that in case there is a user logging in to the Juniper device and you want to log him out as being on the root level, this is possible using the following command:

root@R1> request system logout ?

Possible completions:

<[Enter]>            Execute this command

all                  Logout all sessions owned by user

pid                  Management process ID for user

terminal             Terminal user is logged in to

user                 Name of user

|                    Pipe through a command

You can choose the Process id if you know it or just the user account and he will be logged out.

This is all what I wanted to show you here, hope was informative and see you in the next chapter.

Course Content

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

About