732 Upgrade Downgrade Doc ncs5500
732 Upgrade Downgrade Doc ncs5500
732 Upgrade Downgrade Doc ncs5500
Audience: This guide is for Cisco Systems Field Engineers and Network Operators. It is split into
four sections.
1) Simple one command install upgrade process & detailed IOS XR install upgrade process
2) Other Boot Options
3) FPD upgrade
4) Caveats and CLI changes
For older releases, it is recommended to first upgrade to one of the supported releases and
then move to the target release. Following link can be used to download the upgrade document
for 7.0.2 release (File name: NCS5500-docs-7.0.2.tar):
https://software.cisco.com/download/home/286291132/type/280805694/release/7.0.2
1.3 Summary of Upgrade Steps
1. Any of the below methods can be used for upgrade.
Method A:
• Add the image to the router using install add source <source remote
location or local directory> <packages>
• Install prepare and install activate the software
Method B:
• Use single command upgrade: install source <source remote
location or local directory> <packages>
Method C:
• Use single command upgrade: install replace <source remote
location or local directory>/<giso> noprompt commit
**Note: install add using tar file may fail with 7.x.x release (except 7.2.2). Bridge SMU
for CSCvv35484 can be used to avoid this issue
NCS5500-iosxr-
1 NCS 5500 IOS XR Software Contains all rpms except k9sec
7.3.2.tar
NCS5500-iosxr-k9-
2 NCS 5500 IOS XR Software 3DES Contains all rpms including k9sec
7.3.2.tar
ncs5500-usb_boot-
3 NCS 5500 IOS XR Software Contains USB Boot Package
7.3.2.zip
NCS5500-docs-
4 NCS5500 IOS XR Documentation Contains all documentation
7.3.2.tar
1.7 Required Package files
Mini ISO Package is mandatory to perform the System Upgrade and upgrade needs to be done
from XR VM. Additional XR packages listed below are needed depending on the router
configuration and required features:
show install committed verif y that the proper set of committed packages are same as active.
If not, execute ‘install commit’
cf s check/clear verif y/fix configuration file system
conf iguration
inconsistency
show hw-module fpd Ensure all the FPD versions status are CURRENT
Please ref er to “Field Programmable Versions Document” for FPD
version information.
XR:
RP/0/RP0/CPU0:55XX# show media location 0/RP0/CPU0
RP/0/RP0/CPU0:55XX# show media location 0/RP1/CPU0
Admin:
sysadmin-vm:0_RP0# show media location 0/RP0
sysadmin-vm:0_RP0# show media location 0/RP1
Check inactive packages and remove them before upgrading in XR and Admin plane.
XR:
RP/0/RP0/CPU0:55XX#install remove inactive all
Admin:
sysadmin-vm:0_RP0# install remove inactive
Check and delete core files and any other files which are not required in harddisk in XR and
admin plane
XR:
RP/0/RP0/CPU0:55XX#run
[xr-vm_node0_RP0_CPU0:~]$cd /misc/disk1
[xr-vm_node0_RP0_CPU0:/misc/disk1]$rm *core*
Admin:
RP/0/RP0/CPU0:55XX#admin
sysadmin-vm:0_RP0# run
[sysadmin-vm:0_RP0:~]$ cd /misc/disk1
[sysadmin-vm:0_RP0:~]$ rm *core*
3 Software Upgrade
All System Upgrade related install operations should be done in the XR VM plane. The optional
packages (mpls, mcast, mgbl etc.) that are being installed/upgraded must match the active
packages, else the install will fail. Two methods are explained below for software upgrade
procedure.
• Copy the 7.3.2 tar file to the router harddisk and verify that file is copied successfully
RP/0/RP0/CPU0:55XX#scp root@10.1.1.1://auto/<image file> /misc/disk1/.
RP/0/RP0/CPU0:PE7#scp prpothul@172.16.1.1:/auto/tftp-
gud/sit/732/NCS5500-iosxr-k9-7.3.2.tar harddisk:/
Tue Oct 12 21:30:42.541 PDT
Connecting to 172.16.1.1...
Password:
Transferred 2037114880 Bytes
2037114880 bytes copied in 198 sec (10241595)bytes/sec
• Verify the md5 checksum of the tar/individual rpms with the original MD5 values on
CCO
[xr-vm_node0_RP0_CPU0:/harddisk:]$md5sum NCS5500-iosxr-k9-7.3.2.tar
[xr-vm_node0_RP0_CPU0:/harddisk:]$md5sum NCS5500-iosxr-k9-7.3.2.tar
676e2949d976b00d1e5b43ae319bfdd6 NCS5500-iosxr-k9-7.3.2.tar
• Take a note of the install operation id generated by the add operation in previous step
Install operation id# 447 finished successfully
RP/0/RP0/CPU0:PE7#Oct 12 21:54:42 Install operation 447 finished
successfully
• Add recommended SMUs for 7.3.2 if not already in initial tarball (optional)
RP/0/RP0/CPU0:55XX#install add source harddisk: <mandatory SMU tar
file>
N/A
• Take a note of the install operation id generated by the add operation in previous step
Install operation id# 448 finished successfully
RP/0/RP0/CPU0:PE7#install activate
Tue Oct 12 22:02:48.667 PDT
Oct 12 22:02:48 Install operation 449 started by root:
install activate
This install operation will reload the system, continue?
[yes/no]:[yes] yes
Oct 12 22:02:51 Install operation will continue in the background
• Router will reload at the end of activation to start using the new packages.
• Verify that all the packages are installed correctly in XR and SysAdmin
RP/0/RP0/CPU0:55xx#show install active summary
Label : 7.3.2
Active Packages: 10
ncs5500-xr-7.3.2 version=7.3.2 [Boot image]
ncs5500-mpls-2.1.0.0-r732
ncs5500-mpls-te-rsvp-3.1.0.0-r732
ncs5500-isis-2.1.0.0-r732
ncs5500-li-1.0.0.0-r732
ncs5500-ospf-3.0.0.0-r732
ncs5500-eigrp-1.0.0.0-r732
ncs5500-mcast-3.0.0.0-r732
ncs5500-mgbl-3.0.0.0-r732
ncs5500-k9sec-3.2.0.0-r732
sysadmin-vm:0_RP0#
• Verify system stability through commands described under Check System Stability
section (2.2) after router comes up with new software
RP/0/RP0/CPU0:55xx#show version
Tue Oct 12 22:40:49.918 PDT
Cisco IOS XR Software, Version 7.3.2
Copyright (c) 2013-2021 by Cisco Systems, Inc.
Build Information:
Built By : ingunawa
Built On : Sun Oct 10 05:03:53 PDT 2021
Built Host : iox-ucs-023
Workspace : /auto/iox-ucs-023-san2/prod/7.3.2/ncs5500/ws
Version : 7.3.2
Location : /opt/cisco/XR/packages/
Label : 7.3.2
• Execute ‘install commit’ to commit the newly active software (install commit is required
after any install activate operation else after router reload, nodes will go back to
previously committed software)
RP/0/RP0/CPU0:55XX#install commit
• Verify the md5 checksum of the tar/individual rpms with the original MD5 values on
CCO.
[xr-vm_node0_RP0_CPU0:/harddisk:/image]$ls -ltr
ncs5500-mini-x-7.3.2.iso
ncs5500-eigrp-1.0.0.0-r732.x86_64.rpm
ncs5500-isis-2.1.0.0-r732.x86_64.rpm
ncs5500-k9sec-3.2.0.0-r732.x86_64.rpm
ncs5500-li-1.0.0.0-r732.x86_64.rpm
ncs5500-mcast-3.0.0.0-r732.x86_64.rpm
ncs5500-mgbl-3.0.0.0-r732.x86_64.rpm
ncs5500-mpls-2.1.0.0-r732.x86_64.rpm
ncs5500-mpls-te-rsvp-3.1.0.0-r732.x86_64.rpm
ncs5500-ospf-3.0.0.0-r732.x86_64.rpm
[xr-vm_node0_RP0_CPU0:/harddisk:/image]$
• Router will reload at the end of activation to start using the new packages.
• Verify that all the packages are installed correctly in XR and SysAdmin
RP/0/RP0/CPU0:55xx#show install active summary
Label : 7.3.2
Active Packages: 10
ncs5500-xr-7.3.2 version=7.3.2 [Boot image]
ncs5500-mpls-2.1.0.0-r732
ncs5500-mpls-te-rsvp-3.1.0.0-r732
ncs5500-isis-2.1.0.0-r732
ncs5500-li-1.0.0.0-r732
ncs5500-ospf-3.0.0.0-r732
ncs5500-eigrp-1.0.0.0-r732
ncs5500-mcast-3.0.0.0-r732
ncs5500-mgbl-3.0.0.0-r732
ncs5500-k9sec-3.2.0.0-r732
sysadmin-vm:0_RP0#
• Verify system stability through commands described under Check System Stability
section (2.2) after router comes up with new software
RP/0/RP0/CPU0:55xx#show version
Tue Oct 12 22:40:49.918 PDT
Cisco IOS XR Software, Version 7.3.2
Copyright (c) 2013-2021 by Cisco Systems, Inc.
Build Information:
Built By : ingunawa
Built On : Sun Oct 10 05:03:53 PDT 2021
Built Host : iox-ucs-023
Workspace : /auto/iox-ucs-023-san2/prod/7.3.2/ncs5500/ws
Version : 7.3.2
Location : /opt/cisco/XR/packages/
Label : 7.3.2
• Execute ‘install commit’ to commit the newly active software (install commit is required
after any install activate operation else after router reload, nodes will go back to
previously committed software)
RP/0/RP0/CPU0:55XX#install commit
4 Post Upgrade Tasks
• Disk cleanup: Once software upgrade has been completed, disk space can be recovered by
removing any inactive packages that are no longer needed (if the packages are required at a
later time, they can be re-added):
RP/0/RP0/CPU0:55XX#cfs check
• Restore IGP metric if changed before the upgrade (this is done from xr vm)
OSPF
RP/0/RP0/CPU0:55XX# (config-ospf)# no max-metric router-lsa
ISIS
RP/0/RP0/CPU0:55XX# (config-isis)# no set-overload-bit
5 Other Boot Options (GISO/IPXE/USB)
https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/system-setup/73x/b-system-setup-cg-
ncs5500-73x/bring-up-the-router.html
GISO:
https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/system-setup/73x/b-system-setup-cg-
ncs5500-73x/customize-installation-using-giso.html
https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/system-setup/73x/b-system-setup-cg-
ncs5500-73x/perform-disaster-recovery.html
6 FPD Upgrade
Fpd auto-upgrade feature if configured on router should take care of fpd upgrade. Manual fpd
upgrade can be performed after 7.3.2 upgrade is install committed. Run the “show hw-module
fpd location all” command to check which firmware files need to be upgraded, by inspecting
the Upg/Dng column. If there is any ‘Yes’ marked, manual upgrade is required. After Manual
upgrade, a reload is required for the fpd to take effect. Issue the following command to
upgrade FPD:
Auto-FPD requirements:
N/A
7 Downgrade from 7.3.2 IOS XR Release
Option 1: If install commit was not done post upgrade, a router reload will bring it back to
previous install committed image
Option 2: If downgrade image is part of inactive packages (the mini ISO is broken down into
individual ISOs (XR, sysadmin and host) ex – ncs5500-mini-x-7.3.2, ncs5500-xr-7.3.2
Option 3: install add downgrade image iso +rpm, prepare and activate
Example:
install prepare id 10
RP/0/RP0/CPU0:55XX#cfs check
• Verify fpd versions running are current:
• Restore IGP metric if changed before the upgrade (this is done from xr vm)
OSPF
RP/0/RP0/CPU0:55XX(config-ospf)# no max-metric router-lsa
ISIS
RP/0/RP0/CPU0:55XX(config-isis)# no set-overload-bit
8 Caveats
Software Upgrade from IOS-XR 6.6.x and older release to IOS-XR 7.3.2 release
Upgrade from IOS-XR 6.6.3 and older release to IOS-XR 7.3.2 release for NCS5501 and NCS5502
platforms may fail because of low free space in the install partition.
The recommendation is to first move to 7.x.x release and then upgrade to 7.3.2 release (if
upgrade is done using install add and activate).
Optimized upgrade feature, to avoid the issue because of low free space in install partition,
helps to avoid NCS5501/NCS5502 upgrade issues from IOS-XR 7.x.x to IOS-XR 7.3.2 release. This
feature however is not available when install activate is done using wildcard (install activate pkg
*7.3.2* *732*).
Software Upgrade to IOS-XR 7.3.2 using tar file with "install add source <> <img.tar>"
"install add source <> img.tar" of IOS-XR 7.3.2 image fail for NCS5501 and
NCS5502 when using tar file to perform “install add”. This applies to IOS-XR 7.x.x except
IOS-XR 7.2.2
This issue can be avoided if “install add” is done with packages listed inline during “install
add”.
Alternatively, a Bridge SMU (DDTS id: CSCvv35484, planned for IOS-XR 7.0.2 and IOS-XR 7.1.2
release) can be used to perform install add when using tar files.