华为交换机通过FTP刷系统

交换机启动故障 或者忘记密码:

华为的系统是.cc的文件需要到华为官方下载,一般需要找一台没有过保的华为交换机注册一个华为账号,才能下载;

笔记本安装FTP工具,比如:3cdaemon,将.cc文件放到FTP目录下;

笔记本用网线和交换机直连;

重启交换机 出现下列提示后 Ctrl+B 进入维修模式;

Press Ctrl+B or Ctrl+E to enter BootLoad menu: 1

Password:

    BootLoad Menu

    1. Boot with default mode    正常启动
     2. Enter startup submenu
     3. Enter ethernet submenu    设置ftp/
     4. Enter filesystem submenu
     5. Enter password submenu
     6. Clear password for console user
     7. Reboot
    (Press Ctrl+E to enter diag menu)

Enter your choice(1-7):

选择3

Enter your choice(1-7): 3

    ETHERNET  SUBMENU

    1. Download file to Flash through ethernet interface   设置好ftp服务后选择进行更新
     2. Modify ethernet interface boot parameter            选项设置ftp服务器地址
     3. Return to main menu

Enter your choice(1-3): 2


    BOOTLINE  SUBMENU

    1. Set TFTP protocol parameters
     2. Set FTP protocol parameters      设置ftp
     3. Set SFTP protocol parameters
     4. Return to ethernet menu

Enter your choice(1-4): 2

Warning: FTP is not a secure protocol. SFTP is recommended.

'.' = clear field;  '-' = go to previous field;  'Ctrl+D' = quit

Load File name      : s5730_dft.cc      将下载的文件名更改成这个名字
Switch IP address   : 192.168.0.111     交换机的ip地址 这个地址在ETH口
Server IP address   : 192.168.0.100     这是提供ftp服务器的地址
FTP User Name       : admin             用户名
FTP User Password   :                   密码是隐藏看不见的

Starting to write BOOTLINE into flash ... done   提示配置完成

Enter your choice(1-4): 4 返回上一级页面

    ETHERNET  SUBMENU

    1. Download file to Flash through ethernet interface
     2. Modify ethernet interface boot parameter
     3. Return to main menu

Enter your choice(1-3): 1 选择1 进行系统更新

Do you want to overwrite the file : s5730_dft.cc?
Yes or No(Y/N): y
Use ftp to download file : s5730_dft.cc , please wait for a moment.   等待完成 即可

完成后断电重启交换机

posted @ 2025-06-20 11:13  Ojox  阅读(137)  评论(0)    收藏  举报