本文档介绍运行Cisco IOS® XR软件的路由器的服务包(SP)。
Cisco 建议您了解以下主题:
本文档中的信息基于在思科聚合服务路由器(ASR)9000系列硬件上运行的Cisco IOS XR软件。
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您使用的是真实网络,请确保您已经了解所有命令的潜在影响。
本文档还可用于以下硬件版本:
SP将多个平台相关(PD)和平台无关(PI)软件维护更新(SMU)合并到一个软件包中。
SP的目标是减少独立的SMU管理开销。SP通过单个或少量SP软件包安装信封(PIE)提供相同数量的修复。
Umbrella和复合SMU还在单个PIE中提供多个修复,并且很常见。它们提供位于预定义边界下的修复,通常是特定组件中的PD修复或PI修复。4.2.3复合SMU、C-SMU1和C-SMU2仅包含PD修复。BGP Umbrella SMU仅包含PI BGP组件更改。SP可以消除这些边界,并允许在单个包中提供所有PD和PI修复。
下图说明了与常规SMU相比SP的概述:
SP在思科IOS XR软件版本4.3.2及更高版本支持的维护版本上以平均两个月的间隔正式开发、测试和发布。
SP不需要所有可选软件包(例如MPLS或MGBL)才能安装到系统上。唯一的前提条件是安装Cisco IOS XR。
未安装的可选软件包的修复不会激活。要激活可选软件包的修复,必须在SP之前安装软件包,或在SP安装后安装可选PIE。使用admin show install active detail命令了解SP包含修复的可选PIE。
在本示例中,SP不包含组播(MCAST)PIE的修复,因此可以不出故障地安装PIE:
RP/0/RSP0/CPU0:ASR9K-PE3#admin show install active detail
disk0:asr9k-px-4.3.2.sp-1.0.0
disk0:asr9k-9000v-nV-supp-4.3.2.sp-1.0.0
disk0:asr9k-os-mbi-4.3.2.sp-1.0.0
disk0:iosxr-service-4.3.2.sp-1.0.0
disk0:asr9k-fpd-4.3.2.sp-1.0.0
disk0:iosxr-mgbl-4.3.2.sp-1.0.0
disk0:iosxr-mpls-4.3.2.sp-1.0.0
disk0:asr9k-fwding-4.3.2.sp-1.0.0
disk0:iosxr-routing-4.3.2.sp-1.0.0
disk0:iosxr-infra-4.3.2.sp-1.0.0
disk0:asr9k-base-4.3.2.sp-1.0.0
SP具有重新启动类型,这些类型始终设置为“需要重新加载”。
每个SP都有一个readme.txt文件,其中记录了内容、SMU的影响、包含的分布式缺陷跟踪系统(DDTS)以及被取代的其他SP。
在安装SP后,使用admin show install package <sp-package>命令,或在SP PIE的安装添加之前在SP PIE上使用admin show install pie-info <sp-pie>命令,以识别SP内容。
SP由二进制文件及其关联的readme.txt文件组成,其中包含任何相关的警告。示例包括:
命名约定遵循平台类型版本SP版本文件格式:
SP位于Cisco.com(CDC)的下载软件中心。
要下载SP,请完成以下步骤:
SP大约每8到10周交付一次,在发布的整个生命周期内。
本节介绍SMU的代管人和先决条件。
了解SP承诺使用特定于该版本的SP软件产品组合(LU),这与同一版本的SMU LU不同,这一点非常重要。因此,在SP上部署SMU时,无需仔细考虑SMU构建流程,这是一项挑战;SMU元数据必须在SP的知识下编程。
SP是累计构建的,每个新SP版本在给定版本中完全取代之前的SP。无需安装该版本以前的SP,即可安装较新的SP。此外,即使SP版本存在一些差距,SP也可以相互安装,而不会出现任何问题。
以下是识别SP替代者所使用的两种技术:
5.1.1之前所有版本的SP要求安装必需的SMU(CSCul58246)及其前提条件,以便系统了解服务包PIE。在5.1.1中,此信息已包含在基本代码中,因此不需要前提条件smu。
要应用SP,请完成以下三个操作步骤:
本示例提供备用SP安装方法。
RP/0/RSP0/CPU0:ASR9K-PE3(admin)#install add
disk0:/asr9k-px-4.3.2.sp-1.0.0.pie activate
Fri Feb 7 14:01:31.675 UTC
Install operation 37 '(admin) install add /disk0:/asr9k-px-4.3.2.sp-1.0.0.pie
activate' started by user 'cisco' via CLI at 14:01:31
UTC Fri Feb 07 2014.
Part 1 of 2 (add software): Started
The install operation will continue asynchronously.
RP/0/RSP0/CPU0:ASR9K-PE3(admin)#
Install operation 37 '(admin) install add /disk0:/asr9k-px-4.3.2.sp-1.0.0.pie
activate' started by user 'cisco' via CLI at 14:01:31
UTC Fri Feb 07 2014.
Part 1 of 2 (add software): Started
Info: The following package is now available to be activated:
Info:
Info: disk0:asr9k-px-4.3.2.sp-1.0.0
Info:
Info: The package can be activated across the entire router.
Info:
Part 1 of 2 (add software): Completed successfully
Part 2 of 2 (activate software): Started
Info: This operation will reload the following nodes in parallel:
Info: 0/RSP0/CPU0 (RP) (SDR: Owner)
Info: 0/0/CPU0 (LC) (SDR: Owner)
Info: 0/1/CPU0 (LC) (SDR: Owner)
Info: 0/2/CPU0 (LC) (SDR: Owner)
Info: 0/3/CPU0 (LC) (SDR: Owner)
Info: Install operation 37 is paused as the user must answer a question.
Info: Please continue the operation using one the following steps:
Info: - run the command '(admin) install operation 37 attach
synchronous'and then answer the query.
Info: - run the command '(admin) install attach 37'
and then answer the query.
Proceed with this install operation (y/n)? [y]
Info: Install Method: Parallel Reload
Info: The changes made to software configurations will not be persistent
across system reloads. Use the command '(admin)
Info: install commit' to make changes persistent.
Info: Please verify that the system is consistent following the software
change using the following commands:
Info: show system verify
Info: install verify packages
Part 2 of 2 (activate software): Completed successfully
Part 1 of 2 (add software): Completed successfully
Part 2 of 2 (activate software): Completed successfully
Install operation 37 completed successfully at 14:04:15 UTC Fri Feb 07 2014.
RP/0/RSP0/CPU0:ASR9K-PE3(admin)#
RP/0/RSP0/CPU0:ASR9K-PE3#show install active summary
Sat Feb 8 05:15:55.981 UTC
Default Profile:
SDRs:
Owner
Active Packages:
disk0:asr9k-mini-px-4.3.2
disk0:asr9k-px-4.3.2.sp-1.0.0
如果需要,可以在具有SP1的先前系统的顶部安装SP3。show install active summary命令的输出仅显示SP3为活动SP。示例如下:
RP/0/RSP0/CPU0:ASR9K-PE3#show install active summary
Sat Feb 8 05:15:55.981 UTC
Default Profile:
SDRs:
Owner
Active Packages:
disk0:asr9k-mini-px-4.3.2
disk0:asr9k-px-4.3.2.sp-3.0.0
CSM向用户提供Cisco IOS XR SMU和SP建议,并减少手动搜索、识别和分析设备所需的SMU所需的工作量。CSM可连接到多台设备,并为多个Cisco IOS XR平台和版本提供SMU和SP管理。
CSM是可安装在Microsoft Windows、Macintosh(MAC)和UNIX系统上的独立应用。CSM支持思科运营商路由系统(CRS)和Cisco ASR 9000系列设备。
有关详细信息,请参阅《思科软件管理器用户指南》。