Generate Cisco iourc license key on GNS3 VM with Python 3

Pada GNS3 versi 2, keluar error “License section not found in iourc file /tmp/tmpldzkb0j6/iourc” saat running IOU image di GNS3. Untuk memperbaikinya bisa dengan generate iourc.txt dan upload via GNS3 GUI secara manual.

Melalui shell GNS3, open console

Download file CiscoIOUKeygen3f.py di www.ipvanquish.com

gns3@gns3vm:~$ wget http://www.ipvanquish.com/download/CiscoIOUKeygen3f.py
--2018-02-24 13:09:42--  http://www.ipvanquish.com/download/CiscoIOUKeygen3f.py
Resolving www.ipvanquish.com (www.ipvanquish.com)... 103.64.148.113, 64:ff9b::6740:9471, 64:ff9c::6740:9471
Connecting to www.ipvanquish.com (www.ipvanquish.com)|103.64.148.113|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1201 (1.2K)
Saving to: ‘CiscoIOUKeygen3f.py’

100%[======================================>] 1,201       --.-K/s   in 0s      

2018-02-24 13:09:43 (37.7 MB/s) - ‘CiscoIOUKeygen3f.py’ saved [1201/1201]

Lalu eksekusi file tersebut

gns3@gns3vm:~$ python3 CiscoIOUKeygen3f.py
*********************************************************************
Cisco IOU License Generator - Kal 2011, python port of 2006 C version
hostid=00000000, hostname=gns3vm, ioukey=25e

Add the following text to ~/.iourc:
[license]
gns3vm = 7xxxxxxxxxxxxxxx;;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Already copy to the file iourc.txt
 
You can disable the phone home feature with something like:
 echo '127.0.0.127 xml.cisco.com' >> /etc/hosts

Copy bagian [license] ke file txt dan diberi nama file iourc.txt.

[license]
gns3vm = 7xxxxxxxxxxxxxxx;

Di GNS3, buka Preferences lalu di bagian IOS on UNIX pilih Browse > masukkan file iourc.txt tadi.

Sekarang seharusnya sudah tidak ada masalah license iourc lagi di GNS3.

F5 LTM and ISE 2.0 TACACS Integration
Install Automation Tools on Ubuntu 16.04

Comments

  1. Terima kasih banyak atas ilmunya…

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.