Upgrade Cisco ASR 9K

Upgrade OS Cisco ASR 9K

 

Le but de cet article est de montrer la procédure à suivre pour mettre à jour la version des Ciscos ASR 9K.

Dans cet article on mettra la version 4.3 (ISO-WR-9K-4.3.tar)

 

Procédure:

Commencer par se connecter en console et faire un show version brief, pour voir la version actuelle du système.

RP/0/RSP0/CPU0:ios#sho version brief

Tue May 14 01:41:49.922 UTC

Cisco IOS XR Software, Version 4.2.3[Default]

Copyright (c) 2012 by Cisco Systems, Inc. 

ROM: System Bootstrap, Version 0.62(c) 1994-2012 by Cisco Systems,  Inc.

ios uptime is 43 minutes

System image file is "disk0:asr9k-os-mbi-4.2.3.CSCuc79084-1.0.0/0x100305/mbiasr9k-rsp3.vm"

 

cisco ASR9K Series (Intel 686 F6M14S4) processor with 6291456K bytes of memory.

Intel 686 F6M14S4 processor at 2128MHz, Revision 2.174

ASR 9010 AC Chassis with PEM Version 2

 

4 Management Ethernet

40 GigabitEthernet

8 TenGigE

8 DWDM controller(s)

8 WANPHY controller(s)

503k bytes of non-volatile configuration memory.

955M bytes of compact flash card.

6271M bytes of hard disk.

11817968k bytes of disk0: (Sector size 512 bytes).
11817968k bytes of disk1: (Sector size 512 bytes)

 

Copier l'OS (ISO-WR-9K-4.3.tar) sur une clé USB et brancher cette dernière sur l'équipement.
Puis faire une dir usb

 

RP/0/RSP0/CPU0:ios#dir usb:

Tue May 14 01:42:21.594 UTC

Directory of usb:

65536       ----  0           Wed Feb 13 22:51:32 2013  =USB DISK

76928       -rw-  440857088   Mon Mar 18 23:49:07 2013  IOS-XR-9K-4.3.tar

en mode admin, installer la nouvelle version.

RP/0/RSP0/CPU0:ios#admin
RP/0/RSP0/CPU0:ios(admin)
#install add tar usb:/IOS-XR-9K-4.3-RIE.tar sync

Tue May 14 01:51:45.625 UTC

Install operation 7 '(admin) install add tar /usb:/IOS-XR-9K-4.3-RIE.tar

synchronous' started by user 'admin' via CLI at 01:51:45 UTC Tue May 14 2013.

Info:     The following files were extracted from the tar file

Info:     '/usb:/IOS-XR-9K-4.3-RIE.tar' and will be added to the entire router:

Info:     

Info:         asr9k-doc-px.pie-4.3.0

Info:         asr9k-fpd-px.pie-4.3.0

Info:         asr9k-k9sec-px.pie-4.3.0

Info:         asr9k-mcast-px.pie-4.3.0

Info:         asr9k-mgbl-px.pie-4.3.0

Info:         asr9k-mini-px.pie-4.3.0

Info:         asr9k-mpls-px.pie-4.3.0

Info:         asr9k-optic-px.pie-4.3.0

Info:     

Info:     The following packages are now available to be activated:

Info:     

Info:         disk0:asr9k-doc-px-4.3.0

Info:         disk0:asr9k-fpd-px-4.3.0

Info:         disk0:asr9k-k9sec-px-4.3.0

Info:         disk0:asr9k-mcast-px-4.3.0

Info:         disk0:asr9k-mgbl-px-4.3.0

Info:         disk0:asr9k-mini-px-4.3.0

Info:         disk0:asr9k-mpls-px-4.3.0

Info:         disk0:asr9k-optic-px-4.3.0

Info:     

Info:     The packages can be activated across the entire router.

Info:     

Install operation 7 completed successfully at 02:01:50 UTC Tue May 14 2013.

 

 Lancer l'activation de l'os:

RP/0/RSP0/CPU0:ios(admin)#show install inactive summary

Tue May 14 02:05:24.312 UTC

Default Profile:

  SDRs:

    Owner

  Inactive Packages:

    disk0:asr9k-optic-px-4.3.0

    disk0:asr9k-mini-px-4.3.0

    disk0:asr9k-doc-px-4.3.0

    disk0:asr9k-k9sec-px-4.3.0

    disk0:asr9k-mpls-px-4.3.0

    disk0:asr9k-mgbl-px-4.3.0

    disk0:asr9k-mcast-px-4.3.0

    disk0:asr9k-fpd-px-4.3.0

 

RP/0/RSP0/CPU0:ios(admin)#install activate disk0:*4.3.0* sync

