Got it

How to restore switch to default configuration

Latest reply: Oct 12, 2021 05:33:14 303 8 13 0 0

You can run the reset saved-configuration command in the user view to cancel the

configuration file for the next startup so that the switch restarts with the default factory settings.



# Cancel the configuration file for next startup.

<HUAWEI> reset saved-configuration

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

Warning: Now the configuration on the device is being

deleted.

..........

Info: Succeeded in clearing the configuration in the device.

<HUAWEI> reboot

slot 1:

Next startup system software: flash:/basicsoftware.cc

Next startup saved-configuration file: NULL

Next startup paf file: default

Next startup patch package: NULL

Warning: The current configuration will be saved to the next startup saved-confi

guration file. Continue? [Y/N]: n

Warning: The system will reboot. Continue? [Y/N]: y




Good share
View more
  • x
  • convention:

Keep in mind that the reset saved-configuration command will only reset the startup configuration. Other settings (notably stacking configuration) remain in place.

If you want to return a switch to factory-new state then the reset factory-configuration command can be used:

<HUAWEI>reset factory-configuration
Warning: The command will delete all the configurations and files (except the startup, patch, module, and license files) from the device. Continue? [Y/N]:y

Then:
<HUAWEI>display factory-configuration reset-result for confirmation
View more
  • x
  • convention:

Keep in mind that the reset saved-configuration command will only reset the startup configuration. Other settings (notably stacking configuration) remain in place.


If you want to return a switch to factory-new state then the reset factory-configuration command can be used:

 

<HUAWEI>reset factory-configuration

Warning: The command will delete all the configurations and files (except the startup, patch, module, and license files) from the device. Continue? [Y/N]:y

 

Then: <HUAWEI>display factory-configuration reset-result for confirmation


View more
  • x
  • convention:

andersoncf1
MVE Author Created Jun 15, 2021 14:03:35

Thanks for sharing knowledge with us. This is important
View more
  • x
  • convention:

Nice. Keep up the good work.
View more
  • x
  • convention:

A bit late, but this information would be good as part of an FAQ.
View more
  • x
  • convention:

Good job
View more
  • x
  • convention:

AL_93
Moderator Created Oct 12, 2021 05:33:14

Good post. Thank you
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.