Add Cisco image to EVE ng

This article will demonstrate on how to add IOU/IOL images to eve-ng
1- Download Cisco IOU/IOL Images Eve-ng -using the following link
https://drive.google.com/open?id=1pHUz91pWEaYjNbdQ_Mta38V45WtFHexg
https://drive.google.com/open?id=1bb2aAn2lbOFiaBlqM_uT6A7c0lOkPJ2J
2- Add Cisco IOU/IOL images to Eve-ng:Upload the downloaded image to the EVE using for example FileZilla or WinSCP to the path:  /opt/unetlab/addons/iol/bin
3-Type following command to fix permissions:
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
4-Download the License file for Cisco IOU/IOL images - using the following link and upload it to Eve-ng directory: /opt/unetlab/addons/iol/bin/
https://drive.google.com/open?id=1AmzZ9he9CsGxwQ1QOiYWFMhdGgpzXZo9
https://drive.google.com/open?id=1rv8R0vLm1zcyNGwZE8UcKgDT8KqafcKa
5-go the directory /opt/unetlab/addons/iol/bin/ using the following command
cd /opt/unetlab/addons/iol/bin/
6-run the python script that exists in the license file
python2 CiscoIOUKeygen.py
7- Add the license number for IOU/IOL images to the file named iourc in the path
/opt/unetlab/addons/iol/bin
nano - c iourc
paste the license and press ctrl+x to save
or
you can create a file called iourc on your machine and copy the follwing text inside it
[license]
eve-ng = 972f30267ef51616;
Then upload it to the path:/opt/unetlab/addons/iol/bin
8-Enjoy using routers and layer2 switches
The following video show you how exactly do that:

Related Links:

CUCM UNITY IM and Presence Memory Usage / Utilization command

configure cisco router as ntp server and as ntp client

Keywords:
Adding Cisco Routers and Switches to EVE by adding IOU/IOL images to EVE 1.1 - Add Cisco IOU/IOL Images into EVE-NG/UNL and get License license for iol images in eve - eve cisco router eve cisco switches eve layer 3 switches
how to add cisco router to eve-ng
how to add cisco router in eve-ng
How To add Dynamips images (Cisco IOS) - Eve-NG
EVE-NG supports 3 Cisco Router Images using the Dynamips
How to Install Cisco IOS in EVE-NG  YouTube
EVE-NG Default IDLE PC | The CCIE Journey
EVE-NG – Load IOL images – Networking

EVE-NG : How to add cisco c3725 and c7200 images latest Adding cisco c3725 and c7200 images and have also shown that how to create labs in eve-ng. Links give below to download cisco IOS images and required software: https://drive.google.com/drive/folders/19ucXiXDfWrKEE3hPjOret_TocidEJy0G?usp=sharing (Cisco IOS Images) https://winscp.net/eng/download.php (Download Winscp) http://eve-ng.com/index.php/downloads/windows-client-side-pack (Windows Client)

Published by: InterNetwork Training

Published at: 4 years ago

Category: علمی و تکنولوژی

Step by Step Procedure to Add Cisco VIRL vIOS to Eve-ng

  1. Download Cisco VIRL vIOS qcow2
    2. Create the Cisco VIRL vIOS directory in EVE-ng
    3. Use Filezilla/WinSCP to upload the Cisco VIRL vIOS image to Eve-ng
    4. Fix the Permission
    5. Add the Cisco VIRL vIOS node to Eve-NG and Enjoy

IOSv image download free Or you can download EVE-NG images to use original vendor images, Download here

Now is the time to connect to the EVE-NG web interface and create a new LAB

here we’ll give a name and description to the LAB

and here will right-click and a new node

by typing io (to see cisco vios router and switch)

So here we should upload the cisco vios router and switch to the eve-ng by Filezilla or WinScp.

You can see the vios folders that have been uploaded to the eve-ng with Filezilla

Note here the name of vios switch or router should be virtioa.qcow2

Now is the time to connect to eve-ng with putty and apply fixpermission command ” /opt/unetlab/wrappers/unl_wrapper -a fixpermissions”

Now we need to verify whether that cisco switch vios is installed or not?

And yes we have deployed the Cisco VIRL vIOS image to EVE-NG.

and finally, we need to add cisco vios l3 and l2 router and switch to the lab and simply start them like below👇

If you need to know how to practice Vlaning and Trunking with Cisco vIOS please watch my video on youtube👇

Website: https://dynamips.store/

Dynamips is a Cisco router emulator. Supported platforms are 1700, 2600, 3600, 3700 and 7200 routers. Each IOS has an associated Idle PC value. Idle PC is used to map the idle instruction of the running IOS to the idle instruction of the UNetLab platform. With a good Idle PC value, the CPU usage should be less than 10% for each instance.

Eve-ng is a platform where you can add Cisco routers images and can do unlimited practice for your certification. In Eve-ng you can practice lab up to CCIE level

We will tell you step by step process of How to add Cisco IOS images to EVE-ng

Content-
1. Supported Dyanamips Images
2. Download Cisco IOS (Dyanamips Images)
3. Importing Cisco IOS image to Eve-ng
4. Calculating Idle-PC

if you want to practice Cisco ASA / IOU/ IOL on eve-ng for your certification or knowledge then check below posts-

How to add Cisco IOU/IOL to Eve-ng

How to add Cisco ASAv to Eve-ng

1. SUPPORTED DYNAMIPS IMAGES

EVE Image NameDownloaded FilenameVersionvRAMIdle PC
c1710-bk9no3r2sy-mz.124-23.image c1710-bk9no3r2sy-mz.124-23.bin C1710-BK9NO3R2SY-M 12.4(23) 96 0x80369ac4
c3725-adventerprisek9-mz.124-15.T14.image c3725-adventerprisek9-mz.124-15.T14.bin C3725-ADVENTERPRISEK9-M 12.4(15)T14 256 0x60c08728
c7200-adventerprisek9-mz.152-4.S2.image c7200-adventerprisek9-mz.152-4.S2.bin C7200-ADVENTERPRISEK9-M 15.2(4)S2 512 0x60630d5c
c7200-adventerprisek9-mz.152-4.S6.image c7200-adventerprisek9-mz.152-4.S6.bin C7200-ADVENTERPRISEK9-M 15.2(4)S6 512 0x62f224ac

2. Download Cisco IOS (Dynamips images) Eve-ng

Images provided below are strictly for education purpose and are not hosted on networkhunt.com server. We are just indexing the links find on internet for education purpose only.

You can download Cisco IOS (dynamips images) from below links.
1. Cisco Website (Cisco Access required to download images from cisco website.
2. Mega
https://mega.nz/#F!fpxnXIKB!twpa-jzH4ReWZFq5uZENZg

If you are uploading the zip file then install the required package-

Install required packages:
apt-get -y install unzip

Upload the downloaded image to the Eve-ng master node using for example FileZilla or WinSCP. Then login as root using SSH protocol and uncompress it:

Create tmp directory
mkdir abc

Using EVE CLI, uncompress original image. Output file extension must be .image. Be sure you are using properly your source and output filenames.

cd abc
unzip -p c1710-bk9no3r2sy-mz.124-23.bin > c1710-bk9no3r2sy-mz.124-23.image

Move uncompressed image to destination folder:
mv c1710-bk9no3r2sy-mz.124-23.image /opt/unetlab/addons/dynamips/

Clean and fix permissions:
cd
rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

4. CALCULATING IDLE PC

If an unsupported image is added to the UNetLab platform, an Idle PC value must be identified. Start a Dynamips instance with basic configuration:

dynamips -P 1700 -t 1710 /opt/unetlab/addons/dynamips/c1710-bk9no3r2sy-mz.124-23.image

CPU usage is very high, a whole CPU for each instance:

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 3521 root      20   0  412236 125408 109904 S 99.5 25.4   3:27.82 dynamips

Wait for the following line on the console:

Would you like to enter the initial configuration dialog? [yes/no]:

Exit from initial configuration dialog, and quit to get the con0 prompt:

Router con0 is now available

Press RETURN to get started.

After few more seconds press CTRL + ] then i. Dynamips will show suggested Idle PC values:

Please wait while gathering statistics...
Done. Suggested idling PC:
   0x80369ac4 (count=35)
   0x8023afac (count=51)
   0x8023b008 (count=30)
   0x8023b050 (count=27)
   0x803637a0 (count=38)
   0x80363984 (count=20)
   0x80363ccc (count=28)
   0x80363d48 (count=28)
   0x80363d78 (count=74)
   0x803645d0 (count=76)
Restart the emulator with "--idle-pc=0x80369ac4" (for example)

Select one and restart dynamips with the IDle PC value:

dynamips -P 1700 -t 1710 --idle-pc 0x80369ac4 /opt/unetlab/addons/dynamips/c1710-bk9no3r2sy-mz.124-23.image

If CPU usage is lower, then a good Idle PC value has been found:

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 3598 root      20   0  346700 125328 109828 S  5.3 25.3   0:03.98 dynamips

Usually the highest value of IDLE PC will best for your CPU. In the calculation above it is 76. Copy value of IDLE PC to the notepad and we can start test best value fit for your Dynamips node.

To stop dynamips router calculation mode use:

Key combo CTRL and ] then q

Go to EVE WEB GUI, add your Dynamips node and change IDLE PC value to calculated, save and start node.

Add Cisco image to EVE ng

Check your CPU with top command (cpu check section above)

If CPU usage is lower, then a good IDLE PC value has been found:

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 3598 root      20   0  346700 125328 109828 S  5.3 25.3   0:03.98 dynamips

If CPU is still high, then another value must be tested.

How do I add a Cisco image to Eve

Make sure you are using US/EN keyboard on your terminal. SSH to the EVE to obtain cli access, and create temporary directory abc. Upload original Cisco image binary file to temporary directory abc. The best for upload is FileZilla or WinSCP.

How do I install an image in Eve

Ready to go Linux image pack for EVE.
Using Putty or other telnet client, CLI SSH (TCP 22) to your EVE and go to location: cd /opt/unetlab/addons/qemu/.
Unzip your uploaded image file, make sure you are using right name of uploaded image. ... .
Remove raw zipped image file from EVE rm -f linux-ubuntu-desktop-16.04.4.tar.gz..

How do I add a virl Vios image to Eve

From the EVE cli, go to newly created image folder..
cd /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-1.T/.
/opt/qemu/bin/qemu-img convert -O qcow2 vios-adventerprisek9-m.SPA.156-1.T.vmdk virtioa.qcow2..
rm /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-1.T/vios-adventerprisek9-m.SPA.156-1.T.vmdk..