图3-3 RST键示意图
通过Web配置恢复出厂配置- 依次选择“维护 > 系统管理 > 配置文件管理”。
- 单击“恢复出厂配置”。
- 在弹出的“提示”对话框中单击“确定”。
- 系统将重启设备,并清空当前配置。
- 在用户视图下,执行命令factory-configuration reset。
<Huawei> factory-configuration reset
Warning: It will clean the configuration which you have saved. If you have set the factory-configuration by hand, it will start from the modified factory-configuration, else it will start from the original one, when you restart the device. Continue? [y/n]:y //输入y后,将清除设备上的已保存的配置。
Info: Successfully set factory config!
在用户视图下,执行命令reboot,重新启动设备。
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue? [y/n]:y //输入y后,将清空设备下次启动使用的配置文件。
It will take several minutes to save configuration file, please wait..........
......................
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
System will reboot! Continue? [y/n]:y //输入y后,将重启设备。
Info: system is rebooting, please wait...
通过清空配置文件来恢复出厂配置
- 在用户视图下,执行命令reset saved-configuration,清空设备下次启动使用的配置文件。
<Huawei> reset saved-configuration
Warning: This will delete the configuration in the flash memory.
The device configurations will be erased to reconfigure.
Are you sure? (y/n):y //输入y后,将清空设备下次启动使用的配置文件。
Info: Clear the configuration in the device successfully.
在用户视图下,执行命令reboot,重新启动设备。
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue? [y/n]:y //输入y后所有配置都会被保存在下次启动的配置中。
It will take several minutes to save configuration file, please wait..........
......................
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
System will reboot! Continue? [y/n]:y //输入y后,将重启设备。
Info: system is rebooting, please wait...
恢复出厂配置后的必要配置Web方式
当设备恢复出厂配置后,用户可以使用缺省的管理IP地址192.168.1.1/24,及缺省用户名admin,缺省密码Admin@huawei,登录Web网管。登录后可以对设备进行基本配置,如配置Web用户、配置设备的IP地址等以实现远程登录管理。
命令行方式当设备恢复出厂配置后,Console口的登录密码将会恢复为出厂密码。缺省用户名admin,缺省密码Admin@huawei。可通过Console口登录设备,对设备进行基本配置,如配置设备的IP地址等实现远程登录管理。
使用Telnet协议存在安全风险,建议使用STelnet V2登录设备。