Cisco ASR 9901 Workflow Upgrade

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.

ru

This manual was created by an advanced Cisco guru together with vendor representatives. Published
here due to lack of desire to deal with knowledge bases and mastering MD files.

Exclusively for Dan, suddenly lose. And it is - here it is.

Preparing for Upgrade


Download from cisco.com ISO image of the new version of Cisco OS XR.
In our case, this is the asr9k-mini-x64-7.3.2.iso file .

Download the tar file from cisco.com with the necessary pkg.

In our case, this is the ASR9K-x64-iosxr-px-k9-7.3.2.tar file . Inside the file are:

asr9k-bng-supp-x64-1.0.0.0-r732.x86_64.rpm
asr9k-bng-x64-1.0.0.0-r732.x86_64.rpm
asr9k-eigrp-x64-1.0.0.0-r732.x86_64.rpm
asr9k-isis-x64-1.1.0.0-r732.x86_64.rpm
asr9k-k9sec-x64-2.2.0.0-r732.x86_64.rpm
asr9k-li-x64-1.1.0.0-r732.x86_64.rpm
asr9k-m2m-x64-2.0.0.0-r732.x86_64.rpm
asr9k-mcast-x64-2.0.0.0-r732.x86_64.rpm
asr9k-mgbl-x64-2.0.0.0-r732.x86_64.rpm
asr9k-mpls-te-rsvp-x64-2.1.0.0-r732.x86_64.rpm
asr9k-mpls-te-rsvp-x64-2.1.0.0-r732.x86_64.rpm
asr9k-mpls-te-rsvp-x64-2.1.0.0-r732.x86_64.rpm
asr9k-ospf-x64-2.0.0.0-r732.x86_64.rpm
asr9k-services-x64-1.0.0.0-r732.x86_64.rpm

Unpack ASR9K-x64-iosxr-px-k9-7.3.2.tar .

We create a new tar archive called " iso_and_rpms_7_3_2.tar ", in which we place the previously
downloaded ISO file and all the unpacked RPM files.

Going to the CLI


We create a directory in the file system of the router that we are going to update. This is optional, the
update tar file can be copied to the root of harddisk:/.

mkdir harddisk:/ios_upgrade_7.3.2

Copy the previously created TAR archive to the router.

scp iso_and_rpms_7_3_2.tar admin@router-ip:harddisk:/ios_upgrade_7.3.2

We add a file from which we will try to update on the router (we specify our TAR archive).

install add source harddisk:/ios_upgrade_7.3.2 iso_and_rpms_7_3_2.tar


https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 1/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

Feb 02 13:36:55 Install operation will continue in the background

The process of adding a file as an update source will run in the background. With the next command,
you can see what is happening in the background and how successful it is.

show install request 

Wed Feb 2 13:38:17.790 MSK

User admin, Op Id 32

install add

iso_and_rpms_7_3_2.tar

The install add operation 32 is 60% complete

Add validate request sent to sysadmin

Feb 02 13:39:28 It is a NO IMPACT OPERATION as all packages have already been added

Feb 02 13:39:30 Install operation 32 finished successfully

Next, run install prepare. Note that the "id" in the command is the identifier that was assigned to the
process in the previous step.

install prepare id 32

Wed Feb 2 13:40:39.192 MSK

Feb 02 13:40:41 Install operation 33 started by root:

install prepare id 32

Feb 02 13:40:41 Package list:

Feb 02 13:40:41 asr9k-bng-x64-1.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-mini-x64-7.3.2

Feb 02 13:40:41 asr9k-services-x64-1.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-mpls-x64-2.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-m2m-x64-2.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-optic-x64-1.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-li-x64-1.1.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-mpls-te-rsvp-x64-2.1.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-eigrp-x64-1.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-bng-supp-x64-1.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-mcast-x64-2.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-ospf-x64-2.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-mgbl-x64-2.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-9000v-nV-x64-1.0.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-isis-x64-1.1.0.0-r732.x86_64

Feb 02 13:40:41 asr9k-k9sec-x64-2.2.0.0-r732.x86_64

Feb 02 13:40:41 Install operation will continue in the background

The process will also run in the background. With the next command, you can see what
https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc is happening
2/9 in
the background and how successful it is.
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

