通过FTP实现远程加载
用户在本地计算机上运行ftp server,注意配置了用户名和密码,以及正确的文件所在目录(假设ip地址为10.10.110.1)。同时用户通过telnet远程登录到交换机上,利用ftp将主机程序传送到交换机上。

    假设主机程序为switch.bin,bootrom程序为switch.btm。在用户通过telnet远程登录到交换机上后,进行下列操作。

    第一步:通过ftp将软件下载到交换机上。

    [h3c] ftp 10.10.110.1

    trying ...

    press ctrl+k to abort

    connected.

    220 wftpd 2.0 service (by texas imperial software) ready for new user

    user(none):lyt

    331 give me your password, please

    password:

    230 logged in successfully

    [ftp] get switch.bin switch.bin

    [ftp] get switch.btm switch.btm

    [ftp] bye

    第二步,加载bootrom。

    [h3c] boot bootrom switch.btm

    this will update bootrom file on board 0 . continue? [y/n] y

    upgrading bootrom, please wait...

    start enter the drv_bootromupdate

    upgrade bootrom succeeded!

    第三步,加载主机软件。

    [h3c] boot boot-loader switch.bin

    the specified file will be booted next time!

    [h3c] display boot-loader

    the app to boot at the next time is: flash:/switch.bin

    [h3c] reboot(重启前请确认其他配置是否保存,防止重启后造成配置丢失)

    通过以上操作即可完成bootrom和主机软件的加载。需要注意的是,加载主机软件必须通过reboot命令重起交换机才能使加载成功。如果flash memory空间不够,可以首先完成bootrom的加载,然后删除flash中的部分程序文件(建议删除已不使用的某主机程序),再将加载用的主机程序通过ftp上载到交换机来完成主机程序的加载。注意,在加载过程中不可断电。

   
H3C H3C S3610-28F 相关内容:报价 | 参数 | 图片 | 论坛 | 评测