system power-cycle-db-shutdown

Shuts down the chassis configuration database gracefully without restarting the device for a planned power-cycle.

Syntax

system power-cycle-db-shutdown

Command Default

The chassis configuration database is running normally.

Modes

Global configuration mode

Usage Guidelines

When devices encounter abrupt power cycles, there have been rare cases of device configuration database corruption. This database corruption causes the device to reboot and reverts the device to the startup configuration.

In the case of scheduled power-cycles, it is recommended to use the system power-cycle-db-shutdown command before actual restarting the device.

This command shuts down the chassis configuration database, without rebooting the device. All commands (except for the reload command) are blocked on this node until the node is restarted.
Note

Note

Suppose the configuration database on a switch gets corrupted due to an abrupt power cycle, run the firmware install or the write erase commands to clean up the corrupted files and/or to reinstall the firmware.

The node is not fully functional until it restarts. This command should be run as part of any planned power outages.

Examples

device# configure terminal
device(config)# system power-cycle-db-shutdown 
Are you sure you want to shutdown database for power-cycle? [y/n]: y
2017/02/09-13:02:42, [DCM-1015], 51,, INFO, SLX9140, Switch is prepared for power-cycle. No clis will work henceforth. Need power-cycle or reload to make switch fully functional.
Operation Successful.