How to Remove All Configuration of Huawei Switch

Today we will discuss how to factory reset Huawei Switch. We will try to reset it in 2 procedures. Below are the procedures step by step, follow them.


Step-1:

Procedure-1:

If you want to delete all configurations of the Huawei Switch, the first thing to do is to delete the vrpcfg.cfg file, which is located in the flash memory of the switch. Then the switch must be restarted. You can never delete the vrpcfg.cfg file while it is running, because it is used by the system while it is running. So you have to restart the switch.


Follow the steps below to delete that file:

1. First of all, restart the switch and press Ctrl+B to enter the BootROM menu, then you need to enter the default password huawei/Admin@heawei.com.

2. Press Ctrl+Z to enter the hidden menu, then you need to choose option 2 to enter flash memory.

3. Then Finally delete the vrpcfg.cfg file from the flash memory, then restart the switch.


Step-2:

Procedure-2:

To delete all configurations of the Huawei switch, type reset save-configuration then confirm and reboot the switch. Follow the tutorials below.

Follow the steps below to delete all Configuration of Huawei Switch:

<Dhaka-01> reset save-configuration
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.
Jun 28 2023 00:06:25-05:13 Dhaka-01 %%01CFM/4RST_CFG(1) [0]: The user chose Y when deciding whether to reset the saved configuration.
Info: Succeeded in clearing the configuration in the device.

<Dhaka-01>reboot
Info: The system is now comparing the configuration, please wait. Warning: All the configuration will be saved to the configuration file for the next startup:, Continue? [Y/N]: N

System will reboot! Continue?[Y/N]: Y
Jun 28 2023 00:07:25-05:13 Dhaka-01 %%01CMD/4/REBOOT (1)[2]: The user chose Y when deciding whether to reboot the system. Info: System is rebooting, please wait...

Jun 28 2023 00:07:25-05:13 Dhaka-01 %%01SRM/4/MSTRSCURST (1) [3]: Master SCU is reset.
Jun 28 2023 00:07:25-05:13 Dhaka-01 %%01SRM/4/ResetReason (1) [4]: Board reset by VRP command or net manager.

System reboot at 07:28

BIOS LOADING...
Copyright (C) 2008-2011 HUAWEI TECH CO., LTD.
(Ver149, Jun 28 2023, 11:05:20)

Press Ctrl+B to enter BOOTROM menu...0
Auto-booting...
Decompressing Image file ... done

There is no record in region Exception.

PPI DEV SysInit..................OK

Hard system init.................OK
Begin to start the system, please waiting......

VOS VFS init.................OK
Startup File Check...........OK
VOS monitor init.............OK
CFM init advance.............OK
PAT init.....................OK
VOS VFS init hind............OK

VRP_Root begin...
VRP_InitializeTask begin...
Init the Device Link.........OK
CFG_PlaneInit begin..........OK
CFM_Init begin...............OK
CLI_CmdInit begin............OK
VRP_RegestAllLinkCmd begin...OK
Create task begin...........
task init begin...


Recover configuration...OK!
Press ENTER to get started.


Please configure the login password (6-16)
Enter Password:
Confirm Password:
<Quidway> <Quidway>


Conclusion:

From the above discussion, we understand how to delete the configuration of the Huawei Switch very easily. Hope everyone understands. If anyone doesn't understand then comment I will support you.

Post a Comment

Previous Post Next Post

Contact Form