How to generate Cisco IOU license key in Eve ng

  Рет қаралды 27,098

itnetspace

itnetspace

4 жыл бұрын

Here the download link to Cisco license key:
1- sudo touch CiscoKey.py # Create CiscoKey.py in /opt/unetlab/addons/iol/bin
2- cd /opt/unetlabs/addons/iol/bin
3- sudo chmod +x CiscoKey.py
4- sudo ./CiscoKey.py
5- sudo touch iourc # Create iourc file
6- sudo nano iourc # Open and copy past the license
END

Пікірлер: 56
@aceraspire7160
@aceraspire7160 3 жыл бұрын
I was almost determined to give up using this laboratory, I'm not kidding. I even downloaded malware yesterday trying to find these two files. but thank god your video gave me the solution; made me want to continue. * Sorry if I made a typo. I don't speak English, and I used the Google translator to be able to post here on your video. Thank you very much brother, very grateful to share your knowledge. A hug. God be with you
@dark_mystic2267
@dark_mystic2267 3 жыл бұрын
I was in the same boat as Acer Aspire. I was ready to give up on Eve-NG as the IOL L2 and L3 Switch images were not starting (only 7200 Dynamips router image was working). But, this worked and I now able to use the Switches as well. Many thanks for your excellent step-by step video.
@itnetspace
@itnetspace 3 жыл бұрын
Thank you for comment
@emr1d341
@emr1d341 3 жыл бұрын
You're the best! Thank you so much! I actually had to tweak a couple things, but I eventually got it to work. Trying to fixpermissions using "/wrappers//unl wrapper" didn't seem to work, but a single "/" instead of "//" worked. I couldn't copy/paste license with a mouse (OracleVM). I was able to use FileZilla a .txt over and rename it. (Actually, the keygen I copy/pasted from your site didn't work, but I was able to find another one.) Ultimately, your guide got me to where I needed to get! Thanks a million! My future children also thank you.
@kukuman100
@kukuman100 3 жыл бұрын
It's wonderful! Many thanks.!
@almoosoi
@almoosoi 3 жыл бұрын
You're the best! Thanks PRO
@luthfanfarizan7830
@luthfanfarizan7830 3 жыл бұрын
Many thanks. very helpful for this case.
@itnetspace
@itnetspace 3 жыл бұрын
Glad it was helpful!
@user-en8gb3uq6h
@user-en8gb3uq6h 5 ай бұрын
Thank you for the share the valuable information.
@psnfilms
@psnfilms 4 жыл бұрын
Very helpful. Thank you! +1 sub
@mactech7459
@mactech7459 Ай бұрын
So helpful. Thank you!!
@thanhphunguyen2320
@thanhphunguyen2320 Жыл бұрын
Tks for your help
@deenaadam5878
@deenaadam5878 Жыл бұрын
hi sir, please how can i get the key generate python script ? the link below the video does not exist. Wish you help me
@maalrush9386
@maalrush9386 3 жыл бұрын
Fixed the issue by converting the script to python3 and also modifying some of the config: Steps: > vi Ciscokey.py press i for insert ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #! /usr/bin/python3 print("*********************************************************************") print("Cisco IOU License Generator - Kal 2011, python port of 2006 C version") import os import socket import hashlib import struct # get the host id and host name to calculate the hostkey hostid=os.popen("hostid").read().strip() hostname = socket.gethostname() ioukey=int(hostid,16) for x in hostname: ioukey = ioukey + ord(x) print("hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)[2:]) # create the license using md5sum iouPad1 = b'\x4B\x58\x21\x81\x56\x7B\x0D\xF3\x21\x43\x9B\x7E\xAC\x1D\xE6\x8A' iouPad2 = b'\x80' + 39*b'\0' md5input=iouPad1 + iouPad2 + struct.pack('!I', ioukey) + iouPad1 iouLicense=hashlib.md5(md5input).hexdigest()[:16] print(" Add the following text to ~/.iourc:") print("[license] " + hostname + " = " + iouLicense + "; ") with open("iourc.txt", "wt") as out_file: out_file.write("[license] " + hostname + " = " + iouLicense + "; ") print("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Already copy to the file iourc.txt ") print("You can disable the phone home feature with something like:") print(" echo '127.0.0.127 xml.cisco.com' >> /etc/hosts ") ++++++++++++++++++++++++++++++ press escape to get of insert mode !wq ! Grant execution permission: > chmod +x Ciscokey.py !Generate the key: > python3 Ciscokey.py Now you can use the generated key and save in iourc nano -c iourc End Good Luck:
@odchrono
@odchrono 2 жыл бұрын
This one is working for v5 free edition (thanks)
@tunhtet256
@tunhtet256 Жыл бұрын
Thank You
@ricewu8519
@ricewu8519 2 ай бұрын
Thanks! Your script is the real one working!!!
@chiragshetty8024
@chiragshetty8024 2 ай бұрын
Thanks it helped
@zahidaliAyaal
@zahidaliAyaal 4 жыл бұрын
many thanx
@jiramos11
@jiramos11 3 жыл бұрын
this method doesnt work for me either. the node (catalyst 3560) starts and then stops after a few seconds
@nabeehhn4090
@nabeehhn4090 3 жыл бұрын
hi, i faced the same problem please did you find a solution for this ??
@bravealikhan
@bravealikhan 4 жыл бұрын
Hi, Thanks for the video. How could we paste the script on Windows while running VMware Workstation 15 Player. I open the GNU nano 2.5.3 but I can't R-click or use Ctrl+V
@oqasho.
@oqasho. 4 жыл бұрын
Not within VMware. SSH into the session and paste into it.
@sbapungi1506
@sbapungi1506 4 жыл бұрын
@@oqasho.السلام عليكم انت تدرس لي ccna ?
@oqasho.
@oqasho. 4 жыл бұрын
@@sbapungi1506 انا خلصت ال ccna 😊
@emr1d341
@emr1d341 3 жыл бұрын
I had the same issue. I created a .txt on my computer, used FileZilla to get it to the right location in the vm, then renamed it. For the license itself (in the ioruc), I screenshotted and manually input.
@mohammedaklief2770
@mohammedaklief2770 Жыл бұрын
link it is not working ,can you write another link
@cavid782
@cavid782 2 жыл бұрын
sudo: unable to execute ./CiscoKey.py: No such file or directory this error why?
@MrGtagangster
@MrGtagangster Жыл бұрын
Go a few comments lower, Python3 needs to be used
@vaishakpd3867
@vaishakpd3867 4 жыл бұрын
It is working.how can i do it same on ASAv License
@ottowhassan6932
@ottowhassan6932 3 жыл бұрын
am still struggling in 5:39 , i cant view the license after typing the code sudo ./CiscoKey.py
@emr1d341
@emr1d341 3 жыл бұрын
I had the same issue. I think the problem was with the license. Here's what I ended up using. #! /usr/bin/python print "************************************************************************" print "Cisco IOU License Generator v2 - Kal 2011, python port of 2006 C version" import os import socket import hashlib import struct # get the host id and host name to calculate the hostkey hostid=os.popen("hostid").read().strip() hostname = socket.gethostname() ioukey=int(hostid,16) for x in hostname: ioukey = ioukey + ord(x) print "hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)[2:] # create the license using md5sum iouPad1='\x4B\x58\x21\x81\x56\x7B\x0D\xF3\x21\x43\x9B\x7E\xAC\x1D\xE6\x8A' iouPad2='\x80' + 39*'\0' md5input=iouPad1 + iouPad2 + struct.pack('!Q', ioukey)[4:] + iouPad1 iouLicense=hashlib.md5(md5input).hexdigest()[:16] print "************************************************************************" print "Add the following text to ~/.iourc:" print "[license] " + hostname + " = " + iouLicense + "; " print "************************************************************************" print "You can disable the phone home feature with something like:" print " echo '127.0.0.127 xml.cisco.com' >> /etc/hosts" print "************************************************************************"
@pramodrag
@pramodrag 3 жыл бұрын
@@emr1d341 Thanks for this Worked
@cavid782
@cavid782 2 жыл бұрын
@@emr1d341 not working bro(
@amitpatil1900
@amitpatil1900 4 жыл бұрын
i am running the python script...but not able to generate key...any solution?
@vigneshd5556
@vigneshd5556 4 жыл бұрын
SAME HERE ANY SOLUTION
@cavid782
@cavid782 2 жыл бұрын
@@vigneshd5556 +
@jasonboykins2888
@jasonboykins2888 3 жыл бұрын
I keep getting this when running the sudo ./Cisco.py command Cisco IOU License Generator - Kal 2011, python port of 2006 C version Modified to work with python3 by c_d 2014 hostid=8e0a0500, hostname=eve-comm1, ioukey=8e0a084a Traceback (most recent call last): File "./Cisco.py", line 21, in md5input=iouPad1 + iouPad2 + struct.pack('!i', ioukey) + iouPad1 struct.error: 'i' format requires -2147483648
@malachjacob
@malachjacob 3 жыл бұрын
Hello, I got the same thing
@FatzyRider
@FatzyRider 4 жыл бұрын
hi, i followed your script but when i click start on my router it will start and stop at the same time.
@johnd.1506
@johnd.1506 3 жыл бұрын
same here
@johnd.1506
@johnd.1506 3 жыл бұрын
were you able to fix it?
@axxoaxx288
@axxoaxx288 3 жыл бұрын
same issue for me... any solution..
@nabeehhn4090
@nabeehhn4090 3 жыл бұрын
did you fix it ??
@isaacnavarro1461
@isaacnavarro1461 Жыл бұрын
when I type "/opt/unetlab/wrappers/unl_wraper -a fixpermissions" it apears "ERROR: Unlicensed"
@itnetspace
@itnetspace Жыл бұрын
What error did you get?
@YesItsMe_Y
@YesItsMe_Y Жыл бұрын
@@itnetspace same here, only I recieve ERROR: Unlicensed when I do the fixpermissions command
@itnetspace
@itnetspace Жыл бұрын
Try this link: www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-iol-ios-on-linux/
@YesItsMe_Y
@YesItsMe_Y Жыл бұрын
@@itnetspace no, actually my issue is that I have mistakenly downloaded eve-pro which requires a license, but when I installed the normal client eve, issue just resolved, ty for ur reply!
@isaacnavarro1461
@isaacnavarro1461 Жыл бұрын
@@itnetspace I solved it when downloaded the normal eve not the PRO, thanks.
@robertosegundo234
@robertosegundo234 Жыл бұрын
do not exist youre site
@danfraser9257
@danfraser9257 Жыл бұрын
dead link man
@techsupport3463
@techsupport3463 5 ай бұрын
I have tried many times but getting this error =============================================================================== Cisco IOU License Generator - Kal 2011, python port of 2006 C version hostid=800a0200, hostname=myserver, ioukey=800a057d Traceback (most recent call last): File "CiscoIOUKeygen.py", line 18, in md5input=iouPad1 + iouPad2 + struct.pack('!i', ioukey) + iouPad1 struct.error: 'i' format requires -2147483648
Add Network Device Images to EVE-NG from CML
12:07
Data Knox
Рет қаралды 44 М.
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 4,2 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 24 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 8 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 3,9 МЛН
How to add Cisco IOU-IOL images to Eve-ng
6:23
Network Hunt
Рет қаралды 43 М.
Deploy a NEW ASAv to EVE-NG
11:31
Data Knox
Рет қаралды 9 М.
how to configure iou license in gns3
4:10
iShare
Рет қаралды 7 М.
Connect EVE-NG to the Internet And MORE with Cloud Types
11:16
CrowdStrike IT Outage Explained by a Windows Developer
13:40
Dave's Garage
Рет қаралды 2 МЛН
Add Cisco L2 & L3 Switches to EVE-NG | PCNSE
6:15
AA NetSec
Рет қаралды 10 М.
EVE-NG - How to add and license IOL in 5 minutes
6:08
Wisdom Pond
Рет қаралды 9 М.
How to add BIGIP in EVE-ng
21:02
IT Networking Geeks
Рет қаралды 13 М.
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 1,9 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,9 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 63 МЛН
ВАЖНО! Не проверяйте на своем iPhone после установки на экран!
0:19
ГЛАЗУРЬ СТЕКЛО для iPhone и аксессуары OTU
Рет қаралды 6 МЛН