华为交换机初始化出厂设置
1. 在用户视图下输入以下命令:
<sw2>reset saved-configuration #在用户视图输入命令
出现以下提示在后面输入 y 确认即可:
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:
2. 然后再输入命令进行重启:
<sw2>reboot #重启
系统会出现提示,在其后输入 n
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:
系统会继续提示;输入 y 进行重启,重启完成后即恢复出厂设置了
System will reboot! Continue?[Y/N]: