How to import IOSv Router & Switch images from CML into EVE-NG

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] what's up everybody i'm raphael and welcome to network engineer pro in this video i'm going to show you how to take your images from cisco modeling labs aka cml and get them up and running in even g even g if you didn't know does not come with pre-built cisco images you have to get them on your own if you're a cisco partner or employee you may get access to download them you can probably find them online if you do a google search but it's kind of a gray area if you want to legally obtain the images one way is to buy cisco modeling labs buying that cml product is going to give you access to the images i purchased cml i used it for a bit but i still like even g better the great thing is is that i can take those cml images and get them up and running in eve and start building network topologies right away let's get started all right so i'm logged into my eveng virtual machine the first thing i want to do is click add a new lab i'm going to go ahead and name it something simple i'm just going to call it test and i'm going to hit save as soon as you hit save it's going to bring you into your lab and this is your topology window and since this is a brand new lab it's completely empty let me try and add an image like a router or switch to do that i'm going to right click and here it says add a new object i'm going to click node and here i have all the different vendors listed that i talked about in the last video you have cisco hawaii juniper all kinds of things here if i want to add a ios v router you can see here that the text for it is grayed out and i have a little red circle with a red slash through it i'm not able to select this i'm clicking on it and nothing's happening what if i want to add an ios v switch the same thing what about an asa if i want to add an asav i'm again i'm clicking it it's grayed out and there's a red circle with a slash through it i can't click these and select them because i have not added the images to eve yet so let's go ahead and do that the first thing you want to do is you want to purchase the cml product or the cml license this is going to give you access for the platform to build the cml server and the file that contains all of the cisco images you need so the latest version of cml as of the recording of this video is going to be 2.1 now what i'm going to do is i'm going to click cml personal 2.1 so you can see there's four files here the file that we care about is going to be this reference platform iso or as you can see they abbreviated in the file name ref flat this is going to be the iso file that contains all of the images for the different cisco platforms so your asa v your ios v router and switch and whatnot and this is also the only file that's gigantic it's almost seven gigs in size so let's go ahead and get it downloaded to download this file you're just going to click the little download button you're going to accept the license agreement and the download process is going to start and this is going to take a few minutes again you will not have access to download these images unless you've purchased the cml license all right so the ref plat image has finished downloading and i was running out of space on my main c drive so after i downloaded it i went ahead and moved it over to another hard drive i made a directory just for it and what you want to do is this iso here to see the contents of it all you have to do thanks to windows is just double click it and with windows i can see the contents of the iso and you have two folders here you have node definitions and viral based images the images are located in the viral based images folder so let's go ahead and double click on that here are all the images available to me what i want to do i want to highlight all of these images right click copy and i want to paste them in a folder i made just for even g cisco images so let me paste these now that the even g images have been pulled from the iso and placed into their own separate folder what we need to do is get these images into eve so to do that we need something like winscp or maybe filezilla i have filezilla so i'm gonna go ahead and open it up now that i have filezilla open and i've pointed it to the directory where i've placed all of the images what i'm gonna do is i'm gonna go ahead and log into my evm from filezilla i already know my host ip for my evm is 192.168.1.94 username is root and the password by default is eve and i'm going to log in with port 22. now this login is different from the front end gui facing login you what we're doing now is we're actually ssh into the even g vm now it's going to tell you the server's host keys unknown do you want to trust this anyway yes i do now once you log in with filezilla or winscp or whatever program you choose it's going to take you to this default directory now this is not the directory we want so what i'm going to do is i'm going to go back one and the directory that we do care about is opt unit lab add-ons and qemu or kimu now that we're in the right directory i'm ready to copy over the images from my local machine to my even gvm the two images i want to work with today are going to be the ios vl2 this is the layer 2 switch and the ios v 159-3 this is going to be my router so i'm going to go ahead and drag over the layer 2 switch folder i'm also going to drag over the router folder and you can see there's a little progress bar down here that lets you know once the transfer is complete now that the transfer is complete you'd think we'd be done right we transferred over the images we should be able to go into eve and start building topologies no we are not done we're like halfway done there's some very important things that i need to mention here you see this folder name iosv-159-3 and the layer 2 folder name of ios vl2-2019 and if i go into the folder the image name has a very long name v ios advanced enterprise whatever and the same thing for the layer 2 switch when you are inside the eve gui and you are selecting an image to use or a node to use in your topology what eve is doing it's expecting a very specific folder name and a very specific image name if the folder name and or the image name doesn't match with what eve is expecting it's not going to work so thankfully even g has very good documentation about what the folder name and what the image names are supposed to be so to see that information from the even g.net homepage we can hit documentation i can go over here to kimu image namings so if i scroll down here i can see all of the vendors that even g supports what the folder name is supposed to be and what the image name is supposed to be so what you want to do when you're uploading images to eve is you want to make sure that you find the vendor that you're working with in my case i'm using ios v and ios v layer 2. so the layer 3 virtual ios cisco router and the layer 2 virtual ios cisco switch i can see that the folder name needs to begin with at least the ios dash after the dash i can put whatever i want the image name needs to be vert ioa and that's the same case with our layer 2 switch the folder name must begin with v ios l2 dash and the image name must be vert ioa let's go back to filezilla and make sure that the folder names and the image names are configured to match with what even g requires so if i look at my router image folder it's ios v-159-3 does that match with what eve expects for that router image no my folder name needs to begin with at least v ios dash let me go ahead and fix that i can right click here and just hit rename so i'm going to change it to v i o s there's already a dash there and i can hit enter so now my router begins with what eve expects v ios dash and then after the dash you can put the image name or whatever you want let me go into this folder what about the image name does my image name match with what they're expecting it definitely does not so let me right click this rename it and what is eve expecting eve is expecting vert ioa dot qcal2 so vert ioa dot qcal 2 make sure you put q count to not just qcal and then i'm going to hit enter i don't need this yaml file so i'm just going to go ahead and delete it let me go back now let's do the same thing for the switch so for my ios vl2 my folder needs to begin with v ios l2 so you can see that on the image names from the cisco website they have ios v but eve expects the ios so i'm going to right-click the folder name rename and i'm going to put v ios l2 dash and then again after the dash you can put whatever you want i'm going to go into the folder and double check the image name does the image name match with what eve expects it does not let's rename it to vert ioa dot qcal 2. i don't need the yaml file i'm going to go ahead and delete it great so at this point the folder names and the image names match exactly with the even g table here now the very very last step is to ssh from a terminal emulator like putty or secure crt and do what's called fixing the permissions let me show you how to do that so with secure crt open i'm going to connect to 192 168 1.94 that is my evms ip address the username is root and the default password is eve i am now ssh as root into my even g vm so what do i need to do to fix the permissions well let's go back to the documentation let's scroll up and let's go to how to's what we want to find are specific instructions for viral remember cml used to be called viral so you can see here cisco vios from viral here you're gonna have instructions on what to do to get it uploaded into eve but what we're interested here is this last step 2.5 fixed permissions let's copy this here i'm going to paste the command to fix the permissions and as long as i don't get any errors or anything we should be good to go perfect i didn't get any sort of errors or anything like that so now what i want to do is i want to go back to eve and i want to try to add an image i'm going to scroll down and you can see right away that this is a good sign because the cisco v ios router and v ios switch these are not gray anymore they're actually blue so let's click the router and here's going to give you how many nodes you want to add you can name them if you want i'm going to go ahead and hit save i now have a router on my topology let me add a switch cisco vios switch let me go ahead and click save if you wanted to add cpu or memory or how many ethernet ports you could so i'm gonna hit save and i'm gonna connect the two together choose what interface you want for each node i'm fine with gig00 and then to start them what you do is you select them and you right click and say start selected they should turn blue perfect they turn blue let's go ahead and double click on them and it's automatically going to open secure crt this is a really good sign i can already see the process of the router booting same thing with the switch great now that the router's booted i can log in skip the initial configuration dialog and do whatever i want same thing with the switch and that's all there is to it we have successfully added virtual ios router and switches from cml into eve okay so we are up and running in eve with our router and switch images just to recap i downloaded the cml iso file from cisco's website that iso file contained all of the images that i wanted i then used filezilla to ssh into my evm and copy those images over i made sure to name the folder and the actual image to match eve's requirements which was clearly documented on their website lastly i ssh to eve from my terminal emulator and fix the permissions i then tested the images in my lab and everything worked great now the process that i follow today is pretty much going to be the same process for cisco asas and many other types of images but be sure to check the documentation in case anything has changed i hope you all enjoyed this video and learned something i hope that it helped you get your eve environment up and running as well if it did don't forget to like and subscribe and you can follow me on facebook at network engineer pro if there's any questions please let me know thanks everyone and have an awesome day
Info
Channel: Network Engineer Pro
Views: 603
Rating: undefined out of 5
Keywords: install eve-ng on google cloud, install eve-ng on esxi, install eve-ng vmware workstation, install eve-ng on mac, install eve-ng on ubuntu, install eve-ng on azure, install eve-ng on esxi 6.7, how to install eve-ng iso on vmware workstation, install eve-ng on ubuntu 18.04, install eve-ng on ubuntu server, eve-ng setup, eve-ng installation guide, eve-ng add images, eve-ng windows 10, eve-ng tutorial, eve-ng lab, eve-ng, how to add vios images, cisco images, cisco images for eve
Id: XlL6g7jIT74
Channel Id: undefined
Length: 12min 34sec (754 seconds)
Published: Mon May 17 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.