华为交换机 S2700 / S5700 恢复密码、清空配置操作记录

一、恢复密码

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。

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

  • 4
    点赞
  • 72
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值