Tue May 14 02:09:16.338 UTC

Install operation 8 '(admin) install activate disk0:*4.3.0* synchronous'

started by user 'admin' via CLI at 02:09:16 UTC Tue May 14 2013.

Info:     This operation will activate the following packages:

Info:         disk0:asr9k-optic-px-4.3.0

Info:         disk0:asr9k-mpls-px-4.3.0

Info:         disk0:asr9k-mini-px-4.3.0

Info:         disk0:asr9k-mgbl-px-4.3.0

Info:         disk0:asr9k-mcast-px-4.3.0

Info:         disk0:asr9k-k9sec-px-4.3.0

Info:         disk0:asr9k-fpd-px-4.3.0

Info:         disk0:asr9k-doc-px-4.3.0

Info:     This operation will reload the following nodes in parallel:

Info:         0/RSP0/CPU0 (RP) (SDR: Owner)

Info:         0/RSP1/CPU0 (RP) (SDR: Owner)

Info:         0/0/CPU0 (LC) (SDR: Owner)

Info:         0/1/CPU0 (LC) (SDR: Owner)

Proceed with this install operation (y/n)? [y]

Info:     Install Method: Parallel Reload

\ 100% complete: The operation can still be aborted (ctrl-c for options)RP/0/RSP0/CPU0:May 14 02:10:10.481 : rmf_svr[372]: %HA-REDCON-1-STANDBY_NOT_READY : standby card is NOT ready

Info:     The changes made to software configurations will not be persistent

Info:     across system reloads. Use the command '(admin) install commit' to

Info:     make changes persistent.

Info:     Please verify that the system is consistent following the software

Info:     change using the following commands:

Info:         show system verify

Info:         install verify packages

| 100% complete: The operation can still be aborted (ctrl-c for options)RP/0/RSP1/CPU0:May 14 02:10:10.482 : rmf_svr[372]: %HA-REDCON-1-STANDBY_NOT_READY : standby card is NOT ready

Install operation 8 completed successfully at 02:10:10 UTC Tue May 14 2013.

L'équipement redémarre

 

Vérifier que l'équipement ainsi que toutes les cartes sont UP.

RP/0/RSP0/CPU0:ios#admin show platform

Tue May 14 02:16:34.737 UTC

Node            Type                      State            Config State

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

0/RSP0/CPU0     A9K-RSP440-TR(Active)     IOS XR RUN       PWR,NSHUT,MON

0/RSP1/CPU0     A9K-RSP440-TR(Standby)    IOS XR RUN       PWR,NSHUT,MON

0/FT0/SP        FAN TRAY                  READY           

0/FT1/SP        FAN TRAY                  READY           

0/0/CPU0        A9K-MOD80-SE              IOS XR RUN       PWR,NSHUT,MON

0/0/0           A9K-MPA-4X10GE            OK               PWR,NSHUT,MON

0/0/1           A9K-MPA-20X1GE            OK               PWR,NSHUT,MON

0/1/CPU0        A9K-MOD80-SE              IOS XR RUN       PWR,NSHUT,MON

0/1/0           A9K-MPA-4X10GE            OK               PWR,NSHUT,MON

0/1/1           A9K-MPA-20X1GE            OK               PWR,NSHUT,MON

0/PM0/SP        PWR-3KW-AC-V2             READY            PWR,NSHUT,MON

0/PM4/SP        PWR-3KW-AC-V2             READY            PWR,NSHUT,MON

 

RP/0/RSP0/CPU0:ios#admin show redundancy

Tue May 14 02:18:13.683 UTC

Redundancy information for node 0/RSP0/CPU0:

==========================================

Node 0/RSP0/CPU0 is in ACTIVE role

Node Redundancy Partner (0/RSP1/CPU0) is in STANDBY role

Standby node in 0/RSP1/CPU0 is ready

Standby node in 0/RSP1/CPU0 is NSR-not-configured

Node 0/RSP0/CPU0 is in process group PRIMARY role

Process Redundancy Partner (0/RSP1/CPU0) is in BACKUP role

Backup node in 0/RSP1/CPU0 is ready

Backup node in 0/RSP1/CPU0 is NSR-not-configured

 

Group            Primary         Backup          Status        

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

dsc              0/RSP0/CPU0     0/RSP1/CPU0     Ready         

dlrsc            0/RSP0/CPU0     0/RSP1/CPU0     Ready          

central-services 0/RSP0/CPU0     0/RSP1/CPU0     Ready         

v4-routing       0/RSP0/CPU0     0/RSP1/CPU0     Ready         

netmgmt          0/RSP0/CPU0     0/RSP1/CPU0     Ready         

