Need to do test configurations on (unfamiliar) Cisco/IOS equipment. Is there a virtual machine I can light up and use it in my test environment as a real firewall/edge/core router?
-
2i've seen many organisation by two of everything, one goes into a production, where it's backup can be put in a lab for tech's to try new configuration or setups. It also makes switch out of faulty equipment faster, as it just needs the configuration loaded on it, and put into production. – The Unix Janitor Apr 14 '10 at 17:04
5 Answers
The only Cisco equipment emulator I know of is Dynamips/Dynagen, but its purpose is learning Cisco IOS commands for certification exams, not testing actual networking setups. While you could certainly do that, the performance would be likely very bad. Even connecting two routers on the same machine eats a lot of CPU, and you have to play around to find which idleCPU value works for the image you are using, to get lower CPU usage, when the router is idle. Otherwise even with idle routers you get high CPU usage.
This is in contrast to Juniper Olives, which have quite good performance.

- 870
- 8
- 12
-
2wish I could mark you both right, so I +1'ed 3dinfluence and gave you the correct answer. You need the points more than him anyways. :) – gravyface Apr 14 '10 at 17:14
-
Performance is a good point, I am testing some QoS/rate-limiting setups and can't push more than ~5M through one of them. So I am just scaling down my 10M lab to a 1M lab by dropping a digit :-) – Kyle Brandt Apr 14 '10 at 19:11
-
@gravyface LOL, funniest most thoughtful comment I read so far. Thanks! – Prof. Moriarty Apr 14 '10 at 19:37

- 12,449
- 2
- 28
- 41
-
Might give GNS3 a try again but gave me a bunch of trouble last time I used it, now I just use dynamips with dynagen. – Kyle Brandt Apr 14 '10 at 19:09
Ask any Cisco IOS developer about 'IOU' (IOS On Unix). Sadly, an internal-only tool. Looks like this start-up may eventually make exactly what you want: http://www.embrane.com/

- 161
- 3
There is the Cisco CSR1000V for an XE based IOS
There is also now (2014) XRVR for XR based virtual machines that runs QNX and IOS-XR
Both run on QEMU/KVM/ESXi
There is also classic IOS bases IOSv or vIOS that is currently only shipped and supported as part of the cisco ONE-PK SDK; it has similar to IOU in capabilities but is not officially released as a standalone product
These are the only two official releases.
Update: IOSv is now available in cisco CML: http://iwe.cisco.com/web/cisco-modeling-labs

- 183
- 7
-
1Official images are available at https://upload.cisco.com/cgi-bin/swc/fileexg/main.cgi?CONTYPES=Cisco-IOS-XRv (registration needed) – Andrey Sapegin May 14 '14 at 11:45
I've had good luck testing "routing" things in DynaMIPS/DynaGen (OSPF/BGP fail-over, route-redistribution and the like). I've tried, but not have good luck with, testing QoS policies. QoS can be tested to the point of "syntax", but for testing if the policies work "in the wild", I've found it necessary to test on real hardware.
I've also found DynaMIPS/DynaGen instances good for testing automation scripts against, saves finding actual hardware and with some care, you can save a baseline and not have to re-do it again and again.

- 5,440
- 25
- 24