<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: exos vm  gns3 and virl in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-vm-gns3-and-virl/m-p/30744#M5300</link>
    <description>Brian,&lt;BR /&gt;
&lt;BR /&gt;
Please download one of these qcow2 images to use with qemu:&lt;BR /&gt;
- v16.1.1.4: &lt;A href="https://www.dropbox.com/s/0vkzfy3wgt3o7hb/EXOS-VM_v16.1.1.4-disk1.qcow2?dl=0" target="_blank" rel="nofollow noreferrer noopener"&gt;https://www.dropbox.com/s/0vkzfy3wgt3o7hb/EXOS-VM_v16.1.1.4-disk1.qcow2?dl=0&lt;/A&gt;&lt;BR /&gt;
- v21.1.1.4: &lt;A href="https://www.dropbox.com/s/9w5mh58uchoug6y/EXOS-VM_v21.1.1.4-disk1.qcow2?dl=0" target="_blank" rel="nofollow noreferrer noopener"&gt;https://www.dropbox.com/s/9w5mh58uchoug6y/EXOS-VM_v21.1.1.4-disk1.qcow2?dl=0&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Using those I created qemu VM's in GNS3 an the cli used by GNS3 is:&lt;BR /&gt;
&lt;BR /&gt;
/usr/bin/qemu-system-i386 -name EXOS VM 21.1.1.4-1 -m 256M -smp cpus=1  -enable-kvm -boot order=c -drive  file=/opt/gns3/projects/b1e4d40d-aac5-4f29-9637-2511dce36db4/project-files/qemu/a59c2f3f-1079-4a1a-9821-d26d4c87fda4/hda_disk.qcow2,if=ide,index=0,media=disk  -serial telnet:0.0.0.0:2015,server,nowait -monitor  tcp:127.0.0.1:40457,server,nowait -net none -device  rtl8139,mac=00:00:ab:fd:a4:00 -device rtl8139,mac=00:00:ab:fd:a4:01  -device rtl8139,mac=00:00:ab:fd:a4:02 -device  rtl8139,mac=00:00:ab:fd:a4:03 -device rtl8139,mac=00:00:ab:fd:a4:04  -device rtl8139,mac=00:00:ab:fd:a4:05 -device  rtl8139,mac=00:00:ab:fd:a4:06 -device rtl8139,mac=00:00:ab:fd:a4:07  -device rtl8139,mac=00:00:ab:fd:a4:08 -device  rtl8139,mac=00:00:ab:fd:a4:09 -device rtl8139,mac=00:00:ab:fd:a4:0a  -device rtl8139,mac=00:00:ab:fd:a4:0b -device  rtl8139,mac=00:00:ab:fd:a4:0c -nographic -cpu core2duo -nographic&lt;BR /&gt;
&lt;BR /&gt;
Where it says &lt;BR /&gt;
file=/opt/gns3/projects/b1e4d40d-aac5-4f29-9637-2511dce36db4/project-files/qemu/dfd80978-3796-4994-a8ce-9fd8845ba21e/hda_disk.qcow2&lt;BR /&gt;
you should replace that with one of the two qcow2 images I've pointed you to. In this case, it was the v21.1.1.4.qcow2 image.&lt;BR /&gt;
&lt;BR /&gt;
I guess you can drop all the -netdev entries, unless you want to specify the mac addresses of the different ports&lt;BR /&gt;
&lt;BR /&gt;
I hope this helps you.&lt;BR /&gt;
&lt;BR /&gt;
﻿</description>
    <pubDate>Wed, 27 Apr 2016 15:52:00 GMT</pubDate>
    <dc:creator>dflouret</dc:creator>
    <dc:date>2016-04-27T15:52:00Z</dc:date>
    <item>
      <title>exos vm  gns3 and virl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-vm-gns3-and-virl/m-p/30743#M5299</link>
      <description>how to get it working properly...&lt;BR /&gt;
