Legacy Open Switch 0.4.0 Image

The Open Switch 0.4.0 is the legacy Open Switch version with Cisco like CLI that I used to use in my tutorials. As it can be downloaded anymore, I share the VMDK image below. Please, use the image for learning or demonstration purpose only because this Open Switch version is discontinued. Instead, use the Open Switch OPX version 2.0.0 (and upwards) that is entirely new product, with Linux like CLI. The OPX version is actively developed and can be downloaded from http://archive.openswitch.net/.

Open Switch 0.4.0 VMDK
https://drive.google.com/open?id=1u5CPt9_JVOd-cGBNEzPoAaWV7Dibe8vW

Username/password is netop/netop. If you need an access to underlying Linux, use login credentials: admin/admin (use sudo su for root access).

Troubleshooting

1. Cannot Boot VMD Image - Error Message "Could not write to allocated cluster for streamOptimized"

If your OpenSwitch VMDK image does not boot  and you get error message "qemu-system-x86_64: Could not write to allocated cluster for streamOptimized", convert the VMDK image to other format, such as qcow2 or VDI.

qemu-img convert -f vmdk OpenSwitch.vmdk -O vdi OpenSwitch.vdi

Test the image with QEMU command:

/usr/bin/qemu-system-x86_64 -m 2G -enable-kvm OpenSwitch.vdi -serial telnet:localhost:2222,server,nowait

Telnet to the switch console.

telnet localhost 2222

2. Cannot Save OpenSwitch Configuration - Error Message - "System is not ready. Please retry after few seconds.."

You must run OpenSwitch with minimum two NICs otherwise system is not ready. In that case, you get an error message - "System is not ready. Please retry after few seconds.."   The command below starts an OpenSwitch Qemu instance with two NICs attached.

/usr/bin/qemu-system-x86_64 -m 2G -enable-kvm OpenSwitch.vdi -serial telnet:localhost:2222,server,nowait  -net nic,id=net0 -device e1000,mac=00:11:22:33:44:00 -net nic,id=net1 -device e1000,mac=00:11:22:33:44:01

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.