Cisco 7200 Simulator FAQ

From IPFlow Netflow Collector

Table of contents

Can you provide a Cisco IOS image for a 3600 or a 7200 to me ?

No, I am not allowed to distribute any IOS image. You will have to find one by yourself, this should not be a problem if you are a Cisco customer.


I get a segmentation fault (seen on Fedora Core and Redhat systems)

The ExecShield protection must be disabled:

/sbin/sysctl -w kernel.exec-shield=0
/sbin/sysctl -w kernel.randomize_va_space=0

or:

echo 0 > /proc/sys/kernel/exec-shield
echo 0 > /proc/sys/kernel/randomize_va_space 

(thanks to Francisco Jesus Monserrat Coll for this information)


If you have an AMD64 or an Intel with EM64T, you have to specify the "noexec=off" option to the Linux kernel boot command line (thanks to Yannick for this information).


Can I receive/transmit packets with the virtual Ethernet, ATM, or Serial interfaces ?

Yes, take a look at the README file to see how to configure the networking part.


I get messages about MIPS unhandled opcodes, what does it mean ?

The CPU instruction set emulation is not complete, the biggest part that is lacking is the FPU (Floating Point Unit). However, it seems that IOS doesn't make intensive use of the FPU (at least on the releases I have tested).

In all cases, please copy the messages displayed by the emulator and send them to me by mail (mailto:cf@utc.fr), with the "show version" output (or at least the IOS release number).


Why did you choose to emulate a Cisco 7200 ? Is it possible to emulate a Cisco 3550, 6500 or 12000 platform ?

The difficulty for emulating these platforms is very high: these systems come with a lot of ASICs, complex backplanes and intelligent linecards, and of course the specifications are not public. Emulating a Cisco 7200 is already very complex, whereas this platform is very very less complicated than a 6500 or a 12000 (since it is a "software" platform).

The C7200 platform is able to run a large number of Cisco IOS images, from 12.2S to 12.4 with all interesting and advanced features like MPLS, IPv6, Multicast, ... so I chose it.


Is it possible to emulate a Cisco 7200 with a NPE-G1 ?

The NPE-G1 is based on a Broadcom BCM1250 processor, which consists in a dual-core MIPS64 CPU with integrated devices (3 Gigabit Ethernet interfaces, PCI and Hypertransport interconnections...).

The emulator is not yet able to act as a SMP system, but this is worked on. I don't know if it would be easy to emulate other things like the Ethernet interfaces (but there is some documentation).


Is the source code available ?

Yes, it is available in the download section. The licence is the GNU GPL.