一、恢复密码

1、Console插到交换机
2、加电重启 按住ctrl+b
3、输入密码Admin@huawei.com 
4、按7选项
5、在按1选项;自动重启
6、重新设置密码即可

二、 清空配置

5700系列交换机目前暂无reset按键,清空配置的方法如下:

方法一:通过命令行恢复

1.系统视图下输入

[S5348TP-SI]undo startup saved-configuration

取消下次启动时已保存的配置启动

2.用户视图下输入

<S5348TP-SI>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

清除保存的配置,系统会提示是否删除,选择Y

3.用户视图下输入

<S5348TP-SI>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

Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.

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

重启设备,此时系统会提示两次选择,第一次提示是否保存当前配置,选择N,第二次提示是否重启,选择Y。

重启完成后设备即恢复出厂设置。

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