&lt;BR /&gt;
i have been attempting a number of different ways to implement the 16.1.2 vm in both gns3 and virl...&lt;BR /&gt;
&lt;BR /&gt;
i have the most success at the command line with qemu&lt;BR /&gt;
&lt;BR /&gt;
here is the procedure whereby i can get it to boot in a window at the cmd line:&lt;BR /&gt;
&lt;BR /&gt;
make an image container&lt;BR /&gt;
&lt;BR /&gt;
sudo qemu-img create -f qcow2 /var/lib/libvirt/images/exos_cmd.img 3G&lt;BR /&gt;
&lt;BR /&gt;
add x86 config commands &lt;BR /&gt;
&lt;BR /&gt;
sudo qemu-system-x86_64 -m 1024 -hda  /var/lib/libvirt/images/exos_cmd.img -cdrom /home/ccie/images/ios/exospc-16.1.2.14.iso -boot d&lt;BR /&gt;
&lt;BR /&gt;
and this final command will get me to a login:&lt;BR /&gt;
&lt;BR /&gt;
sudo qemu-system-x86_64  -hda   exos.img -cpu core2duo&lt;BR /&gt;
&lt;BR /&gt;
i have been attempting a combination of virsh and virt-manager with little success... seems the hang up is with -cpu core2duo support in virt-manager. see my xml below:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DOMAIN type="kvm" id="20"&gt;&lt;BR /&gt;
  &lt;NAME&gt;exos_cmd&lt;/NAME&gt;&lt;BR /&gt;
  &lt;U&gt;b498fc1a-f3b0-9f06-2e46-0c4ba186dd3c&lt;/U&gt;&lt;/DOMAIN&gt;&lt;BR /&gt;
  &lt;MEMORY unit="KiB"&gt;1048576&lt;/MEMORY&gt;&lt;BR /&gt;
  &lt;CURRENTMEMORY unit="KiB"&gt;1048576&lt;/CURRENTMEMORY&gt;&lt;BR /&gt;
  &lt;VCPU placement="static"&gt;1&lt;/VCPU&gt;&lt;BR /&gt;
  &lt;RESOURCE&gt;&lt;BR /&gt;
    /machine&lt;/RESOURCE&gt;&lt;BR /&gt;
  &lt;BR /&gt;
  &lt;OS&gt;&lt;BR /&gt;
    &lt;TYPE arch="x86_64" machine="pc-i440fx-trusty"&gt;hvm&lt;/TYPE&gt;&lt;BR /&gt;
    &lt;B&gt;&lt;BR /&gt;
    &lt;B&gt;&lt;BR /&gt;
  &lt;/B&gt;&lt;/B&gt;&lt;/OS&gt;&lt;BR /&gt;
  &lt;FEATURES&gt;&lt;BR /&gt;
    &lt;ACPI&gt;&lt;/ACPI&gt;&lt;BR /&gt;
    &lt;APIC&gt;&lt;/APIC&gt;&lt;BR /&gt;
    &lt;BR /&gt;
  &lt;/FEATURES&gt;&lt;BR /&gt;
  &lt;CLOCK offset="utc"&gt;&lt;/CLOCK&gt;&lt;BR /&gt;
  &lt;ON_POWEROFF&gt;destroy&lt;/ON_POWEROFF&gt;&lt;BR /&gt;
  &lt;ON_REBOOT&gt;destroy&lt;/ON_REBOOT&gt;&lt;BR /&gt;
  &lt;ON_CRASH&gt;destroy&lt;/ON_CRASH&gt;&lt;BR /&gt;
  &lt;DEVICES&gt;&lt;BR /&gt;
    &lt;I&gt;/usr/bin/kvm-spice&lt;/I&gt;&lt;/DEVICES&gt;&lt;BR /&gt;
    &lt;DISK type="file" device="disk"&gt;&lt;BR /&gt;
      &lt;DRIVER name="qemu" type="qcow2"&gt;&lt;/DRIVER&gt;&lt;BR /&gt;
      &lt;SOURCE file="/var/lib/libvirt/images/exos_cmd.img"&gt;&lt;/SOURCE&gt;&lt;BR /&gt;
      &lt;TARGET dev="vda" bus="virtio"&gt;&lt;/TARGET&gt;&lt;BR /&gt;
      &lt;ALIAS name="virtio-disk0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"&gt;&lt;BR /&gt;
    &lt;/ADDRESS&gt;&lt;/DISK&gt;&lt;BR /&gt;
    &lt;DISK type="file" device="cdrom"&gt;&lt;BR /&gt;
      &lt;DRIVER name="qemu" type="raw"&gt;&lt;/DRIVER&gt;&lt;BR /&gt;
      &lt;SOURCE file="/home/ccie/images/ios/exospc-16.1.2.14.iso"&gt;&lt;/SOURCE&gt;&lt;BR /&gt;
      &lt;TARGET dev="hdc" bus="ide"&gt;&lt;/TARGET&gt;&lt;BR /&gt;
      &lt;READONLY&gt;&lt;/READONLY&gt;&lt;BR /&gt;
      &lt;ALIAS name="ide0-1-0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="drive" controller="0" bus="1" target="0" unit="0"&gt;&lt;BR /&gt;
    &lt;/ADDRESS&gt;&lt;/DISK&gt;&lt;BR /&gt;
    &lt;CONTROLLER type="usb" index="0"&gt;&lt;BR /&gt;
      &lt;ALIAS name="usb0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"&gt;&lt;BR /&gt;
    &lt;/ADDRESS&gt;&lt;/CONTROLLER&gt;&lt;BR /&gt;
    &lt;CONTROLLER type="pci" index="0" model="pci-root"&gt;&lt;BR /&gt;
      &lt;ALIAS name="pci.0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
    &lt;/CONTROLLER&gt;&lt;BR /&gt;
    &lt;CONTROLLER type="ide" index="0"&gt;&lt;BR /&gt;
      &lt;ALIAS name="ide0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"&gt;&lt;BR /&gt;
    &lt;/ADDRESS&gt;&lt;/CONTROLLER&gt;&lt;BR /&gt;
    &lt;I&gt;&lt;BR /&gt;
      &lt;MAC address="52:54:00:a2:b8:15"&gt;&lt;/MAC&gt;&lt;BR /&gt;
      &lt;SOURCE bridge="br0"&gt;&lt;/SOURCE&gt;&lt;BR /&gt;
      &lt;TARGET dev="vnet1"&gt;&lt;/TARGET&gt;&lt;BR /&gt;
      &lt;MODEL type="virtio"&gt;&lt;/MODEL&gt;&lt;BR /&gt;
      &lt;ALIAS name="net0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"&gt;&lt;BR /&gt;
    &lt;BR /&gt;
    &lt;SERIAL type="pty"&gt;&lt;BR /&gt;
      &lt;SOURCE path="/dev/pts/10"&gt;&lt;/SOURCE&gt;&lt;BR /&gt;
      &lt;TARGET port="0"&gt;&lt;/TARGET&gt;&lt;BR /&gt;
      &lt;ALIAS name="serial0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
    &lt;/SERIAL&gt;&lt;BR /&gt;
    &lt;CONSOLE type="pty" tty="/dev/pts/10"&gt;&lt;BR /&gt;
      &lt;SOURCE path="/dev/pts/10"&gt;&lt;/SOURCE&gt;&lt;BR /&gt;
      &lt;TARGET type="serial" port="0"&gt;&lt;/TARGET&gt;&lt;BR /&gt;
      &lt;ALIAS name="serial0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
    &lt;/CONSOLE&gt;&lt;BR /&gt;
    &lt;I&gt;&lt;BR /&gt;
    &lt;I&gt;&lt;BR /&gt;
    &lt;GRAPHICS type="vnc" port="5901" autoport="yes" listen="127.0.0.1"&gt;&lt;BR /&gt;
      &lt;BR /&gt;
    &lt;/GRAPHICS&gt;&lt;BR /&gt;
    &lt;VIDEO&gt;&lt;BR /&gt;
      &lt;MODEL type="cirrus" vram="9216" heads="1"&gt;&lt;/MODEL&gt;&lt;BR /&gt;
      &lt;ALIAS name="video0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"&gt;&lt;BR /&gt;
    &lt;/ADDRESS&gt;&lt;/VIDEO&gt;&lt;BR /&gt;
    &lt;MEMBALLOON model="virtio"&gt;&lt;BR /&gt;
      &lt;ALIAS name="balloon0"&gt;&lt;/ALIAS&gt;&lt;BR /&gt;
      &lt;ADDRESS type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"&gt;&lt;BR /&gt;
    &lt;/ADDRESS&gt;&lt;/MEMBALLOON&gt;&lt;BR /&gt;
  &lt;BR /&gt;
  &lt;SECLABEL type="dynamic" model="apparmor" relabel="yes"&gt;&lt;BR /&gt;
    &lt;LABEL&gt;libvirt-b498fc1a-f3b0-9f06-2e46-0c4ba186dd3c&lt;/LABEL&gt;&lt;BR /&gt;
    &lt;I&gt;libvirt-b498fc1a-f3b0-9f06-2e46-0c4ba186dd3c&lt;/I&gt;&lt;/SECLABEL&gt;&lt;BR /&gt;
  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
