restart (Junos OS Evolved)
Syntax
restart application-name <gracefully | immediately | soft>
Description
Restart a Junos OS Evolved process.
Never restart a software process unless instructed to do so by a customer support engineer. A restart might cause the router or switch to drop calls and interrupt transmission, resulting in possible loss of data.
For Junos OS Evolved, the restart
command also triggers a restart of the
dependent applications (apps). To inform you which dependent apps restarted, the following
message appears in the log whenever you use the restart
command:
App restarting <app name>. Related apps that may be impacted -
<related-app name>
. For example: Jan 14 11:42:08 RE0 sysman[5100]:
SYSTEM_APP_RESTARTING_WITH_RELAPPS_EVENT: App restarting re0-ifmand. Related apps that may
be impacted - aggd
Starting
in Junos OS Evolved Release 20.1R1, if you specify the restart
app-name
command and the application is not supposed to run
on the platform, the error message is as follows:
user@device> restart fabspoked-pfe Restart failed for fabspoked-pfe on node re0. Application is not running.
The restart
command expands all application names, including applications
not required for the current platform. Therefore, you could try to restart an application
that is not running for the current platform. This error message communicates that the
restart failed because the application was not running on the system.
Options
application-name | Specify the name of the application you want to restart. Use the show system
applications operational mode command for information about what applications
are running. |
none |
Same as |
gracefully |
(Optional) Gracefully restart the software process. |
immediately |
(Optional) Immediately restart the software process. |
soft |
(Optional) Re-read and reactivate the configuration without completely restarting the software processes. For example, BGP peers stay up and the routing table stays constant. Omitting this option results in a graceful restart of the software process. |
Required Privilege Level
reset
Output Fields
When you enter this command, the system provides feedback on the status of your request.
Sample Output
restart interface-control (Junos OS Evolved)
user@host> restart interface-control interface-control restart requested Restarted aggd on re0 Restarted ifmand on re0
Release Information
Introduced in Junos OS Evolved Release 19.1R1.