How to Install Cisco IOU on GNS3 VM? – Experience is gained by designing network topologies on GNS3. We can use Cisco Layer 2 Switch and Layer 3 Switch on GNS3.
How to Install Cisco IOU on GNS3 VM?
How to Install Cisco IOU on GNS3 VM?
In the previously articles, we explained how to add Layer 2 Switch in GNS3 and how to add Layer 3 Switch in GNS3. We can easily use real Cisco Switch IOS in the GNS3 program. However, to fully utilize the Cisco switches we have added to GNS3, we need to configure Cisco IOU (IOS on Unix / Linux).
What is Cisco IOU?
Before we explain how to install Cisco IOU on GNS3 VM, let’s mention that what is Cisco IOU? The expansion of the Cisco IOU is IOS on Unix / Linux. In short, they are Cisco IOS running on Unix and Linux operating systems.
Cisco IOU functions are similar to Dynamips, but Cisco IOU uses fewer resources. In Dynamips we can simulate Cisco Router, Switch, we can add the same devices in IOU structure.
The use of Cisco IOS on Unix is designed for experimental purposes by Cisco employees. Distribution and duplication of Cisco IOU images on customers or on any platform are strictly prohibited.
The biggest advantage of using Cisco IOU is that you can make much bigger network designs than Dynamips. With the IOU, you can achieve even higher performance gains by installing a virtual machine on an external disk. And also, you do not have to fill your computer’s storage with GNS3 images and projects.
But in today’s Internet age everything is available. You can get these images by doing some research on the Internet. We apologize for not sharing these IOS images in this post.
What is GNS3 VM?
Initially, the GNS3 was simulating Cisco IOS images with Dynamips. In the course of time, while working on larger network designs, Dynamips has sought a solution due to its high resource utilization. And now, with the GNS3 Server on the virtual machine, less resource utilization has been reached.
One of the greatest advantages the process to install Cisco IOU on GNS3 VM benefits from Cisco’s advanced Switching capabilities. You can create and try more VLANs.
GNS3 VM can easily add as an import in the VMware Workstation infrastructure, or we can easily configure Cisco IOU settings.
Programs Required to Install Cisco IOU on GNS3 VM
Before downloading the programs required for GNS3 IOU VM installation, you need to install GNS3 1.5.4 and VMware Workstation 12.5.5 on your computer. In our previous tutorials, we talked about how to install GNS3 and how to install VMware Workstation 12 Pro.
Download GNS3 1.5.4
Download GNS3 VM 1.5.4
Download VMware Workstation 12.5.5
How to Connect Cisco IOU on GNS3 VM?
We can now move on to the steps to install Cisco IOU on GNS3 VM 1.5.4. After briefly discussing what is the Cisco IOU and what is the GNS3 VM, complete the following steps in order.
You can download the programs required to install Cisco IOU on GNS3 VM 1.5.4 from above buttons. Once you have unzipped the GNS3 VM, double click on it.
After the VMware Workstation program is opened, click the Import button to add the GNS3 OVA file to the virtual machine.
GNS3 VM VMware Workstation added to the virtual machine, you need to wait a while.
GNS3 OVA added to the virtual machine. Now, run the virtual machine.
GNS3 VM is the first boot image.
GNS3 VM is opening…
In the GNS3 IOU VM integration process looks like the image below after starting. Here we will configure using the GNS3 VM Ip address.
Press the Enter key on the OK option.
On the GNS3 VM configuration screen, press the Enter key on the Shell (Open a console) option.
In the GNS3 IOU VM installation, you will need the license file to install the IOS from your GNS3 Server. Here, some points blurred during licensing. As mentioned above, the distribution of Cisco IOU images strictly prohibited.
Given that you have Cisco IOU images, use the commands in the following image to look at the license file in the GNS3 root folder to use Cisco IOU images.[code] [email protected]:~$ sudo su
[email protected]:/home/gns3# ls
If you want to install GNS3 on Ubuntu, you can read the article called “How to Install GNS3 1.5.3 on Ubuntu 16.10?“.
To access the GNS3 VM root folder, we will use the WinSCP program. After you open the WinSCP program, type in the GNS3 VM Ip address. Next, type gns3 in the user name and password, and then press the Login button.
Click on the Yes button in the WinSCP program security warning.
As you can see in the following image, we are in the / home / gns3 / root folder. Copy the license file here.
Click on the OK button to complete the operation.
Our license file copied to the GNS3 VM root directory.
Go back to the GNS3 VM virtual machine and run the command file at the command prompt with the command python3 CiscoIOUKeygen.py. Next, you need to add the generated license number to the iourc.txt file.
On the desktop, create a text document named iourc.txt, and then enter and save the values as shown in the following image.
To do the basic configuration of the Cisco Switch, you can read the topic called “How to Configure Cisco Switch Step by Step?“.
Copy the iourc.txt file that you created into the GNS3 VM virtual machine location.
We have completed the most important steps to install Cisco IOU on GNS3 VM 1.5.4. Now run the GNS3 program. After opening GNS3, select Local GNS3 VM and click Next.
On the next screen, select VMware (Recommend), the GNS3 Server will automatically scan and the information will add. Click Next to continue.
It is connecting to GNS3 Server…
Before adding the Cisco IOU on the GNS3 Server, close the window as shown below.
To complete the GNS3 IOU license process, follow the Edit / Preferences path.
In the window that opens, select IOS on UNIX and click the Browse button to add the iourc file in the right pane.
From the GNS3 VM virtual machine location, select the iourc.txt file and click the Open button.
What is VPCS on GNS3? How to use VPCS? For the answer to the question, read the article called “How to Use VPCS in GNS3?“.
After adding the iourc file, click the Apply button to save the settings.
In the GNS3 Preferences window, click IOU Devices and then click the New button to add Layer 2 and Layer 3 Switches.
In the Server window that opens, click on the Next button.
Enter the Layer 2 Switch name you want to add, then click the Browse button. In the Type section, specify the Switch layer.
Select and add the Layer 2 Switch image.
Adding GNS3 VM Layer 2 Switch is complete. Click the Finish button.
The Layer 2 Switch successfully add as shown in the following image. Now click the New button again to add a Layer 3 Switch.
Click on the Next button.
Enter the Layer 3 Switch name and specify its type. Then click the Browse button to add the IOS image.
Layer 3 Switch installed on the GNS3 Server.
Adding GNS3 VM Layer 3 Switch successfully completed. Finish the process by clicking on the Finish button.
Click the OK button to close the window.
Add one Layer 2 Switch and one Layer 3 Switch to the GNS3 workspace. Then, run Cisco Switches.
In the Layer 2 Switch console window, for example, we created one VLAN.
When we apply the show vlan command on a Layer 2 Switch, we can see that the Switch works successfully.
How to backup Cisco IOS image to TFTP? For the answer to the question, you can read the article called “How to Backup Cisco IOS Image to TFTP Server?“.
How to Install Cisco IOU on GNS3 VM? ⇒ Video
You can watch how to install Cisco IOU on GNS3 VM 1.5.4 and then subscribe to our YouTube channel…
How to Install Cisco IOU on GNS3 VM? – In short, it is better to run Cisco IOU IOS images on the GNS3 Server. Using the IOU to work on CCNP or CCIE exams is a great requirement.
If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!
Also, you can add to the browser bookmarks by pressing the Ctrl+D to read this article later!