show install request

Wed Feb 2 13:41:44.118 MSK

User admin, Op Id 33

install prepare

asr9k-li-x64-1.1.0.0-r732.x86_64

asr9k-m2m-x64-2.0.0.0-r732.x86_64
asr9k-isis-x64-1.1.0.0-r732.x86_64

asr9k-mpls-te-rsvp-x64-2.1.0.0-r732.x86_64

asr9k-9000v-nV-x64-1.0.0.0-r732.x86_64

asr9k-mini-x64-7.3.2

asr9k-mgbl-x64-2.0.0.0-r732.x86_64

asr9k-optic-x64-1.0.0.0-r732.x86_64

asr9k-mcast-x64-2.0.0.0-r732.x86_64

asr9k-mpls-x64-2.0.0.0-r732.x86_64

asr9k-services-x64-1.0.0.0-r732.x86_64

asr9k-ospf-x64-2.0.0.0-r732.x86_64

asr9k-bng-supp-x64-1.0.0.0-r732.x86_64

asr9k-eigrp-x64-1.0.0.0-r732.x86_64

asr9k-k9sec-x64-2.2.0.0-r732.x86_64

asr9k-bng-x64-1.0.0.0-r732.x86_64
install operation 33 is in progress

Triggered prepare operation in sysadmin.

Updates from sysadmin for this operation.

Install prepare operation 33 is in progress

Initial config parsed. Stage one orchestration in progress.

When it's over, this will pop up.

Feb 02 13:44:58 Install operation 33 finished successfully

Next, we activate the process of installing a new version of Cisco IOS XR, as a result of which the router
itself will reboot if everything goes without errors.

install activate

https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 3/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

Wed Feb 2 13:45:57.467 MSK

Feb 02 13:45:59 Install operation 34 started by admin:

install activate

This install operation will reload the system, continue?

[yes/no]:[yes] yes

And again:

Feb 02 13:46:04 Install operation will continue in the background

The process will also run in the background. With the next command, you can see what is happening in
the background and how successful it is.

show install request

Wed Feb 2 13:47:32.739 MSK

User admin, Op Id 34

install activate

The install activate operation 34 is 5% complete

install activate operation 34 is in progress

Sysadmin preparation is in progress

Host activation is complete

Sysadmin activation is in progress

Node(s) State %Completed Action

-------------------------------------------------- ------------------------------

Node 0/RSP0 : In Progress 70% Client(s) being notified

Node 0/0 : Completed 100% Sysadmin activation is complete

In the meantime, the following messages are thrown in the console (CON) during the "install activate"
process.

RP/0/RSP0/CPU0:Feb 2 13:46:30.926 MSK: fpd-serv[334]: %PKT_INFRA-FM-3-FAULT_MAJOR : ALARM_MAJOR


0/RSP0/ADMIN0:Feb 2 14:00:20.065 MSK: canbus_driver[3749]: %INFRA-FPD_Driver-1-UPGRADE_ALERT :
0/RSP0/ADMIN0:Feb 2 14:00:20.066 MSK: canbus_driver[3749]: %INFRA-FPD_Driver-1-UPGRADE_ALERT :
RP/0/RSP0/CPU0:Feb 2 13:50:14.206 MSK: fpd-serv[334]: %PKT_INFRA-FM-3-FAULT_MAJOR : ALARM_MAJOR

As a result, if everything is ok, the router will go into reboot on its own.

https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 4/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

RP/0/RSP0/CPU0:Feb 2 13:52:39.699 MSK: sdr_instmgr[1312]: %INSTALL-INSTMGR-2-OPERATION_SUCCESS


RP/0/RSP0/CPU0:Feb 2 13:52:40.002 MSK: sdr_instmgr[1312]: %INSTALL-INSTMGR-2-SYSTEM_RELOAD_INFO
0/0/ADMIN0:Feb 2 14:03:40.027 MSK: vm_manager[3578]: %INFRA-VM_MANAGER-4-INFO : Info: vm_manage

Preparing system for backup. This may take a few minutes, especially for large configurations.

Status report: node0_RSP0_CPU0: BACKUP INPROGRESS

