当前位置: 首页 > article >正文

C9800 bundle转换为install

1.基本说明

We recommend that you use install mode for the software upgrade.

如果模式是Bundle模式,可以通过如下操作转换:

确认如下命令:

show version

show version | include Installation mode

install remove inactive

2.操作步骤

2.1.拷贝镜像

Device# copy tftp://xx.x.x.x//C9800-universalk9_wlc.xx.xx.xx.SSA.bin flash:

Destination filename [C9800-universalk9_wlc..xx.xx.xx..SSA.bin]?
Accessing tftp://xx.x.x.x//C9800-universalk9_wlc.xx.xx.xx.SSA.bin...
Loading /C9800-universalk9_wlc.xx.xx.xx.SSA.bin from xx.x.x.x (via GigabitEthernet0/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 601216545 bytes]
601216545 bytes copied in 50.649 secs (11870255 bytes/sec)

2.2.查看镜像

Device# dir flash:*.bin

Directory of bootflash:/*.bin

On Active

Directory of bootflash:/
 
   12  -rw-  1231746613  Jun 11 2020 23:15:49 +00:00  C9800-universalk9_wlc.BLD_POLARIS_DEV_LATEST_20200611_101837.SSA.bin
   17  -rw-  1232457039   Jun 9 2020 21:14:40 +00:00  C9800-universalk9_wlc.BLD_POLARIS_DEV_LATEST_20200609_031801.SSA.bin
   21  -rw-  1219332990  Jun 10 2020 02:06:14 +00:00  C9800-universalk9_wlc.BLD_V173_THROTTLE_LATEST_20200608_003622_V17_3_0_183.SSA.bin
   18  -rw-  1232167230   Jun 8 2020 02:42:22 +00:00  C9800-universalk9_wlc.BLD_POLARIS_DEV_LATEST_20200607_002322.SSA.bin
24811823104 bytes total (16032391168 bytes free)
 
 
On Standby
Directory of stby-bootflash:/*.bin
 
Directory of stby-bootflash:/
 
   18  -rw-  1232167230   Jun 8 2020 02:42:22 +00:00  C9800-universalk9_wlc.BLD_POLARIS_DEV_LATEST_20200607_002322.SSA.bin
   20  -rw-  1231746613  Jun 11 2020 23:15:49 +00:00  C9800-universalk9_wlc.BLD_POLARIS_DEV_LATEST_20200611_101837.SSA.bin
   17  -rw-  1232457039   Jun 9 2020 21:14:40 +00:00  C9800-universalk9_wlc.BLD_POLARIS_DEV_LATEST_20200609_031801.SSA.bin
   16  -rw-  1219332990  Jun 10 2020 02:06:14 +00:00  C9800-universalk9_wlc.BLD_V173_THROTTLE_LATEST_20200608_003622_V17_3_0_183.SSA.bin
26462998528 bytes total (17686335488 bytes free)

2.3.修改Boot参数

Device(config)# boot sys flash bootflash:packages.conf

2.4.保存并查看

Device(config)# write memory

Device# show boot

BOOT variable = bootflash:packages.conf,12;
CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x2102
 
Standby BOOT variable = bootflash:packages.conf,12;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable does not exist
Standby Configuration register is 0x2102

2.5.转换安装模式

Device# install add file bootflash:C9800-universalk9_wlc.xx.xx.xx.SPA.bin activate commit

install_add_activate_commit: START Thu Dec 6 15:43:57 UTC 2018
Dec 6 15:43:58.669 %INSTALL-5-INSTALL_START_INFO: R0/0: install_engine: Started install
one-shot bootflash:C9800-xx-universalk9.xx.xx.xx.SPA.bin
install_add_activate_commit: Adding PACKAGE

--- Starting initial file syncing ---
Info: Finished copying bootflash:C9800-xx-universalk9.xx.xx.xx.SPA.bin to the selected
chassis
Finished initial file syncing

--- Starting Add ---
Performing Add on all members
[1] Add package(s) on chassis 1
[1] Finished Add on chassis 1
Checking status of Add on [1]
Add: Passed on [1]
Finished Add

Image added. Version: xx.xx.xx.216
install_add_activate_commit: Activating PACKAGE
Following packages shall be activated:
/bootflash/C9800-xx-rpboot.xx.xx.xx.SPA.pkg
/bootflash/C9800-xx-mono-universalk9.xx.xx.xx.SPA.pkg
This operation requires a reload of the system. Do you want to proceed? [y/n]y
--- Starting Activate ---
Performing Activate on all members
[1] Activate package(s) on chassis 1
--- Starting list of software package changes ---
Old files list:
Removed C9800-xx-mono-universalk9.BLD_Vxxxx_THROTTLE_LATEST_20181022_153332.SSA.pkg
Removed C9800-xx-rpboot.BLD_Vxxxx_THROTTLE_LATEST_20181022_153332.SSA.pkg
New files list:

Added C9800-xx-mono-universalk9.xx.xx.xx.SPA.pkg
Added C9800-xx-rpboot.xx.xx.xx.SPA.pkg
Finished list of software package changes
[1] Finished Activate on chassis 1
Checking status of Activate on [1]
Activate: Passed on [1]
Finished Activate

--- Starting Commit ---
Performing Commit on all members
[1] Commit package(s) on chassis 1
[1] Finished Commit on chassis 1
Checking status of Commit on [1]
Commit: Passed on [1]
Finished Commit

Install will reload the system now!
SUCCESS: install_add_activate_commit Thu Dec 6 15:49:21 UTC 2018
Dec 6 15:49:21.294 %INSTALL-5-INSTALL_COMPLETED_INFO: R0/0: install_engine: Completed
install one-shot PACKAGE bootflash:C9800-xx-universalk9.xx.xx.xx.SPA.bin

执行 install add file activate commit 命令后系统会自动重新加载。 您不必手动重新加载系统。如果升级失败,则需要在再次尝试升级过程之前进行清理。 由于磁盘空间不足、提取镜像验证失败、系统崩溃等原因,可能会导致升级失败。 如果在升级过程中出现系统故障,请等待系统恢复运行并检查系统镜像版本。

  • 如果是新镜像,请检查系统的稳定性和功能性,并决定是提交并完成升级过程还是放弃升级过程。
  • 如果是新镜像,请执行清理操作并重新尝试升级过程。

2.6.验证

Click yes to all the prompts.
Verify the boot mode using the command: show version
Device# show version | in Installation mode is

Installation mode is INSTALL


http://www.kler.cn/a/375702.html

相关文章:

  • CSS3简介(一)
  • 【JavaEE初阶 — 多线程】Thread类的属性
  • C++ 复习记录(个人记录)
  • Python画图3个小案例之“一起看流星雨”、“爱心跳动”、“烟花绚丽”
  • stm32cubeIde 使用笔记
  • c# WinForm弹出窗体时不获取焦点方法
  • 测试外包服务 | 从人员外包到测试工具、测试平台,提供全方位的测试解决方案~
  • 如何面对鸿蒙系统
  • Vite学习之模式
  • Edge-labeling graph neural network for few-shot learning in CVPR论文笔记
  • docker 可用镜像服务地址(2024.10.31亲测可用)
  • stm32103c8t6 pwm驱动舵机(SG90)
  • Python实现Tonelli-Shanks算法
  • stm32 如何生成.bin文件-keil fromelf.exe使用
  • 鸿蒙系统不断发展,有与安卓、iOS 形成三足鼎立之势
  • 什么是SMO算法
  • 聊一聊Elasticsearch的基本原理与形成机制
  • java毕业设计之教学资源库系统的设计与实现(springboot)
  • HTML 基础概念:什么是 HTML ? HTML 的构成 与 HTML 基本文档结构
  • 「C/C++」C++STL容器库 之 std::tuple 多变元组
  • JS中的正则表达式
  • 第三百零七节 Log4j教程 - Log4j日志格式、Log4j日志到文件
  • 保姆级教程 | 全流程免费:合并多份长宽不同的PDF成相同大小并进行瘦身
  • InnoDB存储引擎对MVCC实现
  • RK3568开发板Openwrt文件系统构建
  • 运维监控丨16条常用的Kafka看板监控配置与告警规则