[Solved] Clone a Lab with Cisco IOL lost Config

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Matrix1000
Posts: 5
Joined: Thu Jul 06, 2017 8:19 am

[Solved] Clone a Lab with Cisco IOL lost Config

Post by Matrix1000 » Thu Jul 06, 2017 8:30 am

Hello @all,

Thanks for this great Software!

Now my small problem:
When I try to clone a lab with working config, the clone (Cisco IOL maschines) cames up without config.
Is it wanted like that?

I use EVE 2.0.3-68 on a baremetal server.

Many thanks for help.

Best regards
Thomas
Last edited by Matrix1000 on Fri Jul 07, 2017 10:15 am, edited 1 time in total.

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Clone a Lab with Cisco IOL lost Config

Post by ecze » Thu Jul 06, 2017 9:45 am

Clone means make a copy of lab file with a new name........

Configs are stored into lab file ONLY if you did an export config...

Note that export is not supported for all node type... Windows for example doesn't support export..... But majority of text based console nodes are able to export config to lab file...


E.

Matrix1000
Posts: 5
Joined: Thu Jul 06, 2017 8:19 am

Re: Clone a Lab with Cisco IOL lost Config

Post by Matrix1000 » Thu Jul 06, 2017 10:44 am

Ok, I understand.

If I copy the nvram_0xxx file to the new folder then it should work?
Or what you mean by export?
The Export works fine for Cisco IOL but I can't finde the exported files.

Many thanks.

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Clone a Lab with Cisco IOL lost Config

Post by ecze » Thu Jul 06, 2017 11:55 am

Export function store config into lab file .

You will not see node config file.... It is embedded into .unl file...

E.

Matrix1000
Posts: 5
Joined: Thu Jul 06, 2017 8:19 am

Re: Clone a Lab with Cisco IOL lost Config

Post by Matrix1000 » Fri Jul 07, 2017 8:16 am

Hi,

ok, I found the config in the unl file in the <configs> section.
But it does not work.
All except one config are not loadet. I can't find the reason why only one is working.

The export off all are successful, i found it in the export and i found it in the cloned unl file.
But only one IOL device has the config.

How can I debug it?

Many thanks

Matrix1000
Posts: 5
Joined: Thu Jul 06, 2017 8:19 am

Re: Clone a Lab with Cisco IOL lost Config

Post by Matrix1000 » Fri Jul 07, 2017 8:47 am

Hi,

I think I've found the problem.

This problem is in Export all cfgs with initial config of IOL.

How to reproduce:
  1. Create two IOL Devices
  2. Change hostname of both for example Router1 Router2
  3. wr mem
  4. now export via right click the config of router1 and NOT for Router2
  5. now export all configs
  6. close lab
  7. clone lab and start it
now you will see router1 has its config router2 will lost its config

Can you reproduce it?

If you now make a single config-export of Router2 and than change for example the hostnames of both maschines, the next export all config will work for both devices. :-)

Therfor I found a solution for me.

Many thanks.

Uldis (UD)
Posts: 5177
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Clone a Lab with Cisco IOL lost Config

Post by Uldis (UD) » Fri Jul 07, 2017 9:46 am

OH SIR.

after you cloned lab you didnt check if R2 is set too boot from exported:) !!!
check side bar, startup-configs and you will see R2 is turned off boot from exported !!!
set it ON.
Then wipe nodes and start.
Difference is:
IF you export single node EVE automatically set node boot from it, but if to use mass export all, the EVE DOES NOT set nodes boot from exported,
you MUST check set boot from exported manually !!! (side bar, startup-configs)

Thats why your R1 booted with CFG but R2 not:)
Therefore no issues at all here, you simply forget check if all nodes are set boot from exported:)

ALL works

UD
You do not have the required permissions to view the files attached to this post.

Matrix1000
Posts: 5
Joined: Thu Jul 06, 2017 8:19 am

Re: Clone a Lab with Cisco IOL lost Config

Post by Matrix1000 » Fri Jul 07, 2017 10:15 am

Hi,

yes perfect. That was my problem. Many many thanks!. :-)

Post Reply