Hewlett-Packard-Logo-200x200

HP Simware – Comware OS Simulator

HP recently released “Simware”, a Comware network simulator that lets you create test networks of emulated Comware switches and routers. This can be used to create “virtual” networks, ideal for learning, feature validation, and change testing. It’s broadly similar to Dynamips. It’s not perfect, and it’s been a long time coming, but it’s a start.

Features

  • Simulate Comware routers, stackable switches, and modular switches with switching and routing modules.
  • Runs on Windows & Ubuntu, 32- and 64-bit.
  • Simulated network can span multiple host systems, and/or can connect to ‘real’ network devices. Theoretically you could integrate it with GNS3, IOS-XRv, VSR, etc.
  • Supports most features – e.g. TRILL, OSPF, BGP, IS-IS, MPLS, LACP, VRRP, MSTP
  • Supports IRF and multi-tenant device context.

Note: This does not emulate specific hardware the way GNS3 does. It is not running ‘real’ firmware images – they are customised for this tool.

Obtaining Simware

The simulator is available from the HP Partner Dropbox. You will need to register for this, and yet again, it does not use HP Passport (Passport is supposed to be the one login I can use across all HP sites: I currently have 5 different HP-related logins). For some reason, you also need to enter a registration code, which is on this page. It appears that it may be technically restricted to HP Employees and Partners only at this stage. I believe they intend to release a customer version in future.

Once you have access to the Dropbox, you can pick your version (Windows or Ubuntu). Download size varies between around 200MB & 300MB. Unpack the files, read the instructions, and run the installer.

Running Simware

There’s three steps to running Simware:

  1. Create a configuration file that details the devices & boards you’re going to run, the console port, and the interconnections between devices (both physical and virtual devices, and possibly spanning hosts)
  2. Compile the configuration – this will create flash & nvram files for each device, and a startup script.
  3. Launch it – start each individual switch/router.

Configuration:

I’m just going to run a simple configuration – two 48x1GbE switches, connected together using the first port on each switch. Here’s my config:

I’ve saved that as “test.cfg” in C:\Program Files (x86)\Simware.

Compilation:

Run “cfgtool.exe”:

Note that you may need to use “Run as Administrator”, depending on your Windows security settings.

Launch it

Go into run_env\test.cfg. You’ll see a folder for each device, and a startup script:

The .vbs scripts are basically just simple scripts to launch QEMU with all the right options. Run each of those individually to launch each simulated device. You’ll get a pop-up with a console, and shortly you’ll be able to use PuTTy to Telnet to the right port on your loopback. That connects you to the Auxiliary port of each device.

Initial Impressions

It’s slow. It’s very, very slow. It takes a long time to boot, and commands can take quite a while to respond. This is due to the use of QEMU – it is emulating hardware, which is a very different proposition to running natively compiled code, like Cisco IOU. The “switches” in my testing were automatically allocated a maximum of 768MB of RAM, and each device maxed out a CPU core.

I would have liked to have done more testing, but the interface speed was driving me nuts. This may be because I was running it on a Windows 2008 VM on an ESXi host. It might be better if I was running it on Windows or Ubuntu running natively. I don’t have any Windows or Linux systems that run directly on physical hardware, so I will have to try compiling QEMU for Mac OS X.

Future Enhancements?

Here’s some ideas on how this tool could be improved:

  • Speed: The speed has to improve. It might simply be that HP needs to provide some guidance, saying “Allow X and resources per switch, be aware that features AB and C will severely impact performance”
  • GUI: Create a simple front-end GUI for generating configuration files, compiling and launching them. Simple point & click / drag & drop for creating topologies, etc. This should be quite easy, but I understand why it has not been a priority – anyone who has half a clue can fairly quickly create config files. Related to this, the overall packaging needs to be cleaned up – currently it feels more like a developer’s quick hack than a production-ready tool.
  • Configuration Management: Building up a complete configuration for each new network is a pain. Maybe provide a way of saying “Here’s my addressing scheme. Run OSPF on these 4 four devices, MSTP on these 2 switches, and create an IRF cluster with those 3 switches.” This would be fantastic for testing, as it would let you focus on the features you want to test, not waste your time building up base configurations.
  • ProCurve: Add emulation for ProCurve switches.
  • “Meta-Sim”: Blue-sky thinking here – What about a tool that could pull together the various network simulators and virtual routers/switches from HP/Cisco/Juniper/Brocade/etc, and give you a co-ordinated way of spinning up large multi-vendor networks? Problem is that no vendor is going to do it, it will have to come from the community. GNS3 would be the obvious source, but I’m somewhat bearish about their future.

