sys-shutdown
Use this command to shut down the device gracefully. After giving this command, you can remove the device power cable.
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
Copy
sys-shutdown
Parameters
None
Default
None
Command Mode
Execution mode
Applicability
This command was introduced in OcNOS version 1.3.7.
Examples
Copy
>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?