mcast-routing    0/RSP0/CPU0     0/RSP1/CPU0     Ready         

v6-routing       0/RSP0/CPU0     0/RSP1/CPU0     Ready         

 

Reload and boot info

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

A9K-RSP440-TR reloaded Tue May 14 02:11:59 2013: 6 minutes ago

Active node booted Tue May 14 02:11:59 2013: 6 minutes ago

Standby node boot Tue May 14 02:12:16 2013: 5 minutes ago

Standby node last went not ready Tue May 14 02:15:56 2013: 2 minutes ago

Standby node last went ready Tue May 14 02:15:56 2013: 2 minutes ago

There have been 0 switch-overs since reload

 

Active node reload "Cause: dSC node reload is required by install operation"

Standby node reload "Cause: Node reload is required by install operation"

 

RP/0/RSP0/CPU0:ios#admin install commit

Tue May 14 02:19:49.234 UTC

Install operation 9 '(admin) install commit' started by user 'admin' via CLI at

02:19:49 UTC Tue May 14 2013.

- 100% complete: The operation can no longer be aborted (ctrl-c for options)RP/0/RSP0/CPU0:May 14 02:19:50.079 : instdir[254]: %INSTALL-INSTMGR-4-ACTIVE_SOFTWARE_COMMITTED_INFO : The currently active software is now the same as the committed software.

Install operation 9 completed successfully at 02:19:50 UTC Tue May 14 2013.

RP/0/RSP0/CPU0:ios#

 

 

RP/0/RSP0/CPU0:ios# show hw-hardware fpd location all

 

 

vérifier que tout a été bien mis à jour.

RP/0/RSP0/CPU0:ios#admin show install active summary

Tue May 14 02:20:45.002 UTC

Default Profile:

  SDRs:

    Owner

  Active Packages:

    disk0:asr9k-doc-px-4.3.0

    disk0:asr9k-fpd-px-4.3.0

    disk0:asr9k-k9sec-px-4.3.0

    disk0:asr9k-mcast-px-4.3.0

    disk0:asr9k-mgbl-px-4.3.0

    disk0:asr9k-mini-px-4.3.0

    disk0:asr9k-mpls-px-4.3.0

    disk0:asr9k-optic-px-4.3.0

 

RP/0/RSP0/CPU0:ios#

 

RP/0/RSP0/CPU0:ios#show version brief 

Tue May 14 02:22:30.616 UTC

 

Cisco IOS XR Software, Version 4.3.0[Default]

Copyright (c) 2012 by Cisco Systems, Inc.

 

ROM: System Bootstrap, Version 0.62(c) 1994-2012 by Cisco Systems,  Inc.

 

ios uptime is 10 minutes

System image file is "disk0:asr9k-os-mbi-4.3.0/0x100305/mbiasr9k-rsp3.vm"

 

cisco ASR9K Series (Intel 686 F6M14S4) processor with 6291456K bytes of memory.

Intel 686 F6M14S4 processor at 2132MHz, Revision 2.174

ASR 9010 AC Chassis with PEM Version 2

 

4 Management Ethernet

8 TenGigE

8 DWDM controller(s)

8 WANPHY controller(s)

40 GigabitEthernet

503k bytes of non-volatile configuration memory.

955M bytes of compact flash card.

6271M bytes of hard disk.

11817968k bytes of disk0: (Sector size 512 bytes).

11817968k bytes of disk1: (Sector size 512 bytes).

RP/0/RSP0/CPU0:ios#

 Vérifier que tout les modules sont à jour, si vous avez des "Yes" c'est à dire que le module a besoin d'une mise à jour.

RP/0/RSP0/CPU0:ios(admin)#show hw-module fpd location all
Tue May 14 04:37:39.409 UTC

===================================== ==========================================
                                      Existing Field Programmable Devices
                                      ==========================================
                                        HW                       Current SW Upg/
Location     Card Type                Version Type Subtype Inst   Version   Dng?
============ ======================== ======= ==== ======= ==== =========== ====
0/RSP0/CPU0  A9K-RSP440-TR              1.0   lc          cbc     0      16.115    No
                                              lc   fpga1         0                                          0.09      No
                                              lc   fpga2         0                                          1.06      No
                                              lc   fpga3         0                                          4.09      No
                                              lc   rommon    0                                          0.62      Yes
--------------------------------------------------------------------------------
0/RSP0/CPU0  ASR-9010-FAN               1.0   lc   cbc     2       4.00     Yes
--------------------------------------------------------------------------------
0/RSP0/CPU0  ASR-9010-FAN               1.0   lc   cbc     3       4.00     Yes
--------------------------------------------------------------------------------
0/RSP1/CPU0  A9K-RSP440-TR              1.0   lc   cbc     0      16.115    No
                                              lc   fpga1            0                                 0.09     No
                                              lc   fpga3            0                                 4.09     No
                                              lc   fpga2            0                                 1.06     No
                                              lc   rommon       0                                 0.62     Yes