it seems i cannot pass the cpu command core2duo as an argument during runtime in virsh, nor in virt manager... in fact virt-manager errors out when i try to select core2duo complaining it is incompatible with host cpu (dual intel xeons, btw)&lt;BR /&gt;
&lt;BR /&gt;
i understand that there are methods to pass cmd line args from qemu into virsh, although i have not had success with that yet...&lt;BR /&gt;
&lt;BR /&gt;
if there is anyone who might have an idea how to proceed i'd appreciate it.. also anyone with any luck using UNL or VIRL..&lt;BR /&gt;
&lt;BR /&gt;
i have vmware 12 ws pro that i will attempt making exos vm in, however i'd prefer to use kvm...&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;&lt;/ADDRESS&gt;&lt;/I&gt;</description>
      <pubDate>Mon, 18 Apr 2016 22:32:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-vm-gns3-and-virl/m-p/30743#M5299</guid>
      <dc:creator>brian_osgoiod</dc:creator>
      <dc:date>2016-04-18T22:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: exos vm  gns3 and virl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-vm-gns3-and-virl/m-p/30744#M5300</link>
      <description>Brian,&lt;BR /&gt;
&lt;BR /&gt;
Please download one of these qcow2 images to use with qemu:&lt;BR /&gt;
- v16.1.1.4: &lt;A href="https://www.dropbox.com/s/0vkzfy3wgt3o7hb/EXOS-VM_v16.1.1.4-disk1.qcow2?dl=0" target="_blank" rel="nofollow noreferrer noopener"&gt;https://www.dropbox.com/s/0vkzfy3wgt3o7hb/EXOS-VM_v16.1.1.4-disk1.qcow2?dl=0&lt;/A&gt;&lt;BR /&gt;
- v21.1.1.4: &lt;A href="https://www.dropbox.com/s/9w5mh58uchoug6y/EXOS-VM_v21.1.1.4-disk1.qcow2?dl=0" target="_blank" rel="nofollow noreferrer noopener"&gt;https://www.dropbox.com/s/9w5mh58uchoug6y/EXOS-VM_v21.1.1.4-disk1.qcow2?dl=0&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Using those I created qemu VM's in GNS3 an the cli used by GNS3 is:&lt;BR /&gt;
&lt;BR /&gt;
/usr/bin/qemu-system-i386 -name EXOS VM 21.1.1.4-1 -m 256M -smp cpus=1  -enable-kvm -boot order=c -drive  file=/opt/gns3/projects/b1e4d40d-aac5-4f29-9637-2511dce36db4/project-files/qemu/a59c2f3f-1079-4a1a-9821-d26d4c87fda4/hda_disk.qcow2,if=ide,index=0,media=disk  -serial telnet:0.0.0.0:2015,server,nowait -monitor  tcp:127.0.0.1:40457,server,nowait -net none -device  rtl8139,mac=00:00:ab:fd:a4:00 -device rtl8139,mac=00:00:ab:fd:a4:01  -device rtl8139,mac=00:00:ab:fd:a4:02 -device  rtl8139,mac=00:00:ab:fd:a4:03 -device rtl8139,mac=00:00:ab:fd:a4:04  -device rtl8139,mac=00:00:ab:fd:a4:05 -device  rtl8139,mac=00:00:ab:fd:a4:06 -device rtl8139,mac=00:00:ab:fd:a4:07  -device rtl8139,mac=00:00:ab:fd:a4:08 -device  rtl8139,mac=00:00:ab:fd:a4:09 -device rtl8139,mac=00:00:ab:fd:a4:0a  -device rtl8139,mac=00:00:ab:fd:a4:0b -device  rtl8139,mac=00:00:ab:fd:a4:0c -nographic -cpu core2duo -nographic&lt;BR /&gt;
&lt;BR /&gt;
Where it says &lt;BR /&gt;
file=/opt/gns3/projects/b1e4d40d-aac5-4f29-9637-2511dce36db4/project-files/qemu/dfd80978-3796-4994-a8ce-9fd8845ba21e/hda_disk.qcow2&lt;BR /&gt;
you should replace that with one of the two qcow2 images I've pointed you to. In this case, it was the v21.1.1.4.qcow2 image.&lt;BR /&gt;
&lt;BR /&gt;
I guess you can drop all the -netdev entries, unless you want to specify the mac addresses of the different ports&lt;BR /&gt;
&lt;BR /&gt;
I hope this helps you.&lt;BR /&gt;
&lt;BR /&gt;
﻿</description>
      <pubDate>Wed, 27 Apr 2016 15:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-vm-gns3-and-virl/m-p/30744#M5300</guid>
      <dc:creator>dflouret</dc:creator>
      <dc:date>2016-04-27T15:52:00Z</dc:date>
    </item>
  </channel>
</rss>

