OcNOS-SP : System Management Guide : System Management Command Reference : Basic Commands : sys-shutdown
sys-shutdown
Use this command to shut down the device gracefully. After giving this command, you can remove the device power cable.
Note: Some of the switch hardwares doesn't support system shutdown. On such devices this command will make the switch to go for a reboot.
Command Syntax
sys-shutdown
Parameters
None
Default
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 1.3.7.
Example
>sys-shutdown
The system has unsaved changes.
Would you like to save them now? (y/n): y
Building Configuration...
[OK]
Are you sure you would like to shutdown the system? (y/n): y
For both of these prompts, you must specify whether to save or discard the changes.
For the unsaved changes prompt:
Would you like to save them now?
 
Last modified date: 10/19/2023