--------------------------------------------------------------------------------
0/0/CPU0     A9K-MOD80-SE                    1.0   lc   cbc     0      20.115    No
                                              lc   fpga2             0                               1.01     Yes
                                              lc   fpga4             0                                1.05     No
                                              lc   rommon         0                               1.28     Yes
--------------------------------------------------------------------------------
0/0/0        A9K-MPA-4X10GE             1.101 spa  fpga6   0       1.06     No
--------------------------------------------------------------------------------
0/0/1        A9K-MPA-20X1GE             1.101 spa  fpga3   1       0.08     No
--------------------------------------------------------------------------------
0/1/CPU0     A9K-MOD80-SE                1.0   lc   cbc     0      20.115    No
                                              lc   fpga2        0                                 1.01     Yes
                                              lc   fpga4        0                                  1.05     No
                                              lc   rommon   0                                  1.28     Yes
--------------------------------------------------------------------------------
0/1/0        A9K-MPA-4X10GE             1.101 spa  fpga6   0       1.06     No
--------------------------------------------------------------------------------
0/1/1        A9K-MPA-20X1GE             1.101 spa  fpga3   1       0.08     No
--------------------------------------------------------------------------------
NOTES:
1.  One or more FPD needs an upgrade or a downgrade.  This can be accomplished
    using the "admin> upgrade hw-module fpd <fpd> location <loc>" CLI.

 Pour mettre à jour les modules, utiliser la commande "upgrade hw-module fpd all location  all"

RP/0/RSP0/CPU0:ios(admin)#upgrade hw-module fpd all location all

 

puis faire un reload de tout le chassis en utilisant la commande

RP/0/RSP0/CPU0:ios(admin)#reload location all


après redémarrage lancer la commande show hw-module fpd location all" pour vérifier que tous les modules sont maintenant à jour.

 

RP/0/RSP0/CPU0:RIE-MRS-BB-PE(admin)#show hw-module fpd location all
Tue May 14 04:57:26.185 UTC

===================================== ==========================================
                                      Existing Field Programmable Devices
                                      ==========================================
                                        HW                       Current SW Upg/
Location     Card Type                Version Type Subtype Inst   Version   Dng?
============ ======================== ======= ==== ======= ==== =========== ====
0/RSP0/CPU0  A9K-RSP440-TR              1.0   lc   cbc     0      16.115    No
                                              lc   fpga1   0       0.09     No
                                              lc   fpga2   0       1.06     No
                                              lc   fpga3   0       4.09     No
                                              lc   rommon  0       0.70     No
--------------------------------------------------------------------------------
0/RSP0/CPU0  ASR-9010-FAN               1.0   lc   cbc     2       4.02     No
--------------------------------------------------------------------------------
0/RSP0/CPU0  ASR-9010-FAN               1.0   lc   cbc     3       4.02     No
--------------------------------------------------------------------------------
0/RSP1/CPU0  A9K-RSP440-TR              1.0   lc   cbc     0      16.115    No
                                              lc   fpga1   0       0.09     No
                                              lc   fpga2   0       1.06     No
                                              lc   fpga3   0       4.09     No
                                              lc   rommon  0       0.70     No
--------------------------------------------------------------------------------
0/0/CPU0     A9K-MOD80-SE               1.0   lc   cbc     0      20.115    No
                                              lc   fpga2   0       1.04     No
                                              lc   fpga4   0       1.05     No
                                              lc   rommon  0       1.29     No
--------------------------------------------------------------------------------
0/0/0        A9K-MPA-4X10GE             1.101 spa  fpga6   0       1.06     No
--------------------------------------------------------------------------------
0/0/1        A9K-MPA-20X1GE             1.101 spa  fpga3   1       0.08     No
--------------------------------------------------------------------------------
0/1/CPU0     A9K-MOD80-SE               1.0   lc   cbc     0      20.115    No
                                              lc   fpga2   0       1.04     No
                                              lc   fpga4   0       1.05     No
                                              lc   rommon  0       1.29     No
--------------------------------------------------------------------------------
0/1/0        A9K-MPA-4X10GE             1.101 spa  fpga6   0       1.06     No
--------------------------------------------------------------------------------
0/1/1        A9K-MPA-20X1GE             1.101 spa  fpga3   1       0.08     No
--------------------------------------------------------------------------------

 

Informations supplémentaires