6 Replies Latest reply on Sep 12, 2018 1:46 AM by bps

    IOS-XR Support for NCM

    rohnishka

      I am curious if anyone has managed to get NCM to successfully backup/restore both the regular and admin configurations for IOS-XR devices.  If you have, what does your Device Template look like, as I'm trying to figure it out.  I wasn't able to locate a pre-made template for this flavor of Cisco OS, so I'm currently creating a new one.  My apologies if I missed a post about this somewhere, however I was not able to locate a related post for this.

       

      The specific devices that I'm looking to backup are Cisco ASR 9906 and 9910 models, but this request should be applicable to any device that runs IOS-XR, not just the 9900 series.

       

      Thanks for helping out!

        • Re: IOS-XR Support for NCM
          wombatactual

          Hi, at the moment we are just backing up the normal configuration. We have modified the IOS so 'running' is the normal 'show running' while the startup version is the same but with formal added. Do the same with Juniper where running is 'show configuration' and the startup is 'show configuration | display set'. The running is used for comparisons/rules while the startup is used to restore the configuration.

          • Re: IOS-XR Support for NCM
            wombatactual

            Hi, I have device templates which I will upload hopefully shortly for ASR9006 and ASR9010. They are different because they have different SystemOIDs so the auto-detect will work. You can use just the one if they are manually assifned. They download four different versions 'Startup', 'Running', 'Admin Startup, and 'Admin Running'. The admin types will have to be added as extra type to NCM via NCM Settings. The Startup downloads include 'formal'. We use Running for comparing/searching etc  and Starup for recovery.

             

            One issue if you have Startup and Running, NCM detects they are different and puts them in the Change list and it you do a report it says everything is changed,

             

            I am still working on a NCS6K template but strangely Cisco did not do the same thing twice.

              • Re: IOS-XR Support for NCM
                wombatactual

                Can't get the templates to upload onto Thwack, here they are:

                 

                ASR9006

                 

                <!--Copyright 2018 Telstra All rights reserved-->

                <Configuration-Management Device="Cisco ASR 9060 chassis" SystemOID="1.3.6.1.4.1.9.1.1018">

                    <Commands>

                    <Command Name="RESET" Value="terminal length 0" />

                    <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y" />

                    <Command Name="EnterConfigMode" Value="" />

                    <Command Name="ExitConfigMode" Value="" />

                    <Command Name="Startup" Value="show running formal" />

                    <Command Name="Running" Value="show running" />

                    <Command Name="Admin Startup" Value="admin show running formal" />

                    <Command Name="Admin Running" Value="admin show running" />

                    <Command Name="DownloadConfig" Value="${ConfigType}" />

                    <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}" />

                    <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}${CRLF}${CRLF}" />

                    <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename}  ${ConfigType}${CRLF}${CRLF}" />

                    <Command Name="EraseConfig" Value="write erase${CRLF}Y" />

                    <Command Name="SaveConfig" Value="write memory" />

                    <Command Name="Version" Value="show version | include Cisco" />

                    <Command Name="EnableIdentifier" Value="(enable)" />

                    <Command Name="VirtualPrompt" Value="#" />

                    <Command Name="MenuBased" Value="False" />

                </Commands>

                </Configuration-Management>

                 

                ASR9010

                 

                <Configuration-Management Device="Cisco ASR 9010 chassis" SystemOID="1.3.6.1.4.1.9.1.1017" AutoDetectType="BySystemOid">

                  <Commands>

                    <Command Name="RESET" Value="terminal length 0" />

                    <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y" />

                    <Command Name="EnterConfigMode" Value="" />

                    <Command Name="ExitConfigMode" Value="" />

                    <Command Name="Startup" Value="show running formal" />

                    <Command Name="Running" Value="show running" />

                    <Command Name="Admin Startup" Value="admin show running formal" />

                    <Command Name="Admin Running" Value="admin show running" />

                    <Command Name="DownloadConfig" Value="${ConfigType}" />

                    <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}" />

                    <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}${CRLF}${CRLF}" />

                    <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename}  ${ConfigType}${CRLF}${CRLF}" />

                    <Command Name="EraseConfig" Value="write erase${CRLF}Y" />

                    <Command Name="SaveConfig" Value="write memory" />

                    <Command Name="Version" Value="show version | include Cisco" />

                    <Command Name="EnableIdentifier" Value="(enable)" />

                    <Command Name="VirtualPrompt" Value="#" />

                    <Command Name="MenuBased" Value="False" />

                  </Commands>

                </Configuration-Management>

              • Re: IOS-XR Support for NCM
                bps

                has anyone managed to get "environment power-supply" information out of ASR 9010?

                I can not monitor the PowerSupply's of ASR 9010 with the Hardware Sensors of NPM??

                 

                on the Router: RP/0/RSP0/CPU0:xxx0094A(admin)#sho environment power-supply

                R/S/I   Modules         Capacity        Status

                                        (W)

                0/PS0/M0/*

                        host    PM      3000            Ok

                0/PS1/M3/*

                        host    PM      3000            Ok

                R/S/I           Power Supply    Voltage         Current

                                (W)             (V)             (A)

                0/PS0/M0/*       481.1          55.3             8.7

                0/PS1/M3/*       399.6          55.5             7.2

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

                Total:  880.7

                R/S/I           Power Draw      Voltage         Current

                                (W)             (V)             (A)

                0/FT0/*         300 **

                0/FT1/*         300 **

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

                Total:  600.0

                R/S/I           Power Draw      Voltage         Current

                                (W)             (V)             (A)

                0/RSP0/*         205 **

                0/RSP1/*         205 **

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

                Total:  410.0

                R/S/I           Power Draw      Voltage         Current

                                (W)             (V)             (A)

                   0/0/*         346.5          55.0             6.3

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

                Total:  346.5

                ** Indicates worst case power draw (No power measuring sensor)

                Chassis Power Draw for rack 0: 880.7 (W)

                Power Budget Summary for Rack 0

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

                Power Shelves Type: AC

                Power Budget Strict Mode: Disabled

                Total Power Capacity:                           6000W

                Usable Power Capacity:                          6000W

                N+1 Supply Failure Protected Capacity:          6000W

                N+N Supply Failure Protected Capacity:             0W

                Worst Case Power Used:                          1410W

                Slot                                                      Max Watts

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

                0/0/CPU0                                                        400

                0/RSP0/CPU0                                                     205

                0/RSP1/CPU0                                                     205

                0/FT0/SP                                                        300

                0/FT1/SP                                                        300

                 

                 

                Worst Case Power Available:             4590W

                N+1 Supply Protected Capacity Available:        4590W

                N+N Supply Protected Capacity Available:        Not Protected