Status report: node0_RSP0_CPU0: BACKUP HAS COMPLETED SUCCESSFULLY

[Done]

Executing ifconfig eth-vf1.3074 down

[13:53:43.355] Sending KILL signal to ds..

[13:53:43.364] Sending KILL signal to processmgr..

PM disconnect successStopping OpenBSD Secure Shell server: sshdinitctl: Unknown instance:

Stopping system message bus: dbus.

Stopping random number generator daemon.

Stopping system log daemon...0

Stopping kernel log daemon...0

Stopping internet superserver: xinetd.

Stopping cron: OK

Stopping rpcbind daemon...

done.

Stopping libvirtd daemon: [ OK ]

Deconfiguring network interfaces... done.

After a reboot, we get a router running the new version of Cisco IOS XR.

sh version

Wed Feb 2 14:12:31.066 MSK

Cisco IOS XR Software, Version 7.3.2

Copyright (c) 2013-2021 by Cisco Systems, Inc.

Build Information:

Built By : ingunawa

Built On : Wed Oct 13 20:22:40 PDT 2021

Built Host : iox-ucs-019

Workspace : /auto/srcarchive17/prod/7.3.2/asr9k-x64/ws

Version : 7.3.2

Location : /opt/cisco/XR/packages/

Label : 7.3.2

cisco ASR9K() processor

System uptime is 3 minutes

After the reboot, it will be seen that the active version of Cisco OS XR is new.

https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 5/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

show install active

Wed Feb 2 16:01:25.326 MSK

Label : 7.3.2

Node 0/RSP0/CPU0 [RP]

Boot Partition: xr_lv33

Active Packages: 16

asr9k-xr-7.3.2 version=7.3.2 [Boot image]

asr9k-li-x64-1.1.0.0-r732
asr9k-m2m-x64-2.0.0.0-r732

asr9k-isis-x64-1.1.0.0-r732

asr9k-mpls-te-rsvp-x64-2.1.0.0-r732

asr9k-9000v-nV-x64-1.0.0.0-r732

asr9k-mgbl-x64-2.0.0.0-r732

asr9k-optic-x64-1.0.0.0-r732

asr9k-mcast-x64-2.0.0.0-r732

asr9k-bng-supp-x64-1.0.0.0-r732

asr9k-mpls-x64-2.0.0.0-r732

asr9k-services-x64-1.0.0.0-r732

asr9k-ospf-x64-2.0.0.0-r732

asr9k-eigrp-x64-1.0.0.0-r732

asr9k-k9sec-x64-2.2.0.0-r732

asr9k-bng-x64-1.0.0.0-r732

Node 0/0/CPU0 [LC]

Boot Partition: xr_lv33

Active Packages: 16

asr9k-xr-7.3.2 version=7.3.2 [Boot image]

asr9k-li-x64-1.1.0.0-r732
asr9k-m2m-x64-2.0.0.0-r732

asr9k-isis-x64-1.1.0.0-r732

asr9k-mpls-te-rsvp-x64-2.1.0.0-r732

asr9k-9000v-nV-x64-1.0.0.0-r732

asr9k-mgbl-x64-2.0.0.0-r732

asr9k-optic-x64-1.0.0.0-r732

asr9k-mcast-x64-2.0.0.0-r732

asr9k-bng-supp-x64-1.0.0.0-r732

asr9k-mpls-x64-2.0.0.0-r732

asr9k-services-x64-1.0.0.0-r732

asr9k-ospf-x64-2.0.0.0-r732

asr9k-eigrp-x64-1.0.0.0-r732

asr9k-k9sec-x64-2.2.0.0-r732

asr9k-bng-x64-1.0.0.0-r732

But at the same time:

https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 6/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

show install committed

Wed Feb 2 16:02:06.288 MSK

Label : 7.1.3

Node 0/RSP0/CPU0 [RP]

Boot Partition: xr_lv0

Committed Packages: 14

asr9k-xr-7.1.3 version=7.1.3 [Boot image]

asr9k-mpls-te-rsvp-x64-2.1.0.0-r713

asr9k-services-x64-1.0.0.0-r713

asr9k-eigrp-x64-1.0.0.0-r713

