CISCO IOS XR软件补丁(SMU)安装操作

1、首先,将SMU安装包上传到IOS XR路由器本地磁盘,通过查看指定磁盘目录,可以看到将要安装的SMU安装包,如下所示:

 

RP/0/RP0/CPU0:MC-LCC0-40G#dir harddisk:/smu  

Thu Jan 15 08:07:22.089 UTC

 

Directory of harddisk:/smu

 

59041       -rwx  368158     Wed Jan 14 07:09:20 2015 hfr-px-5.1.4.CSCur74848.pie

2014288     -rwx  1393642    Wed Jan 14 07:10:07 2015 hfr-px-5.1.4.CSCur39971.pie

2014287     -rwx  6129366    Wed Jan 14 07:10:25 2015 hfr-px-5.1.4.CSCuq95241.pie

 

15426650112 bytes total (12678681088 bytes free)

 

 

2、加载SMU安装包,加载完成后,SMU安装包会解压到disk0磁盘(相当于windows操作系统C盘),输出信息会提示disk0SMU安装包路径,如下红色字体所示:

 

RP/0/RP0/CPU0:MC-LCC0-40G(admin)#install addharddisk:/smu/hfr-px-5.1.4.CSCur74848.pie synchronous

Thu Jan 15 08:07:50.335 UTC

Install operation 38 ‘(admin) install add/harddisk:/smu/hfr-px-5.1.4.CSCur74848.pie synchronous‘ started by user ‘cisco‘via CLI at 08:07:50 UTC Thu Jan 15 2015.

Info:     The followingpackage is now available to be activated:

Info:     

Info:         disk0:hfr-px-5.1.4.CSCur74848-1.0.0

Info:     

Info:     The package can beactivated across the entire router.

Info:     

Install operation 38 completed successfully at 08:07:56 UTC Thu Jan15 2015.

 

3、SMU安装包加载成功后,通过命令可以在未激活安装包列表中查看到其信息,如下所示:

 

RP/0/RP0/CPU0:MC-LCC0-40G(admin)#sho install summary

Thu Jan 15 08:08:07.422 UTC

Default Profile:

  Admin Resources

  SDRs:

    Owner

  Active Packages:

   disk0:hfr-services-px-5.1.4

    disk0:hfr-mpls-px-5.1.4

    disk0:hfr-mini-px-5.1.4

    disk0:hfr-doc-px-5.1.4

    disk0:hfr-k9sec-px-5.1.4

    disk0:hfr-mgbl-px-5.1.4

    disk0:hfr-fpd-px-5.1.4

    disk0:hfr-mcast-px-5.1.4

    disk0:hfr-diags-px-5.1.4

  Inactive Packages:

    disk0:hfr-px-5.1.4.CSCur74848-1.0.0

  Committed Packages:

    disk0:hfr-services-px-5.1.4

    disk0:hfr-mpls-px-5.1.4

    disk0:hfr-mini-px-5.1.4

    disk0:hfr-doc-px-5.1.4

    disk0:hfr-k9sec-px-5.1.4

    disk0:hfr-mgbl-px-5.1.4

    disk0:hfr-fpd-px-5.1.4

    disk0:hfr-mcast-px-5.1.4

    disk0:hfr-diags-px-5.1.4

  Superceded Packages:

    No packages.

 

 

 

4、激活SMU安装包,注意选择SMU安装包解压后的路径,应该选择disk0磁盘下的,命令和输出如下所示;如果有多个SMU安装包进行激活,可以在一条命令中同时列出多个SMU安装包的信息,而不需要通过多条命令来执行,如果有多个SMU安装包激活时需要重启系统的,则可以避免多次重启系统;

 

RP/0/RP0/CPU0:MC-LCC0-40G(admin)# install activate disk0:hfr-px-5.1.4.CSCur74848-1.0.0synchronous

Thu Jan 15 08:10:02.352 UTC

Install operation 40 ‘(admin) install activatedisk0:hfr-px-5.1.4.CSCur74848-1.0.0 synchronous‘ started by user ‘cisco‘ viaCLI at 08:10:02 UTC Thu Jan 15 2015.

Info:     This operation willreload the following nodes in parallel:

Info:         0/4/SP(MSC-DRP-SP) (Admin Resource)

