Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


set cli restart-on-upgrade



Release Information

Command introduced before Junos OS Release 7.4.

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


For an individual session, set the CLI to prompt you to restart the router or switch after upgrading the software.


offDisables the prompt.
onEnables the prompt.

Required Privilege Level


List of Sample Output

set cli restart-on-upgrade

Output Fields

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

Sample Output

set cli restart-on-upgrade

user@host> set cli restart-on-upgrade on