asr9k-bng-x64-1.0.0.0-r713

asr9k-mgbl-x64-2.0.0.0-r713

asr9k-mcast-x64-2.0.0.0-r713

asr9k-mpls-x64-2.0.0.0-r713

asr9k-li-x64-1.1.0.0-r713
asr9k-ospf-x64-1.0.0.0-r713

asr9k-optic-x64-1.0.0.0-r713

asr9k-isis-x64-1.1.0.0-r713

asr9k-m2m-x64-2.0.0.0-r713

asr9k-9000v-nV-x64-1.0.0.0-r713

Node 0/0/CPU0 [LC]

Boot Partition: xr_lv0

Committed Packages: 14

asr9k-xr-7.1.3 version=7.1.3 [Boot image]

asr9k-mpls-te-rsvp-x64-2.1.0.0-r713

asr9k-services-x64-1.0.0.0-r713

asr9k-eigrp-x64-1.0.0.0-r713

asr9k-bng-x64-1.0.0.0-r713

asr9k-mgbl-x64-2.0.0.0-r713

asr9k-mcast-x64-2.0.0.0-r713

asr9k-mpls-x64-2.0.0.0-r713

asr9k-li-x64-1.1.0.0-r713
asr9k-ospf-x64-1.0.0.0-r713

asr9k-optic-x64-1.0.0.0-r713

asr9k-isis-x64-1.1.0.0-r713

asr9k-m2m-x64-2.0.0.0-r713

asr9k-9000v-nV-x64-1.0.0.0-r713

To finally switch to the new version (so that the new version is registered as the main one for download),
you need to do:

install commit

After which we will get:


https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 7/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

show install committed

Wed Feb 2 16:03:34.405 MSK

Label : 7.3.2

Node 0/RSP0/CPU0 [RP]

Boot Partition: xr_lv33

Committed Packages: 16

asr9k-xr-7.3.2 version=7.3.2 [Boot image]

asr9k-li-x64-1.1.0.0-r732
asr9k-m2m-x64-2.0.0.0-r732

asr9k-isis-x64-1.1.0.0-r732

asr9k-mpls-te-rsvp-x64-2.1.0.0-r732

asr9k-9000v-nV-x64-1.0.0.0-r732

asr9k-mgbl-x64-2.0.0.0-r732

asr9k-optic-x64-1.0.0.0-r732

asr9k-mcast-x64-2.0.0.0-r732

asr9k-bng-supp-x64-1.0.0.0-r732

asr9k-mpls-x64-2.0.0.0-r732

asr9k-services-x64-1.0.0.0-r732

asr9k-ospf-x64-2.0.0.0-r732

asr9k-eigrp-x64-1.0.0.0-r732

asr9k-k9sec-x64-2.2.0.0-r732

asr9k-bng-x64-1.0.0.0-r732

Node 0/0/CPU0 [LC]

Boot Partition: xr_lv33

Committed Packages: 16

asr9k-xr-7.3.2 version=7.3.2 [Boot image]

asr9k-li-x64-1.1.0.0-r732
asr9k-m2m-x64-2.0.0.0-r732

asr9k-isis-x64-1.1.0.0-r732

asr9k-mpls-te-rsvp-x64-2.1.0.0-r732

asr9k-9000v-nV-x64-1.0.0.0-r732

asr9k-mgbl-x64-2.0.0.0-r732

asr9k-optic-x64-1.0.0.0-r732

asr9k-mcast-x64-2.0.0.0-r732

asr9k-bng-supp-x64-1.0.0.0-r732

asr9k-mpls-x64-2.0.0.0-r732

asr9k-services-x64-1.0.0.0-r732

asr9k-ospf-x64-2.0.0.0-r732

asr9k-eigrp-x64-1.0.0.0-r732

asr9k-k9sec-x64-2.2.0.0-r732

asr9k-bng-x64-1.0.0.0-r732

Cleaning.

https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 8/9
8/4/22, 12:44 AM Cisco ASR 9901 workflow upgrade | internet-lab.ru

install remove inactive all

cfs check

https://internet--lab-ru.translate.goog/cisco_asr_9901_upgrade_workflow?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=pt-BR&_x_tr_pto=sc 9/9

You might also like