Info:         0/6/SP(MSC-DRP-SP) (Admin Resource)

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

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

Info:         0/RP0/CPU0(CRS16-RP-x86) (SDR: Owner)

Info:         0/FC0/SP (SP)(Admin Resource)

Info:         0/FC1/SP (SP)(Admin Resource)

Info:         0/AM1/SP (SP)(Admin Resource)

Info:         F0/AM1/SP (SP)(Admin Resource)

Info:         F0/LM0/SP (SP)(Admin Resource)

Info:         F0/LM1/SP (SP)(Admin Resource)

Info:         0/SM0/SP(Fabric-SP) (Admin Resource)

Info:         0/SM1/SP(Fabric-SP) (Admin Resource)

Info:         0/SM2/SP(Fabric-SP) (Admin Resource)

Info:         0/SM3/SP(Fabric-SP) (Admin Resource)

Info:         0/SM4/SP(Fabric-SP) (Admin Resource)

Info:         0/SM5/SP(Fabric-SP) (Admin Resource)

Info:         0/SM6/SP(Fabric-SP) (Admin Resource)

Info:         0/SM7/SP(Fabric-SP) (Admin Resource)

Info:         F0/SM0/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM3/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM6/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM9/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM12/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM15/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM18/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SM21/SP(400G-Fabric-SP-C) (Admin Resource)

Info:         F0/SC0/CPU0(CRS-SC-B) (Admin Resource)

Info:         F0/SC1/CPU0(CRS-SC-B) (Admin Resource)

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

Info:     Install Method:Parallel Reload

Info:     The changes made tosoftware configurations will not be persistent across system reloads. Use thecommand ‘(admin) install commit‘ to make changes

Info:     persistent.

Info:     Please verify thatthe system is consistent following the software change using the followingcommands:

Info:         show systemverify

Info:         install verifypackages

Install operation 40 completed successfully at 08:12:27 UTC Thu Jan15 2015.

 

 

 

5、SMU安装包激活成功后,可以看到该SMU安装包在激活安装包列表中,如下所示:

 

 

RP/0/RP0/CPU0:MC-LCC0-40G(admin)#sho install summary                                               

Thu Jan 15 08:12:48.878 UTC

Default Profile:

  Admin Resources

  SDRs:

    Owner

  Active Packages:

   disk0:hfr-services-px-5.1.4

    disk0:hfr-mpls-px-5.1.4

    disk0:hfr-mini-px-5.1.4

    disk0:hfr-doc-px-5.1.4

    disk0:hfr-k9sec-px-5.1.4

    disk0:hfr-mgbl-px-5.1.4

    disk0:hfr-fpd-px-5.1.4

    disk0:hfr-mcast-px-5.1.4

    disk0:hfr-diags-px-5.1.4

    disk0:hfr-px-5.1.4.CSCur74848-1.0.0

  Inactive Packages:

    No packages.

  Committed Packages:

   disk0:hfr-services-px-5.1.4

    disk0:hfr-mpls-px-5.1.4

    disk0:hfr-mini-px-5.1.4

    disk0:hfr-doc-px-5.1.4

    disk0:hfr-k9sec-px-5.1.4

    disk0:hfr-mgbl-px-5.1.4

    disk0:hfr-fpd-px-5.1.4

    disk0:hfr-mcast-px-5.1.4

    disk0:hfr-diags-px-5.1.4

  Superceded Packages:

    No packages.

 

 

 

6、如果是需要重启的SMU安装包,SMU安装包成功激活后,IOSXR系统自动进行重启,重启完成后,还需要执行commit,否则,下次重启该SMU可能失效;而且commit建议在重启完成后执行,如果SMU安装包后系统异常,可以通过重启系统来进行回退操作,如果重启前先执行了commit操作,则需要执行去激活SMU安装包。commit操作如下所示:

 

RP/0/RP0/CPU0:MC-LCC0-40G(admin)#install commit

 

 

 

7、注意:在执行SMU操作的时候,要确保各板卡和硬件模块状态正常,否则无法执行SMU;例如,有一块板卡故障,则需要先手动关闭板卡,再执行SMU

 

 

 

以上内容是个人实操输出,理解可能不当之处,水平有限,仅供参考。


本文出自 “QiRui” 博客,请务必保留此出处http://qirui.blog.51cto.com/845978/1604862

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。