Would I Use It?

I probably won’t use this simulator much, at least until I can figure out a way to make it run at a usable speed. If I need to do any testing with Comware, I will run the VSR1000 as a VM. I will only use this simulator if I need to test out switching features, or IRF. Still, I’m pleased that HP has finally started delivering these much-needed resources. I think that Cisco CML will significantly raise the bar for engineer’s expectations of a network simulation tool, and HP can’t afford to be left behind. Here’s hoping they can improve it – or better yet, help the community to improve it.

, ,

12 Responses to HP Simware – Comware OS Simulator

  1. Aaron Paxson February 25, 2014 at 7:31 am #

    The VSR1000 is definately more “efficient” as a VM, though, I haven’t ran many of them at once. Still, it sounds like this is pretty cool, if you have the hardware to run it.

  2. Jason Cederboom May 4, 2014 at 2:16 am #

    You should check out the “new” HP network simulator. It’s essentially an improved version of Simware 7. You’ll find a publicly available windows version via the following link: http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?swItem=nw_130365_1&ac.admitted=1399126110022.876444892.492883150.

    • Lindsay Hill May 4, 2014 at 12:34 pm #

      I saw something about that the other day – looks like they’ve changed hypervisor? Hopefully this will run at a usable speed. Good to see it’s now public too. I don’t know why they had it “partner only” before.

      • Jason Cederboom May 5, 2014 at 1:42 am #

        They did, it now runs on virtual box. The response time is also greatly improved to the point where you wouldn’t notice a difference from the real deal. It’s also user friendlier through the addition of a GUI, which’ll enable you to mange and create your project(s) more efficiently.

        • Stu May 8, 2014 at 11:21 am #

          Is this similar to Huawei’s ENSP simulator?

          • Lindsay Hill May 8, 2014 at 12:08 pm #

            Wouldn’t surprise me if there was some shared code there, due to the background of H3C.

          • Stu May 9, 2014 at 9:21 am #

            I downloaded it and it looks identical just runs a newer version of commware…

          • Jason Cederboom May 12, 2014 at 9:15 pm #

            The major improvement is the addition of a GUI and use of virtualbox as the hypervisor. The GUI allows for easier project management, creation and sharing. While virtualbox offers a “workable” speed under windows.

            Plus HNS is running a newer version of Simware 7. Just performe a “display version”, you’ll notice that the old version was “7.1.043, Alpha 7143” and the new version is “7.1.50, Alpha 7150”. This means that the new version of Simware 7 is based upon Comware 7 build 50 which has some new features like: Openflow, FC, FCoE, MDC, EVI and SPB; just to name a few.

          • Jason Cederboom May 12, 2014 at 8:58 pm #

            From a user’s perspective the only similarity is the use of virtualbox. HP’s HNS is focused around Simware which is focused on a particular build of Comware 7 instead of individual firmware releases for HP networking products. When looking at Huawei’s ENSP I get the feeling that it is more focused on providing individual firmware releases of quidway from different Huawei networking products. Though this is just my opinion since I lack the Huawei product knowledge, background. And I have to note that the implementation of virtualbox seems to be stable in HNS compared to the frequent failures when running ENSP.

  3. jezarnold August 20, 2014 at 10:12 pm #

    Anyone can now download via http://www.hp.com/networking/hns > links through to downloads and discussion board.

Trackbacks/Pingbacks

  1. Comware 7 Simulator released for HP Partners | About HP Networking - March 23, 2014

    […] to info from Lindsay Hill (http://lkhill.com/hp-simware-comware-os-simulator/) the registration code link can be found […]

  2. Resources for learning HP Comware | LINDSAY HILL - December 24, 2014

    […] It includes Layer-2 functionality, and lets you test things like LACP & IRF. I found it too slow when I first tried it, but this has improved significantly with current versions. It is free to […]