18th September 2021

Generate Cisco IOURC license key on GNS3 VM using Python 3

When I wanted to add IOU L2 Switch image on GNS3, I got the following license error.

Name and Image
Name and Image

 

gns3 license error

 

When I checked the license, I realized there was no license key.

IOS on Unix Preferences
IOS on Unix Preferences

I explained the solution :

1- Access the shell of your VM

shell of your VM
shell of your VM

 

2. Download the Keygen using the following command.

 

3. After download, run the following command to generate the license.

generate the license.
generate the license.

 

4. After running this command, a file called iourc.txt will be created.

 iourc.txt
iourc.txt

 

5. Copy and paste the license key in the file to the Preference> IOS on UNIX section of GNS3.

IOS on UNIX section
IOS on UNIX section

 

6. Finally, everything is green😀!!!

 

LEARN MORE  What is Data Loss Prevention (DLP)? Why should we use?

3 thoughts on “Generate Cisco IOURC license key on GNS3 VM using Python 3

  1. Had to do following to get it to work

    The CiscoIOUKeygen3f.py script has an error. You need to change the format in struct.pack() function to ‘!I’ instead of ‘!i’. The ‘i’ format is for signed integers whereas the ‘I’ format is for unsigned. The variable md5input is unsigned and therefore you need to use the ‘I’ format.

    https://gns3.com/community/featured/iou-4

Leave a Reply

Your email address will not be published. Required fields are marked *