Software Installation Guide for Cisco 8000 Series Routers, IOS XR
Release 7.3.x
First Published: 2021-02-01
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
©2021 Cisco Systems, Inc. All rights reserved.
CONTENTS
New and Changed Feature Information 1
CHAPTER 1
New and Changed Software Installation Features 1
Understanding Software Modularity and Installation 3
CHAPTER 2
Software Deliverables and Terminologies 3
Supported Packages 5
Workflow for Installing Cisco IOS XR Software 7
CHAPTER 3
Obtain Data Models for Install Operation 7
Create Repository to Access Files for Installing IOS XR Software 8
Create and Configure a Local Repository 9
Create and Configure an External Repository 10
Upgrade the Current Active Version of Cisco IOS XR Software 12
Upgrade the System 12
Upgrade the System and Install RPMs 14
Install Optional Packages to Provide Additional Functionality 16
Additional Install Operations 19
CHAPTER 4
View the Version of Installed Packages 19
Upgrade the System to Obtain Bug Fixes 21
Downgrade to a Previously Installed Package 25
Roll Back Software to a Previously Saved Installation Point 27
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
iii
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
iv
Contents
CHAPTER 1
New and Changed Feature Information
This table summarizes the new and changed feature information for the System Setup and Software Installation
Guide for Cisco 8000 Series Routers , and tells you where they are documented.
New and Changed Software Installation Features, on page 1
New and Changed Software Installation Features
Where DocumentedChanged in ReleaseDescriptionFeature
Upgrade the System to
Obtain Bug Fixes, on page
21
Release 7.3.1Cisco RPMs can be
installed from one of these
sources - repository name,
repository URL or a local
file path. Previously, to
install RPMs from a TAR
file, the user had to
manually extract the TAR
file and specify the path
to the locally extracted
file to install the RPM.
This feature extends
support to install the
RPMs directly from the
TAR file. Bug fix RPMs
are available as TAR files
on the Software
Download page. The
RPMs can be installed
from the TAR file using
CLI or Yang data model.
Install Cisco RPM
Directly from TAR File
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
1
Where DocumentedChanged in ReleaseDescriptionFeature
Upgrade the Current
Active Version of Cisco
IOS XR Software, on
page 12
Release 7.3.1This feature allows Zero
Touch Provisioning (ZTP)
configuration to be
specified when building a
golden ISO (GISO) using
an initialization (.ini) file.
GISO is a customized
image with the standard
functional components
and additional
configuration files. The
ZTP configuration is
applied on the router
when the current software
version is replaced or
rolled back to a version
with GISO image and is
used whenever ZTP is run
to automatically provision
the router. To build GISO
with the ZTP
configuration, contact
Cisco Support.
ZTP Initialization file for
Golden ISO (GISO)
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
2
New and Changed Feature Information
New and Changed Software Installation Features
CHAPTER 2
Understanding Software Modularity and
Installation
This section describes the concepts and procedures for upgrading or downgrading your system, installing
optional packages, and obtaining bug fixes for the Cisco 8000 series routers.
Cisco 8000 series routers use the XR7 framework. This framework refers to a set of architectural enhancements
to the Cisco IOS XR software around the capablities of modularity, simplified platform infrastructure, and
programmability at various software layers.
The Cisco IOS XR software is composed of a base image (ISO) that provides the XR infrastructure. The ISO
image is made up of a set of packages (also called RPMs). These packages comprise mandatory and optional
RPMs that can be deployed based on specific requirements. This software modularity approach provides a
flexible consumption model that allows you to install a subset of IOS XR packages on devices based on your
individual requirements. All critical components are modularized as packages so that you can select the features
that you want to run on your router. For example, components like CDP and Telnet are modularized as packages
and separated from the base image. These packages can be individually installed, upgraded or removed based
on your requirements.
XR7 install is Dandified Yum- or DNF-based software package manager that is used to install, update, and
remove packages on the RPM-based Linux distributions. The package manager is used to automatically
compute dependencies and determine the actions required to install packages.
Software Deliverables and Terminologies, on page 3
Supported Packages, on page 5
Software Deliverables and Terminologies
This section provides an understanding of the terms that are associated with installing the software.
Package: The primary mechanism for changing the install image on a system. A package, also known
as an RPM, contains the software and metadata. A package is in .rpm format. A package can be mandatory
or optional. Mandatory packages are part of the install image and cannot be removed. Optional packages
are not required for the software to work, but can be installed to provide additional functionalities, and
can be installed or removed based on requirement.
ISO image: A bootable image that contains the installable files of the base operating system (OS). The
image contains the IOS XR (XR7) infrastructure for fixed and distributed platforms in the form of base
ISO image, madatory RPMs and optional RPMs. An ISO image is in .iso format.
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
3
Golden ISO (GISO): A customizable ISO image that is built to contain preferable packages to suit
diverse installation requirements. GISO can be customized to include a standard base image with the
basic functional components, additional RPMs, bug fixes, and configuration files based on your
requirement. Contact Cisco Support to build a GISO.
Source: A location where packages can be installed from. The source can be a repository, local directory
or a tar file.
Repository: A directory of RPMs and their metadata that a package manager uses to query the packages.
Active package: The software in the package that is currently running on the system.
Atomic change: An instantaneous switch from old software to new software after the changes are applied.
Top-levelpackage:Each block of software has a top-level package and various partition-level packages.
The top-level package can be installed or upgraded directly, whereas the partition-level packages cannot
be changed directly. The partition-level packages are installed or upgraded automatically as dependencies
of the top-level package. The top-level package has the name format
xr-<feature>-<release>.x86_64.rpm, whereas the dependent partition-level packages have the longer
name format containing information about the partition. You can also use the RPM to check the summary
or description metadata of the package, which will identify whether it is a top-level or a partition-level
package.
Package manager: An entity that handles the semantics to resolve dependencies in packaging operations.
Packaging operations: The actions performed to change the packages that are installed on the system.
The semantics are inherited from the underlying package manager. Examples of packaging operations
are upgrade, downgrade, replace, add, or remove packages.
Synchronous action: Synchronous action requests are supported for install actions using CLI command.
Specify synchronous keyword in the install commands, and the prompt will only be returned when either
the request has completed, Ctrl + C keys are pressed or a reload occurs. Pressing Ctrl + C keys during
a synchronous action request will return the prompt to the user but will not halt the install operation.
During the synchronous action request, the user is updated with the status of the request whenever it
changes.
A packaging operation has these phases:
Packaging Operation: A packaging operation where software is manipulated (installed, changed,
removed) in the file system. However, the new software is not activated until the atomic operation
is applied.
Atomic Change: A packaging operation that indicates an end of the atomic operation, making the
update visible to the system. The system takes the appropriate action to start running the update.
The action can either be to restart the process or reload the system. All the packaging operations
performed under an atomic operation is active after the changes are applied. However, the changes
are reverted with a reload operation.
Transaction: An install operation where all the atomic operations performed are successfully
installed to the router. A committed package is active on a system when the router reloads and
sustains through reload operations. A commit operation completes the install transaction. Excluding
any system reload that is initiated to complete an atomic operation, if the system reloads during an
install transaction, it is automatically restored to its previous state. If a node (RP or LC), reloads
during a install transaction, it will be held down and prevented from booting until the commit
operation is executed.
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
4
Understanding Software Modularity and Installation
Software Deliverables and Terminologies
A manual or automatic system reload without the transaction being completed
by the install commit command successfully executed, reverts the system to
the point before the install transaction commenced, including any configuration
changes. Only the log is preserved for debugging.
Note
Supported Packages
The base ISO image is contained within a .iso file. Additional optional packages (RPMs) are provided as
modular software deliverables to align with diverse use cases and their deployments across the network.
The software deliverables can be downloaded from Cisco Software Download center.
Release IntroducedIncluded in Base ISO ImageOptional Package
Release 7.0.11Yes8000-netflow
Release 7.0.11Yes8000-mcast
Release 7.0.11YesBGP
Release 7.0.11NoCDP
Release 7.0.11NoEIGRP
Release 7.0.11YesIPSLA
Release 7.0.11YesIS-IS
Release 7.0.11YesLLDP
Release 7.0.11YesMCAST
Release 7.0.11YesMPLS-OAM
Release 7.0.11YesNetflow
Release 7.0.11YesOSPF
Release 7.0.11YesPerfmgmt
Release 7.0.11NoRIP
Release 7.0.11NoTelnet
Release 7.0.11YesTrack
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
5
Understanding Software Modularity and Installation
Supported Packages
The telnet package is not part of the ISO image. You must manually install the telnet optional package to use
telnet for client or server. This applies to all packages that are not part of the ISO image.
SSH is part of the ISO image.
Note
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
6
Understanding Software Modularity and Installation
Supported Packages
CHAPTER 3
Workflow for Installing Cisco IOS XR Software
The router is shipped with a pre-installed version of the Cisco IOS XR (XR7) software. When the router is
powered ON for the first time, the pre-installed software starts functioning automatically. You configure the
router for network capabilities. When a new version of the software is available, you can upgrade the system
using these tasks:
For instructions to upgrade image-specific software, navigate to the CCO Software Download portal, select
the product and refer to the <platform>-x64-<version>.docs.tar file for the release.
Note
Obtain Data Models for Install Operation, on page 7
Create Repository to Access Files for Installing IOS XR Software, on page 8
Upgrade the Current Active Version of Cisco IOS XR Software, on page 12
Install Optional Packages to Provide Additional Functionality, on page 16
Obtain Data Models for Install Operation
XR7 can be installed using one of these two methods:
• CLI
Cisco Software Manager Server
YANG data models
To install using data models, you must first obtain the data models.
Step 1 Access the supported data models to install Cisco IOS XR software from the Github repository.
The models are in the .yang format. Each data model can be identified as one of the following functionalities:
-oper in the model name indicates an operational model. For example, Cisco-IOS-XR-install-oper.yang and
Cisco-IOS-XR-install-augmented-oper.yang are operational models for the install operation.
-cfg indicates a configuration model. For example, Cisco-IOS-XR-install-cfg.yang is a configuration model for
the install operation.
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
7
-act indicates an action model. For example, Cisco-IOS-XR-install-augmented-act.yang and
Cisco-IOS-XR-install-act.yang are action models for the install operation.
Step 2 Explore the install-related data models.
Release IntroducedDescriptionData Model
Release 7.0.11Operational data model to view details
that are related to basic package
information, active and committed
packages, and fixes.
Cisco-IOS-XR-install-oper
Release 7.0.11Configuration data model to specify the
location of the install source.
Cisco-IOS-XR-install-cfg
Release 7.0.11Action model to perform basic install
operations and software upgrade.
Cisco-IOS-XR-install-act
Release 7.0.11Augmented operational model that
displays information about packaging,
atomic changes, and history of the
install operation on the router.
Cisco-IOS-XR-install-augmented-oper
Release 7.0.11Action model to perform flexible install
operations, including controlling the
exact timing of system reloads and
rolling back to a previous commit.
Cisco-IOS-XR-install-augmented-act
Release 7.0.11Action model to copy files on the router
from a source location.
Cisco-IOS-XR-shellutil-copy-act
Create Repository to Access Files for Installing IOS XR Software
If only Golden ISO (GISO) is used, you do not need to create a repository.
Note
To install packages (RPM), code upgrades, and updates in XR7, you need a repository of RPMs for the router
to download the RPMs for installation. The repository can be local to the router, or accessed remotely through
FTP, HTTP, or HTTPS. The remote repository is the recommended method to access the RPMs.
The repository must be created specific to each platform and release. Do not create repositories with a mix
of platforms and releases.
Important
When the repository is accessed remotely, you must provide a repository URL from where the install files
are fetched. The URL contains:
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
8
Workflow for Installing Cisco IOS XR Software
Create Repository to Access Files for Installing IOS XR Software
IP address of the server
Port number of the server
(Optional) Virtual Routing and Forwarding (VRF) name
The repository can be configured to be reachable using a non-default VRF table. If the repository is reachable
through an address in a VRF, specify the name of the VRF.
The format of the repository URL is one of the following:
FTP: ftp://<server>[;<vrf>]/<path-to-repository>
HTTP: http://<server>[;<vrf>]/<path-to-repository>
HTTPS: https://<server>[;<vrf>]/<path-to-repository>
Local: file:///<path-to-repository>
For example, the URL for HTTP server is http://172.16.0.0:3333/.
Username and password are not supported for HTTP and FTP repositories.
Note
Create and Configure a Local Repository
The router can serve as repository to host the RPMs. You must be a root-lr user with access to the router
shell. Remote repository is the recommended method to access the RPMs. However, if remote repository is
not your preferred option, then you can use the router as a repository to host the RPMs.
Using a local repository removes the need to setup an external server for software installation. In this method,
the image files are copied directly to the router, and used to create a repository locally. However, on the
downside, the files for future updates must be copied to each router individually.
This section provides the procedure for setting up a local RPM repository on the router.
Step 1 Create a directory on remote server and copy the RPM files to that directory. This directory must be reachable to FTP,
HTTP, HTTPS, SSH, or TFTP server that the router uses to access the files.
Step 2 Create a directory locally on the router's /harddisk:. Copy the required RPMs and ISO files (using copy or scp command)
from the server to the local directory on the router.
Step 3 Access the shell of the router using run command and untar the RPMs.
Example:
Router#run
[node:~]$cd <directory-with-rpms>
[node:~]$tar -xvzf <rpm-name>.tgz
Step 4 Exit from the shell.
Step 5 Configure the local repository.
Example:
Router#config
Router(config)#install repository local-repo url file:///harddisk:/<directory-with-rpms>
Router(config)#commit
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
9
Workflow for Installing Cisco IOS XR Software
Create and Configure a Local Repository
<data and time stamp> UTC: config[67543]: Configuration committed by user.
Router(config)#end
where, local-repo is the repository name, file:///harddisk:/<directory-with-rpms> is the local repository URL.
Step 6 Check the contents of the repository.
Example:
Router#show install available
Trying to access repositories...
Package Architecture Version Repository
-------------------- --------------- ------------------ ---------------
xr-8000-core x86_64 7.0.11v1.0.1-1 local-repo
xr-core x86_64 7.0.11v1.0.1-1 local-repo
Only the top-level packages are displayed. The contents of the repository is displayed only when the configured
repository is valid and the RPMs are present in the repository. It displays only the packages that are available
in the repository and not part of active system.
Note
Create and Configure an External Repository
To create an external repository, use a server that can be reached over HTTP, HTTPS or FTP. The following
instructions are applicable to Linux distribution systems.
Using an external repository provides a central common repostiory to be used across devices. This eliminates
the need to copy files for future updates to each router individually. It also serves as a single source when
new RPMs (bug fixes, packages, updates) are made available. This is the recommended method to setup a
repository.
For release 7.0.11, the external repository is available only through the Management Ethernet interface.
Note
For releases 7.0.12 and later, the server hosting the external repository must be able to reach the router using
the address of the loopback interface in the VRF. If a VRF has more than one loopback interface, the loopback
with the lowest-numbered loopback name is selected. For example, Loopback1 is selected over Loopback2.
Note
Before you begin
Ensure that you have completed the following tasks:
Set up your HTTP, HTTPS or FTP server. Ensure that the server is reachable as specified in the note
above.
Install createrepo utility on the Linux distribution system (if not installed already).
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
10
Workflow for Installing Cisco IOS XR Software
Create and Configure an External Repository
Step 1 Create a directory on the server and copy all the RPMs to a directory. This directory hosts the repository and must be
accessible to the HTTP, HTTPS or FTP server that the router will use to access the repository. For example,
/var/www/html, is the directory where the repository will be created.
If the RPM files are archived (.tar format) or compressed (.tgz or .gz format), extract the files. The files hierarchically
arrange in sub directories under the main directory that is used as a repository.
Step 2 Convert the directory to a repository using createrepo utility on the Linux server. This creates a directory named repodata
with the metadata of all the RPMs.
Example:
[node]$ createrepo --database /var/www/html/
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[node]$ cd /var/www/html/
[node]$ ls
repodata
[node]$
If you add new packages to the repository, change or remove packages from the repository, you must run createrepo
command again to update the metadata. This ensures that the package manager chooses the correct packages.
Step 3 Configure the external repository.
Example:
Router#config
Router(config)#install repository remote-repo url http://10.194.88.104/<directory-with-rpms>
Router(config)#commit
<data and time stamp> UTC: config[67542]: Configuration committed by user 'cisco'.
Router(config)#end
For FTP, the repository is configured as follows:
Router#config
Router(config)#install repository remote-repo url
ftp://repouser:[email protected]/<directory-with-rpms>
Router(config)#commit
<data and time stamp> UTC: config[67543]: Configuration committed by user 'cisco'.
Router(config)#end
where, remote-repo is the repository name, http://10.194.88.104/<directory-with-rpms> is the HTTP repository
URL, and ftp://repouser:[email protected]/<directory-with-rpms> is the FTP repository URL.
Step 4 Verify connectivity to the server, and check the contents of the repository.
Example:
Router#show install available
Trying to access repositories...
Package Architecture Version Repository
-------------------- --------------- ------------------ ---------------
xr-8000-core x86_64 7.0.11v1.0.1-1 remote-repo
xr-core x86_64 7.0.11v1.0.1-1 remote-repo
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
11
Workflow for Installing Cisco IOS XR Software
Create and Configure an External Repository
Only the top-level packages are displayed. The contents of the repository are displayed only when the configured
repository is valid and the RPMs with the updated metadata are present in the repository. It displays only the
packages that are available in the repository and not part of active system.
Note
Upgrade the Current Active Version of Cisco IOS XR Software
You can upgrade the system when a newer version is available. A system upgrade replaces the existing version
of the software with a newer version. By keeping the software up-to-date, you can ensure that the device
works with the latest features and bug fixes.
You can replace the currently active software on your system with the software from a specified ISO image.
When you replace the packages, the impact on the system is minimal. Only a minimal set of changes is
performed to upgrade to the new software. Packages are not removed and reinstalled if there are no changes
between the two versions.
Even if the configuration file is bundled in a GISO, the file will not be used during an upgrade of the system.
It is only used when the system is completely reimaged in case of disaster recovery.
Note
The instructions in this section also apply to system downgrade.
Note
This section shows replacing the current software version with 8000-x64.iso image. To understand the phases
of install operation, see Software Deliverables and Terminologies, on page 3. For information about
repositories, see Create Repository to Access Files for Installing IOS XR Software, on page 8.
Upgrade the System
Table 1: Feature History Table
DescriptionRelease InformationFeature Name
This feature allows Zero Touch Provisioning (ZTP)
configuration to be specified when building a golden ISO
(GISO) using an initialization (.ini) file. GISO is a
customized image with the standard functional components
and additional configuration files. The ZTP configuration
is applied on the router when the current software version
is replaced or rolled back to a version with GISO image
and is used whenever ZTP is run to automatically provision
the router. To build GISO with the ZTP configuration,
contact Cisco Support.
Release 7.3.1ZTP Initialization
File for Golden ISO
(GISO)
In this scenario, you replace the current software with 8000-x64.iso image, apply the changes, and commit
the configuration. Committing the changes indicates the end of the current transaction. The updated software
is used after subsequent reboots.
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
12
Workflow for Installing Cisco IOS XR Software
Upgrade the Current Active Version of Cisco IOS XR Software
The ztp.ini is an initialization file for ZTP that is provided when building a golden ISO (GISO). This file
defines the GISO ZTP configuration. If the .ini file is used, the next time ZTP starts, this custom .ini file that
was used is picked up. For example, if the install starts a reload operation or when ZTP is initiated manually,
the ZTP will run with the custom ini. This file is carried over during install replace and install rollback, as
long as both the from-version and the to-version are Cisco IOS XR, Release 7.3.1 or higher.
Note
If you start an install replace or install package replace operation with a GISO that has a ztp.ini file, the
GISO ZTP configuration is updated on both RPs when the operation is applied. To undo this install operation
and also the change in GISO ZTP configuration, use install package abort command. If you replace the
image using an ISO without a ztp.ini file, the GISO ZTP configuration is removed from both RPs, if it exists,
when the operation is applied.
Step 1 Copy the ISO (or GISO) image to a location on the router. It is a best practice to place the image in /harddisk: location
on the router.
Step 2 Upgrade the system to replace the current software with the 8000-x64.iso image.
Example:
Router#install package replace /harddisk:/8000-x64.iso
Step 3 Activate the new .iso image on the router by applying the changes.
Example:
Router#install apply {reload | restart} [noprompt]
To identify whether a reload is required or only process restart is needed, use either show install history last transaction
verbose command or show install request command.
Include the keyword noprompt in the command to enable the system to bypass your permission to reload the router.
Applying the change gives you the flexibility to test the operation of the new software before committing the changes.
If you reload the router, the router reverts the software to its previous software state.
All operations that automatically apply the new software are prohibited when an atomic change is already in progress.
You must address the current atomic-change before performing this operation. To address the change, apply the current
atomic-change, or abort it with the install package abort all-since-apply command.
Step 4 Verify that the image is activated successfully.
Example:
Router#show install request
Step 5 Commit the transaction.
Example:
Router#install commit
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
13
Workflow for Installing Cisco IOS XR Software
Upgrade the System
Any action requests may be run synchronously from the CLI. During this request, you will be updated with the
status of the request whenever it changes. The following example shows the output from a synchronous action
request:
Router#install commit synchronous
Starting:
install commit
Transaction 4
The install operation will continue in the background
Press Ctrl-C to return to the exec prompt. This will not cancel the install operation
Current activity: Initializing ....
Current activity: Commit transaction ......
Transaction 4: 'install commit' completed without error
Note
Upgrade the System and Install RPMs
In this scenario, you replace the current software with the 8000-x64.iso image and have the possibility to
install or remove optional RPMs before applying the changes. You can perform this operation while an
atomic-change is already in progress. However, all packaging operations before this command is discarded.
The installed software is an exact copy of the software in the ISO after this packaging operation is complete.
You can perform all additional packaging operations after this operation and before applying and committing
the changes.
Step 1 Copy the ISO (or GISO) image to a location on the router. Best practice is to place the image in /harddisk: on the router.
Step 2 Upgrade the system to replace the current software with the 8000-x64.iso image.
Example:
Router#install package replace /harddisk:/8000-x64.iso
Step 3 Install additional RPMs (packages) after the system upgrade operation.
a) Configure a repository on the router. For instructions to create a local or a remote repository, see Create Repository
to Access Files for Installing IOS XR Software, on page 8.
b) Check the available packages in the repository.
Example:
Router#show install available
c) Install the RPMs.
Example:
Router#install package add <pkg1> <pkg2> <pkgn>
Step 4 Check the status of install operation.
Example:
Router#show install request
User request: install package replace /misc/disk1/8000-x64.iso
Operation ID: 2.1.1
State: In progress
Current activity: Package add or other package operation
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
14
Workflow for Installing Cisco IOS XR Software
Upgrade the System and Install RPMs
Next activity: Await user input
Time started: <date and time>
Timeout in: 35m 53s
Locations responded: 3/4
Location Packaging operation stage Notification Phase Clients responded
----------------- ------------------------- ------------------ -----------------
0/0/CPU0 None in progress None in progress N/A
0/11/CPU0 None in progress None in progress N/A
0/RP0/CPU0 Operation complete None in progress N/A
0/RP1/CPU0 None in progress None in progress N/A
The operation ID is a unique ID for each user request. This is constructed from the transaction ID, atomic
change ID and packaging operation ID that was already used in the commands. For example, if the request is
install commit, the operation ID is the transaction ID. If the request includes applying an atomic change but
not committing the transaction (for example, install replace /harddisk:/<platform>_x64.iso), the
operation ID will be the atomic change ID. An operation ID of 4.2 indicates a second atomic change in the
fourth transaction.
This operation ID is also returned in the action RPC. If an error occurs while the request is initiated, an empty
string is returned instead of an operation ID.
When there is insufficient disk space in the root file system, the show install request command, displays an
error message.
Use show install history last package command to view the details of the packaging operation and any errors
that have occurred.
Note
When the State changes to Success, activate the new image.
Step 5 Activate the new .iso image or RPM on the router by applying the changes.
Example:
Router#install apply {reload | restart} [noprompt]
To identify whether a reload is required or only process restart is needed, use either show install history last transaction
verbose command or show install request command.
Include the keyword noprompt in the command to enable the system to bypass your permission to reload the router.
Step 6 Verify that the image is activated successfully.
Example:
Router#show install request
Step 7 Commit the transaction.
Example:
Router#install commit
To perform the same step using data models, use the install-replace RPC on the Cisco-IOS-XR-install-act data model.
<install-replace>
<file>iso-name</file>
<source-type>local</source-type>
<source>directory-containing-iso</source>
<commit>true</commit>
</install-replace>
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
15
Workflow for Installing Cisco IOS XR Software
Upgrade the System and Install RPMs
Install Optional Packages to Provide Additional Functionality
You can install one or more packages (RPM) that are not already present on the system. The packages are not
mandatory for the software to function, but provide additional functionality. Based on your requirement, you
can install or remove these optional packages. The source file can be a repository name, repository url, local
filepath or path to a tar file.
You must specify only the top-level package name that you want to install. The associated dependencies of
this package, in the form of card and partition-specific packages, are included automatically. By default, the
latest available version of each package is installed. You can also explicitly install a specific version of a
package.
All Cisco IOS XR images are signed to ensure the authenticity of the software.
Note
Consider a router setup with the following packages that are copied to a local directory:
Router#dir /harddisk:/files
xr-eigrp-7.0.11v1.0.1-1.x86_64.rpm
xr-infra_tpa-7.0.11v1.0.1-1.x86_64.rpm
xr-ipsla-7.0.11v1.0.0-1.x86_64.rpm
xr-is-is-7.0.11v1.0.0-1.x86_64.rpm
xr-lldp-7.0.11v1.0.0-1.x86_64.rpm
xr-mcast-7.0.11v1.0.0-1.x86_64.rpm
This example shows the options to install the optional package xr-ipsla-7.0.11v1.0.1-1.x86_64.rpm.
Step 1 Install one or more optional packages using one of the following options:
Option 1: Install the package from the local directory:
Router#install source /harddisk:/files xr-ipsla-7.0.11v1.0.1-1.x86_64.rpm
The install source command automatically applies the changes. Use this command to install optional
packages. To upgrade existing packages, see Upgrade the System to Obtain Bug Fixes, on page 21.
Note
Option 2: Install the package from a configured remote repository:
Router#install source install-repo xr-ipsla
Here, install-repo is the name of the repository. For repository configuration, see Create Repository to Access
Files for Installing IOS XR Software, on page 8.
Option 3: Install the package from a repository URL:
Router#install source http://72.16.0.0:3333/remote-repo xr-ipsla
Option 4: Add the package and apply the change. The package must be available in the repository.
Router#install package add xr-ipsla-7.0.11v1.0.1-1.x86_64.rpm
Router#install apply {restart | reload}
The IP address of the repository must be accessible from the Management Ethernet port. In-band interfaces on
linecards cannot be used to reach the repository.
Note
Software Installation Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x
16
Workflow for Installing Cisco IOS XR Software
Install Optional Packages to Provide Additional Functionality
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI