From this tutorial you will learn how to configure IOU in GNS3 with a few simple steps and create your fully functional 99% real Cisco Switch Home Lab.
Print view | Previous topic | Next topic |
|
Author | Message |
---|
Posted: Thu Apr 24, 2014 8:20 am |
|
Joined: Thu Apr 24, 2014 8:04 am Posts: 3 | Hey guys, I am not exactly a noob when it comes to Unix/Linux, but I am also not an expert. Anyway, I have literally spent countless hours over the course of the last couple of weeks trying to get the IOU license to generate and let me begin to build my topology. I have read and followed the steps for cracking the license file outlined in this forum but I am still not able to get it to work. Here is my first issue when attempting to power on my IOUs: IOU License Error: invalid license License for key 3d8 required on host 'gns3-iouvm'. Obtain a license for this key and host from the following location: http://wwwin-enged.cisco.com/ios/iou/license/index.html Place in your iourc file as follows (see also the web page for further details on iourc file format and location) [license] gns3-iouvm = <16 char license>; I tried executing the CiscoIOUKeygen.py that someone kindly posted (python command does not work) and this is the output I see: [email protected]:/home# bash CiscoIOUKeygen.py Warning: unknown mime-type for '*********************************************************************' -- using 'application/octet-stream' Error: no such file '*********************************************************************' Warning: unknown mime-type for 'Cisco IOU License Generator - Kal 2011, python port of 2006 C version' -- using 'application/octet-stream' Error: no such file 'Cisco IOU License Generator - Kal 2011, python port of 2006 C version' CiscoIOUKeygen.py: line 4: import: command not found CiscoIOUKeygen.py: line 5: import: command not found CiscoIOUKeygen.py: line 6: import: command not found CiscoIOUKeygen.py: line 7: import: command not found CiscoIOUKeygen.py: line 9: syntax error near unexpected token `(' CiscoIOUKeygen.py: line 9: `hostid=os.popen('hostid').read().strip()'[/color] I am running Debian Jessie (same IOUvm provided on the GNS3 website). Also, here is are the contents of my IOURC file: [license] gns3-iouvm = 1020304050607080 *NOTE - I manually input the 16-character value seen above in the IOURC file. Any help would be greatly appreciated.
|
|
Top |
Posted: Thu Apr 24, 2014 10:27 am |
|
Joined: Sun Sep 16, 2012 9:55 pm Posts: 541 Location: England | The IOU license script shouldn't be run using bash (aka shell), as it is written in python. (They're different interpretors) Grab the script from: post28850.html#p28850 which will work with python 2.7 or python 3 From the terminal type in: python CiscoIOUKeygen.py This will then generate your license code _________________ Daniel Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS. Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!
|
|
Top |
Posted: Fri Apr 25, 2014 2:43 am |
|
Joined: Thu Apr 24, 2014 8:04 am Posts: 3 | Hi Dan, Thanks for your response. I tried running the script after uploading it to my VM but it still comes up with errors: [email protected]:/home/gns3/Documents/GNS3/images# python CiscoIOUKeygen10.py bash: python: command not found Any ideas?
|
|
Top |
Cisco Iou Keygen Pygmy 3
Posted: Fri Apr 25, 2014 4:07 am |
|
Joined: Sat Oct 11, 2008 1:41 pm Posts: 2668 Location: Canada | Any ideas? Yes, try python3 _________________ Jeremy, GNS3 Programmer & Benevolent Dictator for Life.
|
|
Top |
Posted: Mon Apr 28, 2014 3:41 am |
|
Joined: Thu Apr 24, 2014 8:04 am Posts: 3 | Hi Jeremy, Thank you for the quick response and sorry for my delayed response! I ran the following command shortly after posting my last message to this thread: python3 CiscoIOUKeygen.py That command executed without issue. I added the license key to my IOURC file and it worked like a charm! Thanks again to both you and Daniel for helping me out!!!
|
|
Top |
Posted: Fri May 30, 2014 3:19 pm |
|
Joined: Sun Nov 29, 2009 5:22 am Posts: 47 | do you have to edit anything in the file? I got an error python3 CiscoIOUKeygen.py File 'CiscoIOUKeygen.py', line 2 print '*********************************************************************' ^ SyntaxError: invalid syntax
|
|
Top |
Cisco Iou Keygen Pygmy Download
Posted: Fri May 30, 2014 3:40 pm |
|
Joined: Sun Sep 16, 2012 9:55 pm Posts: 541 Location: England | do you have to edit anything in the file? I got an error python3 CiscoIOUKeygen.py File 'CiscoIOUKeygen.py', line 2 print '*********************************************************************' ^ SyntaxError: invalid syntax Try the updated version of the script... post28850.html#p28850
_________________ Daniel Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS. Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!
|
|
Top |
Download Cisco Iou