• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

wac380-30命令行升级流程

2020-05-26提问
  • 0关注
  • 1收藏,1502浏览
LINGPC 零段
粉丝:0人 关注:0人

问题描述:

WAC380-30升级方法流程

命令行的方式

最佳答案

粉丝:41人 关注:3人

1、从官网下载软件版本,然后通过tftp的方式将软件版本导入设备flash中

2、在命令行下用boot-loader指定启动文件

3、reboot

暂无评论

1 个回答
已采纳
粉丝:48人 关注:4人

建议WEB升级

技术比较好能够操作的话,命令行升级就和行业款的AC一样了。

(1)       在任意视图下,执行save命令保存设备当前配置信息:

<Sysname> save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[cfa0:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

<Sysname>

(2)       在用户视图下,执行dir命令查看设备当前的文件系统,确认启动文件及配置文件名,以及存储介质的剩余空间,保证存储介质有足够空间放入新的启动文件:

<Sysname> dir

Directory of cfa0:

0 drw-           - Jan 01 1980 00:00:00   diagfile

   1 drw-           - Jan 01 1980 00:00:00   dpi

   2 -rw-         735 Jan 01 1980 00:00:00   hostkey

   3 drw-           - Jan 01 1980 00:00:00   icon

   4 -rw-         393 Jun 13 2077 09:08:33   ifindex.dat

   5 -rw-           0 Jan 01 1980 00:00:00   lauth.dat

   6 drw-           - Jan 01 1980 00:00:00   license

   7 drw-           - Jan 01 1980 00:00:00   logfile

   8 drw-           - Jan 01 1980 00:00:00   pki

   9 drw-           - Jan 01 1980 00:00:00   seclog

  10 -rw-         591 Jan 01 1980 00:00:00   serverkey

  11 -rw-        9388 Jun 13 2077 09:08:34   startup.cfg

  12 -rw-      137234 Jun 13 2077 09:08:34   startup.mdb

  13 -rw-         309 Jan 01 1980 00:00:00   test.py

  14 -rw-   103904256 Jan 01 1980 00:00:00   boot.bin

  15 -rw-    64708608 Jan 01 1980 00:00:00   system.bin

 

4088468 KB total (3724872 KB free)

 

<Sysname>

存储介质剩余存储空间约为3724 MB3724872 KB)。

B.4.2 下载升级软件包至设备

用户可以将设备做为客户端,通过TFTPFTP协议,将升级软件包下载到设备的存储介质上:

1. 使用TFTP协议

在用户视图下,执行tftp get命令将升级软件包wx3520h.ipe下载到设备的CF卡中:

<Sysname> tftp 192.168.1.100 get wx3520h.ipe

Press CTRL+C to abort.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  160M  100  160M    0     0   816k      0  0:03:21  0:03:21 --:--:--  807k

 

<Sysname>

2. 使用FTP协议

(1)       FTP客户端视图下,执行get命令将启动文件wx3520h.ipe下载到设备的CF卡中:

<ftp> get wx3520h.ipe

wx3520h.ipe already exists. Overwrite it? [Y/N]:y

227 Entering passive mode (192,168,1,100,5,20)

125 Using existing data connection

226 Closing data connection; File transfer successful.

37691392 bytes received in 17.7 seconds (2.03 Mbyte/s)

<ftp>

(2)       FTP客户端视图下,执行quit命令,返回到用户视图:

<ftp> quit

221 Service closing control connection

<Sysname>

B.4.3 加载升级软件包

(1)       在用户视图下,执行boot-loader命令设置设备下次启动使用的启动文件为wx3520h.ipe,并指定启动文件类型为main

<Sysname> boot-loader file cfa0:/wx3520h.ipe all main

Verifying the file cfa0:/wx3520h.ipe on slot 1............Done.

H3C WX3520H images in IPE:

  boot.bin

  system.bin

This command will set the main startup software images. Continue? [Y/N]:y

Add images to slot 1.

Decompressing file boot.bin to cfa0:/boot.bin........................................Done.

Decompressing file system.bin to cfa0:/system.bin.........................Done.

Decompression completed.

You are recommended to delete the .ipe file after you set startup software image

s for all slots.

Do you want to delete cfa0:/wx3520h.ipe now? [Y/N]:

The images that have passed all examinations will be used as the main startup so

ftware images at the next reboot on slot 1.

<Sysname>

(2)       在用户视图下,执行display boot-loader命令查看设备的启动程序文件信息:

<Sysname> display boot-loader

Software images on slot 1:

Current software images:

  cfa0:/boot.bin

  cfa0:/system.bin

Main startup software images:

  cfa0:/boot.bin

  cfa0:/system.bin

Backup startup software images:

  cfa0:/boot_backup.bin

  cfa0:/system_backup.bin

<Sysname>

如上显示信息中,下一次启动的程序文件已经设置为

·            boot.bin

·            system.bin

B.4.4 重启设备

(1)       在用户视图下,执行reboot命令重启设备:

<Sysname> reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

<Sysname>

System is starting...

(2)       设备重启后,通过display version命令查看设备的启动文件版本信息是否与升级的启动文件一致。

<Sysname> display version

H3C Comware Software, Version 7.1.064, Customer 5208P01

Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.

H3C WX3520H uptime is 0 weeks, 0 days, 0 hours, 37 minutes

Last reboot reason : Power on

 

Boot image: cfa0:/boot.bin

Boot image version: 7.1.064, Customer 5208P01

  Compiled May 16 2017 16:00:00

System image: cfa0:system.bin

System image version: 7.1.064, Customer 5208P01

  Compiled May 16 2017 16:00:00

 

 

Slot 1

Uptime is 0 week, 1 day, 16 hours, 48 minutes

with 1 RMI XLP 416 1000MHz Processor

4064M bytes DDR3

16M bytes NorFlash Memory

4002M bytes CFCard Memory

 

Hardware Version is Ver.A

CPLD 1 CPLD Version is 004

Basic Bootrom Version is 5.03

Extend Bootrom Version is 5.03

[Subslot 0]H3C WX3520H Hardware Version is Ver.A

 

<Sysname>

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明