Cisco CW9800L:Upgrade procedure升级步骤

Cisco CW9800L:Upgrade procedure升级步骤

https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/222431-upgrade-the-catalyst-9800-wlc-quick-st.html#toc-hId-91952961

Upgrade procedure升级步骤

The procedure to upgrade the wireless controller(s) can depend if it is a standlone controller or an HA pair (SSO or N+1 redundancy). In this document, you find a brief overview of the different upgrade procedures.

无线控制器的升级流程取决于其是独立控制器还是高可用性(HA)对(支持SSO或N+1冗余)。本文档将为您提供各类升级流程的简要概述。


Standalone controllers独立控制器

Upgrading a standalone controller requires downtime, since the controller reloads during the upgrade. However, you can reduce this downtime by pre-downloading the image to the access points. This avoids the APs to start downloading the image after the controller is upgraded. This removes the downtime needed for image download, which can take several minutes or hours depending if the APs are on a WAN link and depending on the CAPWAP window size configured. It is generally recommended to pre-download the images to the access points before the upgrade of the controller. 

升级独立控制器需要停机,因为在升级过程中控制器会重新加载。不过,您可以通过预先将镜像下载到接入点来缩短这一停机时间,从而避免在控制器升级完成后,各接入点再开始下载镜像。这消除了因镜像下载而产生的停机时间,而该过程可能需要数分钟甚至数小时,具体时长取决于AP是否通过广域网链路连接,以及所配置的CAPWAP窗口大小。通常建议在升级控制器之前,先将镜像预下载到各接入点。


CLI WorkflowCLI 工作流

This section shows a brief summary of the commands executed to upgrade the controllers. A complete explanation of each commands and all steps is provided:

本节展示了用于升级控制器的命令的简要汇总。每条命令及所有步骤的完整说明如下:

Command命令Description描述
install add file <file>Image downloaded from CCO to the bootflash is loaded to the controller and expanded into packages. No WLC reload at that point.从CCO下载到启动闪存中的镜像会被加载到控制器,并展开为软件包。此时无需重新加载WLC。
ap image predownloadAP images corresponding to v2 image are pre-downloaded to APs与v2镜像对应的AP镜像已预先下载到各AP上
install activateThe activate triggers the upgrade on the controller and reload it激活操作将触发控制器的升级并重新加载
install commitThe commit make the changes permanent提交使更改永久生效

Procedure操作步骤


Here is the procedure to upgrade a standalone controller with AP pre-download. The procedure shows the CLI commands to do the upgrade, and you can also find instructions for the GUI.

以下是使用 AP 预下载功能升级独立控制器的步骤。该步骤展示了用于执行升级的 CLI 命令,您也可以找到基于 GUI 的操作说明。


Step 0 (Optional) : Delete unused files步骤0(可选):删除未使用的文件


You can start by removing inactive files from the controller to free up some space, if needed:

您可以先从控制器中移除不活跃的文件以释放一些空间,如有需要:


install remove inactive

Note: this operation can take several minutes to complete. Do not proceed further until this operation is finished.

注意:此操作可能需要数分钟才能完成。请在该操作完成后方可继续。


Step 1: Upload the image to the controller 步骤1:将镜像上传至控制器


Download the ".bin" image on this link : https://software.cisco.com/download/find/9800. You can upload the downloaded .bin image to the controller using ftp/sftp/tftp/http method this command:

请通过此链接下载“.bin”镜像:https://software.cisco.com/download/find/9800。您可以使用 FTP/SFTP/TFTP/HTTP 等方式,通过以下命令将下载的 .bin 镜像上传至控制器:


copy tftp|ftp|sftp://<SERVER_IP>/<IMAGE_PATH> bootflash:

Note : verify the md5/sha512 hash of the image using this command on the controller :

注意:请在控制器上使用以下命令校验镜像的md5/sha512哈希值:


verify /md5|/sha512 <IMAGE_PATH>

Step 2: Install the image on the controller步骤2:在控制器上安装镜像


The first step is to “install” the image on the controller. This does not require a reload.

第一步是在控制器上“安装”该镜像。此操作无需重启。


install add file bootflash:<IMAGE_NAME>

Once this is completed, you see the image listed as “Inactive” using this command:

完成此操作后,您将看到该镜像通过以下命令显示为“未激活”:


show install summary

At this point, you can start pre-downloading the images to the APs. If you don’t pre-download the APs, then APs have to download the image after the controller upgraded.

此时,您可以开始将镜像预下载到AP上。如果您不进行预下载,那么在控制器升级后,AP将不得不自行下载镜像。


Step 3: Pre-download the image to the APs步骤3:将镜像预下载到AP上


To trigger the AP pre-download, use this command:

要触发AP的预下载,请使用以下命令:


ap image predownload

To verify the pre-download status, you can use the “show ap image” command. You need to wait for all APs to have downloaded the new image before proceeding to next step. This can take several minutes/hours depending on the number of APs you have and depending on the latency between the APs and the WLC.

要验证预下载状态,您可以使用“show ap image”命令。在继续执行下一步之前,您需要等待所有 AP 都已完成新镜像的下载。根据您的 AP 数量以及 AP 与 WLC 之间的网络延迟,这一过程可能需要数分钟甚至数小时。


Step 4: Activate the image步骤4:激活镜像


Once the pre-download is finished, you can “activate” the image. This reloads the controller and the controller boots on the new installed image.

预下载完成后,您可以“激活”该镜像。这将重新加载控制器,并使控制器以新安装的镜像启动。


install activate

Once the WLC is reachable, the APs detects the new image and swaps to the backup partition and reloads on the new version.

一旦WLC可访问,AP便会检测到新映像,并切换至备用分区,然后重新加载新版本。


On the 9800 controller, you can verify the new image is in U state (Activated & Uncommitted). If you want to make the new image persistent, you need to commit the image, otherwise the controller reloads once the auto-abort timer is over (default is 6 hours).

在9800控制器上,您可以验证新映像是否处于U状态(已激活且未提交)。若要使新映像永久生效,您需要提交该映像;否则,一旦自动中止计时器到期(默认为6小时),控制器将重新启动。


Step 5: Commit the image步骤5:提交镜像


To commit the image, perform this command:

要提交镜像,请执行以下命令:


install commit


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

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » Cisco CW9800L:Upgrade procedure升级步骤

作者: 小编


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

一切源于价值!

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

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!