You are on page 1of 7

Hi Folks,

Another way to run SROS-VM is under GNS3, that is much easier if your are
not familiar with Linux environments.

Other advantage with this approach is to run some interop tests with Cisco
and Juniper routers. See below, where R9 and R10 are Cisco IOS 7200
images:

You just need to install GNS3 full from www.gns3.com , with QEMU
included.

In the Preferences section add a new QEMU VM, in my case I named


SROS, and configure SROS-VM image as QEMU hda disk.
Change also memory RAM to 1920 MB; Network Adapter to 6 (E0 will
be the management interface, E1 to E5 will be port 1/1/1..5) and
e1000 type , and as additional settings -smp 2 .
After that you can create your SR routers just dragging from the left Devices
Menu to the main area.
To start the router just right click on it and select Start, wait for some
seconds and right click again and select Console. You will have the QEMU
console and the Router console where you can see the booting process.
After that, just log in and do your usual configuration (add card and MDA
first).
But there is a catch, GNS3 is not saving the configuration of our VM's as it
does with Cisco images, so you need to go to each QEMU console, click on
it and press Ctrl+alt+2, it will send you to the virtual console of QEMU.

Do the command savevm 1 it will save a snapshot of your disk, that will
contain the SR configuration (do a ADMIN SAVE first on the router console).
This snapshot will be used in the next boot, so you do not loose your
configuration if you close the GNS3 application. After that, it is good to do a
Save Project on GNS3.

You must have just one snapshot per VM, you can check with the command
info snapshots in the QEMU console, if you have more than one, delete
all with delvm # where # is the snapshot you want to delete.
In case of mac users, you have to update the QEMU binary to version 2.1.1,
here is the link: http://ufpr.dl.sourceforge.net/project/gns-
3/Qemu/Mac%20OS%20X/QEMU-2.1.1-GNS3-OSX.zip

If you find another way to save or have any doubt, let me know.

Regards.