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
1 2 3 4 5 6 7 8 9 10 11 |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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.
1 2 |
[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.
Arinal
December 19, 2018 - 5:30 pm
Terima kasih banyak atas ilmunya…