WLC Upgrade

一、升级概述

1、升级背景

设备替换WLC开局。

2、升级路径分析

Upgrade Roadmap

3、升级标准流程

  1. 信息确认:确认升级是否有中间版本、确认设备型号、确认镜像、确认其镜像加载模式。

  2. 镜像下载:根据version信息,前往思科官网下载新镜像。

  3. 上传镜像:建议使用U盘上传(速度快)。

  4. 校验镜像:对上传后的镜像进行MD5校验,防止数据丢失。

  5. 升级:采用install模式进行升级。

二、升级过程

1、升级前准备

  1. 下载镜像

  2. 校验镜像

2、升级过程

本案例以install mode来加载IOS-XE镜像。

[检查当前版本]
WLC#show version 
Cisco IOS XE Software, Version x.y.z1

[查看USB镜像文件]
WLC#dir usb0:
135     -rwx   x  Apr 27 2023 18:02:10 +00:00  C9x00-universalk9_wlc.x.y.z2.SPA.bin

[删除未激活的文件]
WLC#install remove inactive 
install_remove: START 

%INSTALL-5-INSTALL_START_INFO: Chassis 1 R0/0: install_engine: Started install remove
Cleaning up unnecessary package files
No path specified, will use booted path bootflash:packages.conf
Cleaning bootflash:
  Scanning boot directory for packages ... done.
  Preparing packages list to delete ... 
    C9x00-mono-universalk9_wlc.x.y.z1.SPA.pkg
      File is in use, will not delete.
    C9x00-rpboot.x.y.z1.SPA.pkg
      File is in use, will not delete.
    packages.conf
      File is in use, will not delete.
  done.
  
The following files will be deleted:
[chassis 1/R0]:
/bootflash/C9x00-mono-universalk9_wlc.x.y.z1.SPA.bin

Do you want to remove the above files? [y/n]y
[chassis 1/R0]:
Deleting file bootflash:C9x00-mono-universalk9_wlc.x.y.z1.SPA.bin ... done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing Post_Remove_Cleanup on all members
  [1] Post_Remove_Cleanup package(s) on chassis 1/R0
  [1] Finished Post_Remove_Cleanup on chassis 1/R0
Checking status of Post_Remove_Cleanup on [1/R0]
Post_Remove_Cleanup: Passed on [1/R0]
Finished Post_Remove_Cleanup

SUCCESS: install_remove

WLC#

[上传镜像文件至WLC]
WLC#copy usb0:C9x00-universalk9_wlc.x.y.z2.SPA.bin flash:
Destination filename [C9x00-universalk9_wlc.x.y.z2.SPA.bin]? 
Copy in progress...CCCCCCCCCCCCCCCCCCCCCC
123758 bytes copied in 43.098 secs (281502 bytes/sec)

[对镜像文件进行校验]
WLC#verify /md5 flash:C9x00-universalk9_wlc.x.y.z2.SPA.bin
verify /md5 (bootflash:C9x00-universalk9_wlc.x.y.z2.SPA.bin) = fd4bda06b616f2704ec

[设置引导项]
WLC(config)#boot system flash bootflash:packages.conf

[查看引导项]
WLC#show boot
OOT variable = bootflash:packages.conf,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

[升级WLC至版本x.y.z2]
WLC#install add file flash:C9x00-universalk9_wlc.x.y.z2.SPA.bin active commit

[重启后OK]

[检查当前版本]
WLC#show version 
Cisco IOS XE Software, Version x.y.z2