1.5 华为无线:华为: 命令行升级AC举例(查看序列号、查看license、查看SN、查看esn)

1.5 华为无线:华为: 命令行升级AC举例(查看序列号、查看license、查看SN、查看esn)

1.png

查看序列号

<AC6508>display license  esn

 Master ESN is: xxxxx


步骤 1     操作步骤

预先配置好FTP服务器,确保升级软件包和新的配置文件已放到FTP路径下。

执行命令display version检查当前版本。

<AC6605> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.160 (AC6605 V200R006C10)
Copyright (C) 2011-2015 HUAWEI TECH CO., LTD
Huawei AC6605 Router uptime is 0 week, 0 day, 0 hour, 9 minutes
 
MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 9 minutes
SDRAM Memory Size    : 4096    M bytes
Flash Memory Size    : 256     M bytes
MPU version information :
1. PCB      Version  : H852V26S VER.B
2. MAB      Version  : 0
3. Board    Type     : AC6605
4. CPLD0    Version  : 259
5. BootROM  Version  : 307
 
PWRCARD I information
PCB      Version : PWR VER  VER.NC

执行命令save保存配置文件。

<AC6605> save
  The current configuration will be written to the device.
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait........
  Configuration file has been saved successfully
  Note: The configuration file will take effect after being activated

备份重要文件。

<AC6605> ftp 192.168.10.11
Trying 192.168.10.11 ...
Press CTRL+K to abort
Connected to 192.168.10.11.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(192.168.10.11:(none)):ac
331 Give me your password, please
Enter password:
230 Logged in successfully
 
[AC6605-ftp] binary
200 Type is Image (Binary)
 
[AC6605-ftp] put vrpcfg.zip vrpcfg-bak.zip
200 PORT command okay
150 "D:\ftp\vrpcfg-bak.zip" file ready to receive in IMAGE / Binary mode
226 Transfer finished successfully.
FTP: 1493 byte(s) sent in 0.246 second(s) 6.06Kbyte(s)/sec.

从服务器获取新的配置文件和升级软件包。

[AC6605-ftp] get vrpcfgnew.zip
200 PORT command okay
150 "D:\ftp\vrpcfgnew.zip" file ready to send (13732 bytes) in IMAGE / Binary mode
 
226 Transfer finished successfully.
FTP: 13732 byte(s) received in 0.150 second(s) 91.54Kbyte(s)/sec.
Now begins to save file, please wait...
File had been saved successfully.
 
[AC6605-ftp] get AC6605V200R007C10SPC100.cc
200 PORT command okay
150 "D:\ftp\AC6605V200R007C10SPC100.cc" file ready to send (67432755 bytes) in IMAGE / Binary mode
/
226 Transfer finished successfully.
FTP: 67432755 byte(s) received in 38.838 second(s) 1736.25Kbyte(s)/sec.
Now begins to save file, please wait................................................................................................
....................................................................................................................................
....................................................................................................................................
....................................................................................................................................
....................................................................................................................................
.........................................................................
File had been saved successfully.
[AC6605-ftp] quit

指定设备启动时加载的配置文件和升级软件包。

<AC6605> startup system-software AC6605V200R007C10SPC100.cc
<AC6605> startup saved-configuration vrpcfgnew.zip

执行命令display startup查看下次启动所用的配置文件和系统软件是否正确。

<AC6605> display startup
  Configed startup system software:          flash:/AC6605V200R006C10.cc
  Startup system software:                   flash:/AC6605V200R006C10.cc
  Next startup system software:              flash:/AC6605V200R007C10SPC100.cc
  Startup saved-configuration file:          flash:/vrpcfg.zip
  Next startup saved-configuration file:     flash:/vrpcfgnew.zip
  Startup license file:                      NULL
  Next startup license file:                 NULL
  Startup patch package:                     NULL
  Next startup patch package:                NULL

重启设备升级,不需再保存配置,因为之前操作步骤中已经保存。

<AC6605> reboot fast
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...

重启完成后,重新登录设备,执行命令display version查看版本。

<AC6605> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AC6605 V200R007C10SPC100)
Copyright (C) 2011-2018 HUAWEI TECH CO., LTD
Huawei AC6605-26-PWR Router uptime is 0 week, 0 day, 0 hour, 10 minutes
 
MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 10 minutes
SDRAM Memory Size    : 4096    M bytes
Flash Memory Size    : 256     M bytes
MPU version information :
1. PCB      Version  : H852V26S VER.B
2. MAB      Version  : 0
3. Board    Type     : AC6605-26-PWR
4. CPLD0    Version  : 259
5. BootROM  Version  : 418
 
PWRCARD I information
PCB      Version : PWR VER  VER.NC

----结束



查看是否升级成功

l   查看本次启动的版本

设备重新启动以后,登录到AC6605,检查本次启动的版本是否是新版本。

<AC6605> display startup
  Configed startup system software:          flash:/AC6605V200R010C00.cc
  Startup system software:                   flash:/AC6605V200R010C00.cc
  Next startup system software:              flash:/AC6605V200R010C00.cc
  Startup saved-configuration file:          flash:/vrpcfgnew.zip
  Next startup saved-configuration file:     flash:/vrpcfgnew.zip
  Startup license file:                      NULL
  Next startup license file:                 NULL
  Startup patch package:                     NULL
  Next startup patch package:                NULL

l   查看设备运行状态

执行命令display device查看设备工作状态,“Normal”表示设备状态正常。

<AC6605> display device
AC6605-26-PWR's Device status:
Slot  Sub Type             Online    Power      Register       Alarm      Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0     -   AC6605-26-PWR    Present   PowerOn    Registered     Normal     Master
-     4   POWER            Present   PowerOn    Registered     Normal     NA

l   查看当前系统软件版本

执行命令display version查看AC6605正在运行的系统软件的版本。

<AC6605> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AC6605 V200R019C00)
Copyright (C) 2011-2018 HUAWEI TECH CO., LTD
Huawei AC6605-26-PWR Router uptime is 0 week, 0 day, 0 hour, 10 minutes
 
MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 10 minutes
SDRAM Memory Size    : 4096    M bytes
Flash Memory Size    : 256     M bytes
MPU version information :
1. PCB      Version  : H852V26S VER.B
2. MAB      Version  : 0
3. Board    Type     : AC6605-26-PWR
4. CPLD0    Version  : 259
5. BootROM  Version  : 580
 
PWRCARD I information
PCB      Version : PWR VER  VER.NC

l   查看系统配置

执行命令display current-configuration查看系统配置,配置是否都已经恢复(配置以实际情况为准,以下省略了具体配置,只做参考)。

<AC6605> display current-configuration
Software Version V200R010C00
#
 http timeout 20
 http secure-server ssl-policy default_policy
 http server enable
...

升级前后配置文件可能会变更,命令差异请参考对应软件版本的版本说明书。也可以在用户视图下执行命令compare configuration比较当前的配置文件与存储设备中保存的配置文件,查看是否存在配置丢失或更改的情况。

l   配置没有丢失的情况:

<AC6605> compare configuration
The current configuration is the same as the next startup configuration file.

l   配置有丢失的情况:

<AC6605> compare configuration
 The current configuration is not the same as the next startup configuration file.
 ====== Current configuration line 6 ======
acl ipv6 number 3000
 rule 5 permit ipv6 source FC00::/7
#
 http timeout 20
 http secure-server ssl-policy default_policy
 ====== Configuration file line 6 ======
 http timeout 20
 http secure-server ssl-policy default_policy
 http server enable
#
authentication-profile name dot1x_authen_profile


华为无线控制器查看序列号

<AC6508>display license  esn

 Master ESN is: xxxxx

华为交换机查看序列号:

<huaweisw>display device manufacture-info
Slot  Sub  Serial-number          Manu-date
- - - - - - - - - - - - - - - - - - - - - -
0     -    21023538358YJ6002001   2018-06-22
<huaweisw>
<huaweisw>
<huaweisw>display device                  
S5700S-52P-LI-AC's Device status:
Slot Sub  Type                Online    Power      Register     Status   Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0    -    S5700S-52P-LI       Present   PowerOn    Registered   Normal   Master
<huaweisw>


无线(列表、list、全)wlanlist、无线list
http://www.zh-cjh.com/wenzhangguilei/223.html

1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » 1.5 华为无线:华为: 命令行升级AC举例(查看序列号、查看license、查看SN、查看esn)

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!