Date created: 08/14/15 10:06:14. Last modified: 01/25/16 10:20:34

ASR9006 5.1.3 Service Pack Install Example

This example is applying Serice Pack 4 to IOS-XR 5.1.3 default:

# Check what packages are already installed, active and their versions:
RP/0/RSP0/CPU0:router1(admin)#show install active


# I have already copied via FTP the service pack to disk1a,
# now unpack the service pack (but don't activate it)
RP/0/RSP0/CPU0:router1(admin)#install add disk1a:/asr9k-px-5.1.3.sp4.tar

Install operation 16 '(admin) install add /disk1a:/asr9k-px-5.1.3.sp4.tar'
started by user 'admin' via CLI at 03:15:31 BST Fri Aug 14 2015.
Warning:  The following file has the suffix '.tar' and will be treated as a tar
Warning:  file:
Warning:      /disk1a:/asr9k-px-5.1.3.sp4.tar
RP/0/RSP0/CPU0:2015 Aug 14 03:15:31.653 BST: instdir[263]: %INSTALL-INSTMGR-4-INSTALL_OPERATION_WARNING : A warning occurred during install operation 16. See 'show install log 16 detail' for moreinformation.
Warning:  If a file should not be treated as tar file:
Warning:   - change the file extension.
Warning:  To stop this message being displayed:
Warning:   - use the tar keyword to explicitly specify a tar file.
Info:     The following files were extracted from the tar file
Info:     '/disk1a:/asr9k-px-5.1.3.sp4.tar' and will be added to the entire
Info:     router:
Info:
Info:         asr9k-px-5.1.3.sp4.pie
Info:         asr9k-px-5.1.3.sp4.txt (skipped - not a pie)
Info:
The install operation will continue asynchronously.


RP/0/RSP0/CPU0:router1(admin)#show install request
Fri Aug 14 03:22:07.040 BST
Install operation 16 '(admin) install add /disk1a:/asr9k-px-5.1.3.sp4.tar'
started by user 'admin' via CLI at 03:15:31 BST Fri Aug 14 2015.
The operation is 65% complete
The operation cannot be aborted.


RP/0/RSP0/CPU0:router1(admin)#Info:     The following package is now available to be activated:
Info:
Info:         disk0:asr9k-px-5.1.3.sp4-1.0.0
Info:
Info:     The package can be activated across the entire router.
Info:
Install operation 16 completed successfully at 03:24:08 BST Fri Aug 14 2015.


RP/0/RSP0/CPU0:router1(admin)#show install log 16 detail
Fri Aug 14 03:25:09.477 BST

Install operation 16 started by user 'admin' via CLI at 03:15:31 BST Fri Aug 14
2015.
(admin) install add /disk1a:/asr9k-px-5.1.3.sp4.tar
Install operation 16 completed successfully at 03:24:08 BST Fri Aug 14 2015.

Install logs:
    Install operation 16 '(admin) install add /disk1a:/asr9k-px-5.1.3.sp4.tar'
    started by user 'admin' via CLI at 03:15:31 BST Fri Aug 14 2015.
    Warning:  The following file has the suffix '.tar' and will be treated as a
    Warning:  tar file:
    Warning:      /disk1a:/asr9k-px-5.1.3.sp4.tar
    Warning:  If a file should not be treated as tar file:
    Warning:   - change the file extension.
    Warning:  To stop this message being displayed:
    Warning:   - use the tar keyword to explicitly specify a tar file.
    Info:     The following files were extracted from the tar file
    Info:     '/disk1a:/asr9k-px-5.1.3.sp4.tar' and will be added to the entire
    Info:     router:
    Info:
    Info:         asr9k-px-5.1.3.sp4.pie
    Info:         asr9k-px-5.1.3.sp4.txt (skipped - not a pie)
    Info:
    Info:     The following package is now available to be activated:
    Info:
    Info:         disk0:asr9k-px-5.1.3.sp4-1.0.0
    Info:
    Info:     The package can be activated across the entire router.
    Info:
    Install operation 16 completed successfully at 03:24:08 BST Fri Aug 14
    2015.

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


RP/0/RSP0/CPU0:router1(admin)#show install inactive
Fri Aug 14 03:26:11.392 BST
Secure Domain Router: Owner

  Node 0/RSP0/CPU0 [RP] [SDR: Owner]
    Boot Device: disk0:
    Inactive Packages:
      disk0:asr9k-px-5.1.3.sp4-1.0.0

  Node 0/RSP1/CPU0 [RP] [SDR: Owner]
    Boot Device: disk0:
    Inactive Packages:
      disk0:asr9k-px-5.1.3.sp4-1.0.0

  Node 0/0/CPU0 [LC] [SDR: Owner]
    Boot Device: mem:
    Inactive Packages:
      disk0:asr9k-px-5.1.3.sp4-1.0.0

  Node 0/1/CPU0 [LC] [SDR: Owner]
    Boot Device: mem:
    Inactive Packages:
      disk0:asr9k-px-5.1.3.sp4-1.0.0

