How To Run IOL Images
How To Run IOL Images
1. WinSCP
2. L2 IOL image : i86bi-linux-l2-ipbasek9-15.1g.bin
3. L3 IOL image : i86bi-linux-l3-adventerprisek9-15.4.1T.bin
4. CiscoKeyGen.py
Steps
WinSCP is used to log into your VM and to copy files from your local machine to Unetlab VM.
2. Move both IOL files from Desktop to Unetlab VM
As shown below, Left side window is your local machine and Right side is the Unetlab VM
On left side navigate to IOL images path.
On right side navigate to /opt/unetlab/addons/iol/bin
Copy both bin files to this location in VM
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
4. We need iourc file(contains license) for our bin files. So here is where python code comes into picture.
Download CiscoKeyGen.py python code, move it into Unetlab VM’s root directory (using WinSCP) and execute it.
As you can see license number is generated starting with “be60*******”
5. Creating license file
[license]
(none) = be60********;
Use license number generated on your VM. In my case be60…..blah blah blah
Here “(none)” is the username of VM.
7- TESTING CISCO IOU/IOL IMAGES
IOU/IOL license is bound to the hostname and domain name. A test should be made to check if IOU/IOL
images can run properly:
cd /opt/unetlab/addons/iol/bin
touch NETMAP
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L3-
ADVENTERPRISEK9_IVS-M-15.3-0.9T.bin 1
***************************************************************
IOS On Unix - Cisco Systems confidential, internal use only
Under no circumstances is this software to be provided to any
non Cisco staff or customers. To do so is likely to result
in disciplinary action. Please refer to the IOU Usage policy at
wwwin-iou.cisco.com for more information.
***************************************************************
If the IOL/IOU instance doen’t start, then you won’t be able to use IOL/IOU nodes inside UNetLab.
6. That is it.
You are ready to go.
Open Unetlab in browser and add a node in Lab.
Select template as Cisco IOL.
As you can see 2 bin images have appeared.
Select L3 image for router.
7. Start the node and click on Router icon to get CLI
Posted in Unetlab.
Post navigation