reset slot slot-id [ cold ]
Only the S5735-L24P4S-A, S5735S-L24P4S-A, S5735S-L24P4S-MA, S5735-L24P4X-A, S5735S-L24P4X-A, S5735-S4T2X-IA150G1, S5735-S8P2X-IA200G1 and the S5735, S5731-H, S5731S-H, S5731-S, S5731S-S, S5732-H, S6730-S, S6730S-S, S6730S-H, and S6730-H that use a 1000 W DC power module (PDC1000S12-DB) or 1000 W AC PoE power module (PAC1000S56-CB) support cold reset. Other devices that support the cold parameter do not support cold reset.
The cold parameter is supported only in the user view.
Parameter | Description | Value |
---|---|---|
slot-id |
Specifies a slot ID. |
The value must be set according to the device configuration. |
cold |
Indicates cold reset. |
- |
Usage Scenario
In a stack, you can restart stack members. Restarting a stack member will interrupt services on this device, but the configuration of this device still exists.
Precautions
Before commands have been executed, if a master/standby switchover occurs because the reset slot command is used to reset the master switch, you need to execute the commands that have not been executed on the new master switch again after the standby switch becomes the new master switch.
# Restart the switch with the slot ID 0.
<HUAWEI> reset slot 0
Warning: Confirm to reset slot 0? [Y/N]:y
Info: The board 1 is reset successfully.
# Perform a cold reset on the switch with the slot ID 0.
<HUAWEI> reset slot 0 cold
Warning: The device in slot 0 will be cold reset. Ensure that the configuration
has been saved. Otherwise, the configuration will be lost after cold restart. Co
ntinue? [Y/N]: y
Info: Succeeded in cold resetting the device in slot 0.