RP/0/RSP0/CPU0:router1(admin)#install activate ?
  WORD                                       User specified package(s) to activate
  disk0:asr9k-9000v-nV-supp-5.1.3.sp4-1.0.0  Package to activate
  disk0:asr9k-base-5.1.3.sp4-1.0.0           Package to activate
  disk0:asr9k-fwding-5.1.3.sp4-1.0.0         Package to activate
  disk0:asr9k-os-mbi-5.1.3.sp4-1.0.0         Package to activate
  disk0:asr9k-px-5.1.3.sp4-1.0.0             Package to activate
  disk0:asr9k-service-supp-5.1.3.sp4-1.0.0   Package to activate
  disk0:iosxr-bng-5.1.3.sp4-1.0.0            Package to activate
  disk0:iosxr-ce-5.1.3.sp4-1.0.0             Package to activate
  disk0:iosxr-fwding-5.1.3.sp4-1.0.0         Package to activate
  disk0:iosxr-infra-5.1.3.sp4-1.0.0          Package to activate
  disk0:iosxr-mpls-5.1.3.sp4-1.0.0           Package to activate
  disk0:iosxr-routing-5.1.3.sp4-1.0.0        Package to activate
  id                                         The id of the install add operation containing packages to activate
  ignore-pkg-presence-check                  Ignore pkg presence check


RP/0/RSP0/CPU0:router1(admin)#install activate disk0:asr9k-9000v-nV-supp-5.1.3.sp4-1.0.0 disk0:asr9k-base-5.1.3.sp4-1.0.0 disk0:asr9k-fwding-5.1.3.sp4-1.0.0 disk0:asr9k-os-mbi-5.1.3.sp4-1.0.0 disk0:asr9k-px-5.1.3.sp4-1.0.0 disk0:asr9k-service-supp-5.1.3.sp4-1.0.0 disk0:iosxr-bng-5.1.3.sp4-1.0.0  disk0:iosxr-ce-5.1.3.sp4-1.0.0 disk0:iosxr-fwding-5.1.3.sp4-1.0.0 disk0:iosxr-infra-5.1.3.sp4-1.0.0  disk0:iosxr-mpls-5.1.3.sp4-1.0.0 disk0:iosxr-routing-5.1.3.sp4-1.0.0 sync test


Install operation 17 completed successfully at 03:31:52 BST Fri Aug 14 2015.

RP/0/RSP0/CPU0:router1(admin)#install activate disk0:asr9k-9000v-nV-supp-5.1.3.sp4-1.0.0 disk0:asr9k-base-5.1.3.sp4-1.0.0 disk0:asr9k-fwding-5.1.3.sp4-1.0.0 disk0:asr9k-os-mbi-5.1.3.sp4-1.0.0 disk0:asr9k-px-5.1.3.sp4-1.0.0 disk0:asr9k-service-supp-5.1.3.sp4-1.0.0 disk0:iosxr-bng-5.1.3.sp4-1.0.0  disk0:iosxr-ce-5.1.3.sp4-1.0.0 disk0:iosxr-fwding-5.1.3.sp4-1.0.0 disk0:iosxr-infra-5.1.3.sp4-1.0.0  disk0:iosxr-mpls-5.1.3.sp4-1.0.0 disk0:iosxr-routing-5.1.3.sp4-1.0.0 sync


# RSPs will need to reboot


# Check the install log for the last operation
RP/0/RSP0/CPU0:router1(admin)#show install log 18 detail


