shutdown
This command restarts or shuts down the appliance.
Syntax
shutdown
shutdown reboot [seconds]
shutdown halt [seconds] (deprecated)
shutdown poweroff [seconds]
Parameters
reboot
- Shuts down and restarts the appliance.
halt
- Shuts down the appliance without restarting. The power to the appliance remains on. This keyword is deprecated. Use poweroff instead.
poweroff
- Stops the appliance and turns off the power.
- seconds
- Specifies the number of seconds before the appliance starts the shutdown operation. Enter a value in the range 0 - 65535. The default value is 10.
Guidelines
The shutdown command shuts down, or shuts down and restarts the appliance. Without parameters, the command restarts the appliance after waiting ten seconds.
The appliance restarts with the startup configuration that is specified by the boot config command and the startup firmware image that is specified by the boot image command. Without a designated startup configuration or firmware image, the appliance restarts with the configuration and firmware image that were active when you issued the shutdown command.
Examples
- Wait 10 seconds to shut down and restart the appliance.
# shutdown reboot Reboot in 10 second(s). #
- Wait 1 minute to shut down and turn off the appliance.
# shutdown poweroff 60 Shutdown in 60 second(s). #