Got it

How to delete all the configuration of the switch

Created: May 29, 2021 06:59:25Latest reply: Jun 10, 2021 16:44:27 396 2 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

S5700-28C-HI, how to completely delete all the configurations. After I execute reset saved-configuration, the configuration of each port still exists, but I still need to delete one by one. I want to find a command to restore the device to factory settings directly!

Please help me.

Best regard!


Featured Answers

Recommended answer

jason_hu
Admin Created May 29, 2021 07:01:17

Hi friend!

<HUAWEI> reset saved-configuration

Warning: The action will delete the saved configuration in the device.

The configuration will be erased to reconfigure. Continue? [Y/N]:y

Warning: Now clearing the configuration in the device.

Info: Succeeded in clearing the configuration in the device.


At this time, the saved configuration has been cleared successfully, but the running configuration is still there. When rebooting, there will be two prompts. The first prompt is to remind you that the running configuration is inconsistent with the saved configuration. If you want to save it, you must select N at this time. , Do not save, otherwise, it will be unsuccessful.


Choose Y when prompted for the second time.


Info: The system is now comparing the configuration, please wait........

Warning: The configuration has been modified, and it will be saved to the next s

tartup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:N

Info: If want to reboot with saving diagnostic information, input 'N' and then e

xecute 'reboot save diagnostic-information'.

System will reboot! Continue?[Y/N]:Y


Hope to help you!


View more
  • x
  • convention:

All Answers

Hi friend!

<HUAWEI> reset saved-configuration

Warning: The action will delete the saved configuration in the device.

The configuration will be erased to reconfigure. Continue? [Y/N]:y

Warning: Now clearing the configuration in the device.

Info: Succeeded in clearing the configuration in the device.


At this time, the saved configuration has been cleared successfully, but the running configuration is still there. When rebooting, there will be two prompts. The first prompt is to remind you that the running configuration is inconsistent with the saved configuration. If you want to save it, you must select N at this time. , Do not save, otherwise, it will be unsuccessful.


Choose Y when prompted for the second time.


Info: The system is now comparing the configuration, please wait........

Warning: The configuration has been modified, and it will be saved to the next s

tartup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:N

Info: If want to reboot with saving diagnostic information, input 'N' and then e

xecute 'reboot save diagnostic-information'.

System will reboot! Continue?[Y/N]:Y


Hope to help you!


View more
  • x
  • convention:

andersoncf1
andersoncf1 MVE Author Created Jun 10, 2021 16:44:27

Well done! Great explation from Jason
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.