Skip to content

Instantly share code, notes, and snippets.

@MarshalW
Last active November 24, 2020 01:27
Show Gist options
  • Save MarshalW/c2f0310fd66f5454fc772e59b095ce16 to your computer and use it in GitHub Desktop.
Save MarshalW/c2f0310fd66f5454fc772e59b095ce16 to your computer and use it in GitHub Desktop.
华为S5700交换机忘记密码和恢复出厂设置

华为S5700交换机恢复出厂设置

连接设备

需要连接上一条免驱动的console rj45转usb的连接线。

查看设备:

ls /dev/ | grep usb

连接设备命令:

screen -L /dev/cu.usbserial-A92FZ4PU  9600 –L

忘记密码的操作

  • 连接后,启动交换机,ctrl+b进入bootrom menu
  • 选择7,清空密码
  • 选择1,默认模式启动
  • 根据提示输入新的密码

恢复出场设置

  • 执行命令 <Quidway>reset save,问是否清除配置文件,输入y
  • 执行命令 <Quidway>reboot,问保存配置文件以便再启动使用,输入n,问系统将重启是否继续,输入y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment