Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to reboot (restart), halt, or shut down the EX Series switch

0

0

Article ID: KB11356 KB Last Updated: 22 Sep 2020Version: 8.0
Summary:

This article describes the recommended methods for turning off or rebooting the EX Series switch.

Solution:

The information below describes the recommended method to safely turn off, halt, or restart the EX-series switch.

To Power Off the switch from CLI:

Use the CLI command request system power-off from operational mode, which displays a message to the CLI, then disconnect the switch from electrical power.  This command will also notify other users connected to the switch about the operation.

To halt the switch from CLI:

  1. Use the CLI command request system halt. On the console or other management device connected to the switch (to the master switch in a virtual chassis), enter the CLI operational mode and issue the following command to shut down the switch software:

    user@switch> request system halt
  2. Wait until a message appears on the console confirming that the operating system has halted. For information about the request system halt command, see the Junos OS command documentation.

  3. Disconnect power from the switch by pulling out the plug end of the power cord connected the power source outlet.  

To restart the switch from the CLI:

Use the command request system reboot. This command will also notify other users connected to the switch about the operation and will restart the device in one minute.

To restart the switch from the front panel:

  1. From the LCD front panel menu push the Menu button.
  2. When the MAIN MENU (Maintenance menu) appears, press the Enter button.
  3. Select the SYSTEM REBOOT option and press the Enter button.
  4. To exit the menu without rebooting the switch, press the Menu button again.
Note: On EX3200, EX3300. EX4200 and EX4500 switches, the CLI command request system power-off behaves the same as request system halt.

Please check the following output from EX4200 switch.

LAB Output:

CLI command: request system halt

root@lab1> request system halt    >>>>>>>>>
 
warning: This command will halt all the members.
If planning to halt only one member use the member option
Halt the system ? [yes,no] (no) yes
*** System shutdown message from root@ lab1 ***
System going down in 1 minute
Shutdown at Thu Oct  8 09:58:18 2015.
[pid 32448]
message sent
 
{master:0}
root@lab1>
*** System shutdown message from root@lab1 ***
System going down in 30 seconds
*** FINAL System shutdown message from root@lab1 ***
System going down IMMEDIATELY
 
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...2 2 1 2 1 1 0 1 1 1 0 0 0 0 done
 
syncing disks... All buffers synced.
Uptime: 13d19h54m24s
recorded reboot as normal shutdown
The operating system has halted.
Please press any key to reboot.  >>>> A console connection is needed. Press any key to reboot the device.

CLI command: request system power-off

root@lab1> request system power-off      >>>>>>>>>>
warning: This command will halt all the members.
If planning to halt only one member use the member option
Power Off the system ? [yes,no] (no) yes
*** System shutdown message from root@lab1 ***

System going down in 1 minute

Shutdown at Thu Oct  8 10:02:57 2015.
[pid 1394]

{master:0}
root@lab1>
*** System shutdown message from root@ ***
System going down in 30 seconds
*** FINAL System shutdown message from root@lab1 ***

System going down IMMEDIATELY

OWaiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...2 2 2 2 1 1 1 1 0 1 1 1 1 0 0 0 0 done

syncing disks... All buffers synced.
Uptime: 4m16s
recorded reboot as normal shutdown
The operating system has halted.                          
Please press any key to reboot.  >>>> A console connection is needed. Press any keys to reboot the device.
Modification History:
2019-04-09: Added 'halt' information.
2020-09-21: Minor, non-technical edit.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search