RP/0/RSP0/CPU0:router1(admin)#show install active
Fri Aug 14 03:47:33.644 BST
Secure Domain Router: Owner

  Node 0/RSP0/CPU0 [RP] [SDR: Owner]
    Boot Device: disk0:
    Boot Image: /disk0/asr9k-os-mbi-5.1.3.sp4-1.0.0/0x100305/mbiasr9k-rsp3.vm
    Active Packages:
      disk0:asr9k-services-infra-5.1.3
      disk0:asr9k-optic-px-5.1.3
      disk0:asr9k-doc-px-5.1.3
      disk0:asr9k-9000v-nV-px-5.1.3
      disk0:asr9k-bng-px-5.1.3
      disk0:asr9k-fpd-px-5.1.3
      disk0:asr9k-mpls-px-5.1.3
      disk0:asr9k-video-px-5.1.3
      disk0:asr9k-mcast-px-5.1.3
      disk0:asr9k-mgbl-px-5.1.3
      disk0:asr9k-asr903-nV-px-5.1.3
      disk0:asr9k-services-px-5.1.3
      disk0:asr9k-mini-px-5.1.3
      disk0:asr9k-li-px-5.1.3
      disk0:asr9k-asr901-nV-px-5.1.3
      disk0:asr9k-k9sec-px-5.1.3
      disk0:asr9k-px-5.1.3.sp4-1.0.0

  Node 0/RSP1/CPU0 [RP] [SDR: Owner]
    Boot Device: disk0:
    Boot Image: /disk0/asr9k-os-mbi-5.1.3.sp4-1.0.0/0x100305/mbiasr9k-rsp3.vm
    Active Packages:
      disk0:asr9k-services-infra-5.1.3
      disk0:asr9k-optic-px-5.1.3
      disk0:asr9k-doc-px-5.1.3
      disk0:asr9k-9000v-nV-px-5.1.3
      disk0:asr9k-bng-px-5.1.3
      disk0:asr9k-fpd-px-5.1.3
      disk0:asr9k-mpls-px-5.1.3
      disk0:asr9k-video-px-5.1.3
      disk0:asr9k-mcast-px-5.1.3
      disk0:asr9k-mgbl-px-5.1.3
      disk0:asr9k-asr903-nV-px-5.1.3
      disk0:asr9k-services-px-5.1.3
      disk0:asr9k-mini-px-5.1.3
      disk0:asr9k-li-px-5.1.3
      disk0:asr9k-asr901-nV-px-5.1.3
      disk0:asr9k-k9sec-px-5.1.3
      disk0:asr9k-px-5.1.3.sp4-1.0.0

  Node 0/0/CPU0 [LC] [SDR: Owner]
    Boot Device: mem:
    Boot Image: /disk0/asr9k-os-mbi-5.1.3.sp4-1.0.0/lc/mbiasr9k-lc.vm
    Active Packages:
      disk0:asr9k-services-infra-5.1.3
      disk0:asr9k-optic-px-5.1.3
      disk0:asr9k-bng-px-5.1.3
      disk0:asr9k-mpls-px-5.1.3
      disk0:asr9k-video-px-5.1.3
      disk0:asr9k-mcast-px-5.1.3
      disk0:asr9k-services-px-5.1.3
      disk0:asr9k-mini-px-5.1.3
      disk0:asr9k-li-px-5.1.3
      disk0:asr9k-px-5.1.3.sp4-1.0.0

  Node 0/1/CPU0 [LC] [SDR: Owner]
    Boot Device: mem:
    Boot Image: /disk0/asr9k-os-mbi-5.1.3.sp4-1.0.0/lc/mbiasr9k-lc.vm
    Active Packages:
      disk0:asr9k-services-infra-5.1.3
      disk0:asr9k-optic-px-5.1.3
      disk0:asr9k-bng-px-5.1.3
      disk0:asr9k-mpls-px-5.1.3
      disk0:asr9k-video-px-5.1.3
      disk0:asr9k-mcast-px-5.1.3
      disk0:asr9k-services-px-5.1.3
      disk0:asr9k-mini-px-5.1.3
      disk0:asr9k-li-px-5.1.3
      disk0:asr9k-px-5.1.3.sp4-1.0.0


# If there isn't an existing router status file create one with "show system verify start"
RP/0/RSP0/CPU0:router1(admin)#show system verify

RP/0/RSP0/CPU0:router1(admin)#install verify packages

RP/0/RSP0/CPU0:router1(admin)#show install active summary
Fri Aug 14 03:56:09.809 BST
Default Profile:
  SDRs:
    Owner
  Active Packages:
    disk0:asr9k-services-infra-5.1.3
    disk0:asr9k-optic-px-5.1.3
    disk0:asr9k-doc-px-5.1.3
    disk0:asr9k-9000v-nV-px-5.1.3
    disk0:asr9k-bng-px-5.1.3
    disk0:asr9k-fpd-px-5.1.3
    disk0:asr9k-mpls-px-5.1.3
    disk0:asr9k-video-px-5.1.3
    disk0:asr9k-mcast-px-5.1.3
    disk0:asr9k-mgbl-px-5.1.3
    disk0:asr9k-asr903-nV-px-5.1.3
    disk0:asr9k-services-px-5.1.3
    disk0:asr9k-mini-px-5.1.3
    disk0:asr9k-li-px-5.1.3
    disk0:asr9k-asr901-nV-px-5.1.3
    disk0:asr9k-k9sec-px-5.1.3
    disk0:asr9k-px-5.1.3.sp4-1.0.0