9 Replies Latest reply: Feb 7, 2019 9:40 AM by awilki01 RSS

    Can't export (save) CSR1000v config

    Will

      Hello -

       

      I have a fresh install of VIRL 2.3, and I can't export the CSR1000v configuration.  I always ensure that I have all telnet, SSH, console sessions closed.  (I haven't even started using an external client).

       

      I have also tested with ASAv and IOSv and I'm able to extra configuration.

       

      My order of operation:

       

      1. Bring CSR1000v onto topology and boot it
      2. conf t , change hostname, exit
      3. WR
      4. Close terminal windows
      5. Extract configuration - it fails.


      I get the following log:

       

      (INFO) [Sep/11/2017 04:31:20] Attempt 1 out of 3 to download configuration on 1 nodes

      (ERROR) [Sep/11/2017 04:31:23] Conection to node "csr1000v-1" is unresponsive or broken.

      (INFO) [Sep/11/2017 04:31:23] Configuration extraction was skipped for all nodes.

      (INFO) [Sep/11/2017 04:31:23] Done extracting configurations.

       

      I've attached a log of the full CSR boot process

         
        • 1. Re: Can't export (save) CSR1000v config
          Alexei Monastyrnyi

          Hello!

          Have the same problem with the  latest VIRL

          Not only CSR1000v but also IOS XRv

          Conection to node "iosxrv-1" is unresponsive or broken.

           

          Any luck?

          Cheers

          Alexei.

          • 2. Re: Can't export (save) CSR1000v config
            rudolph@berbee.com

            Same problem here. Extract configurations not working for the CSR1000v nodes in my simulation.  Fresh VIRL install as well.  VMMaestro reports

            "Connection to node such-and-so is unresponsive or broken."

            • 3. Re: Can't export (save) CSR1000v config
              rudolph@berbee.com

              Update: I am also having the same problem with the new Nexus 9000v 7.0(3)I61 in VIRL.  I can sometimes get the config extraction to work if i do one at a time with the new Nexus 9000v 7.0(3)I61 image (select the node, right click "extract configuration"), but even then it doesn't always work.  "Extract configurations" for the CSR1000v always fails with the "Connection to node is unresponsive or broken". 

               

              I am baffled.  The install is a fresh 1.3 install on ESXi with, of course, an enormous amount of CPU and memory.  This problem is quite crippling in terms of use of the product.

              • 4. Re: Can't export (save) CSR1000v config
                Alexei Monastyrnyi

                Hello!

                I managed to extract the configurations from CSR1000V after I added the VIRL default credentials into the router config as if they woudl be built with AutoNetkit enabled.

                username/password cisco/cisco and enable secret cisco

                 

                For Nexus 9000 it worked from the beginning. First time it starts, you have to define admin password. I ignored the complex password security and created username admin with password admin. I reckon extract config script relies on default credentials for Nexus. Try to put in admin/admin and test.

                 

                HTH

                Alexei.

                • 5. Re: Can't export (save) CSR1000v config
                  psc15771

                  I'm having the same issue with IOSv. I tried adding the username/password but still no luck. I've also gone from external terminal (securecrt) back to the default internal terminal and the results are the same.

                  • 6. Re: Can't export (save) CSR1000v config
                    Mikael

                    Hey!

                     

                     

                    I have the same issue as other people in this post, mostly tested with IOSv.

                    The nodes in my simulations are unreachable at the start, i have to manually configure the management-interface(gi0/0) from CLI to make them reachable.

                    But everytime i try to extract configurations i get the following

                     

                     

                    (INFO) [Oct/05/2017 03:20:23] Attempt 1 out of 3 to download configuration on 3 nodes

                    (ERROR) [Oct/05/2017 03:20:23] Conection to node "iosv-1" is unresponsive or broken.

                    (ERROR) [Oct/05/2017 03:20:23] Conection to node "iosv-2" is unresponsive or broken.

                    (ERROR) [Oct/05/2017 03:20:23] Conection to node "iosv-3" is unresponsive or broken.

                    (INFO) [Oct/05/2017 03:20:23] Configuration extraction was skipped for all nodes.

                    (INFO) [Oct/05/2017 03:20:23] Done extracting configurations.

                     

                     

                    It actually ends with done extracting configurations but when i stop and start the simulation again they are back to default.

                     

                     

                    This issue started when i upgraded to Virl 1.3, does anyone know how to solve this or why it happens,

                    • 7. Re: Can't export (save) CSR1000v config
                      Ruslan

                      Hi,

                      I check with IOSv and CSR1000V the Extract configuration worked as expected.

                       

                      Procedure: New Lab> Build initial Configurations

                       

                      FYI:

                      INFO) [Oct/08/2017 20:28:11] Reachability status of node "iosv-1" changed from UNREACHABLE to REACHABLE

                      (INFO) [Oct/08/2017 20:28:20] Reachability status of node "iosv-2" changed from UNREACHABLE to REACHABLE

                      (INFO) [Oct/08/2017 20:29:50] Reachability status of node "csr1000v-1" changed from UNREACHABLE to REACHABLE

                      (INFO) [Oct/08/2017 20:30:14] Attempt 1 out of 3 to download configuration on 3 nodes

                      (INFO) [Oct/08/2017 20:30:18] Downloaded startup-updated config from node "iosv-2".

                      (INFO) [Oct/08/2017 20:30:18] Downloaded startup-updated config from node "iosv-1".

                      (INFO) [Oct/08/2017 20:30:19] Downloaded startup-updated config from node "csr1000v-1".

                      (INFO) [Oct/08/2017 20:30:19] Done extracting configurations.

                      • 8. Re: Can't export (save) CSR1000v config
                        Alexei Monastyrnyi

                        Hello.

                        Most reference platforms in my case are usually listed as unreachable. I do not use that automatic OOB management IP configuration feature, I use external access via FLAT network. I do not think VIRL extracts configuration via OOB management, it does it via the console. So for some reason it cannot get to the console for just that instance of yours.

                         

                        As for not being able to use the extracted configs after a simulation restart, could you check that you do not have a tick in AutoNetKit for those instances? It might prevent it from using the extracted configurations.

                         

                        It is a bit tricky with autoNetKit when it comes to small Linux VMs available to use in the simulations. You have to keep the autoNetKit tick on for them and actually build the autoConfig once, or else the default username and password are not provisioned.

                         

                        Cheers

                        Alexei.

                        • 9. Re: Can't export (save) CSR1000v config
                          awilki01

                          Do this on each CSR1000v to save the config:

                           

                          conf t

                          !

                          username cisco privilege 15 secret cisco

                          !

                          line vty 0 4

                          transport input ssh telnet

                          exec-timeout 720 0

                          password cisco

                          login local

                          !

                          end

                           

                          wr mem