Index of /dynamips/newsrc

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]x86-codegen.h.html2015-09-17 17:25 55K 
[TXT]vm.h.html2015-09-17 17:25 12K 
[TXT]vm.c.html2015-09-17 17:25 30K 
[TXT]utils.h.html2015-09-17 17:25 16K 
[TXT]utils.c.html2015-09-17 17:25 14K 
[TXT]udp_send.c.html2015-09-17 17:25 1.1K 
[TXT]udp_recv.c.html2015-09-17 17:25 1.2K 
[TXT]timer.h.html2015-09-17 17:25 3.5K 
[TXT]timer.c.html2015-09-17 17:25 14K 
[TXT]tcb.h.html2015-09-17 17:25 7.7K 
[TXT]tcb.c.html2015-09-17 17:25 25K 
[TXT]sbox.h.html2015-09-17 17:25 1.2K 
[TXT]sbox.c.html2015-09-17 17:25 4.0K 
[TXT]rommon_var.h.html2015-09-17 17:25 1.3K 
[TXT]rommon_var.c.html2015-09-17 17:25 4.1K 
[TXT]rom2c.c.html2015-09-17 17:25 2.6K 
[TXT]registry.h.html2015-09-17 17:25 3.6K 
[TXT]registry.c.html2015-09-17 17:25 10K 
[TXT]rbtree.h.html2015-09-17 17:25 2.9K 
[TXT]rbtree.c.html2015-09-17 17:25 13K 
[TXT]ptask.h.html2015-09-17 17:25 1.3K 
[TXT]ptask.c.html2015-09-17 17:25 3.5K 
[TXT]profiler_resolve.pl.html2015-09-17 17:25 1.0K 
[TXT]profiler.c.html2015-09-17 17:25 10K 
[TXT]previous.hdr.html2015-09-17 17:20 1.4K 
[TXT]ppc32_x86_trans.h.html2015-09-17 17:25 2.0K 
[TXT]ppc32_x86_trans.c.html2015-09-17 17:25 110K 
[TXT]ppc32_vmtest.h.html2015-09-17 17:25 895  
[TXT]ppc32_vmtest.c.html2015-09-17 17:25 9.0K 
[TXT]ppc32_nojit_trans.h.html2015-09-17 17:25 1.0K 
[TXT]ppc32_microcode.html2015-09-17 17:25 82K 
[TXT]ppc32_mem.h.html2015-09-17 17:25 1.7K 
[TXT]ppc32_mem.c.html2015-09-17 17:25 32K 
[TXT]ppc32_jit.h.html2015-09-17 17:25 13K 
[TXT]ppc32_jit.c.html2015-09-17 17:25 39K 
[TXT]ppc32_exec.h.html2015-09-17 17:25 1.4K 
[TXT]ppc32_exec.c.html2015-09-17 17:25 105K 
[TXT]ppc32_amd64_trans.h.html2015-09-17 17:25 2.9K 
[TXT]ppc32_amd64_trans.c.html2015-09-17 17:25 113K 
[TXT]ppc32.h.html2015-09-17 17:25 23K 
[TXT]ppc32.c.html2015-09-17 17:25 17K 
[TXT]ppc-codegen.h.html2015-09-17 17:25 60K 
[TXT]plugin.h.html2015-09-17 17:25 808  
[TXT]plugin.c.html2015-09-17 17:25 1.9K 
[TXT]pci_io.h.html2015-09-17 17:25 1.1K 
[TXT]pci_io.c.html2015-09-17 17:25 3.5K 
[TXT]pci_dev.h.html2015-09-17 17:25 5.7K 
[TXT]pci_dev.c.html2015-09-17 17:25 16K 
[TXT]parser.h.html2015-09-17 17:25 2.1K 
[TXT]parser.c.html2015-09-17 17:25 9.8K 
[TXT]nvram_export.c.html2015-09-17 17:25 9.2K 
[TXT]nmc93cX6.h.html2015-09-17 17:25 3.3K 
[TXT]nmc93cX6.c.html2015-09-17 17:25 7.4K 
[TXT]net_io_filter.h.html2015-09-17 17:25 1.6K 
[TXT]net_io_filter.c.html2015-09-17 17:25 8.4K 
[TXT]net_io_bridge.h.html2015-09-17 17:25 2.0K 
[TXT]net_io_bridge.c.html2015-09-17 17:25 10K 
[TXT]net_io.h.html2015-09-17 17:25 11K 
[TXT]net_io.c.html2015-09-17 17:25 51K 
[TXT]net.h.html2015-09-17 17:25 14K 
[TXT]net.c.html2015-09-17 17:25 30K 
[TXT]mips_mts.c.html2015-09-17 17:25 18K 
[TXT]mips64_x86_trans.h.html2015-09-17 17:25 1.9K 
[TXT]mips64_ppc32_trans.h.html2015-09-17 17:25 4.9K 
[TXT]mips64_ppc32_trans.c.html2015-09-17 17:25 89K 
[TXT]mips64_nojit_trans.h.html2015-09-17 17:25 1.0K 
[TXT]mips64_nojit_trans.c.html2015-09-17 17:25 2.2K 
[TXT]mips64_mem.h.html2015-09-17 17:25 674  
[TXT]mips64_mem.c.html2015-09-17 17:25 17K 
[TXT]mips64_jit.h.html2015-09-17 17:25 5.7K 
[TXT]mips64_jit.c.html2015-09-17 17:25 16K 
[TXT]mips64_exec.h.html2015-09-17 17:25 1.5K 
[TXT]mips64_exec.c.html2015-09-17 17:25 67K 
[TXT]mips64_cp0.h.html2015-09-17 17:25 3.8K 
[TXT]mips64_cp0.c.html2015-09-17 17:25 19K 
[TXT]mips64_amd64_trans.h.html2015-09-17 17:25 2.9K 
[TXT]mips64_amd64_trans.c.html2015-09-17 17:25 82K 
[TXT]mips64.h.html2015-09-17 17:25 28K 
[TXT]mips64.c.html2015-09-17 17:25 33K 
[TXT]mempool.h.html2015-09-17 17:25 3.3K 
[TXT]mempool.c.html2015-09-17 17:25 5.9K 
[TXT]memory.h.html2015-09-17 17:25 5.6K 
[TXT]memory.c.html2015-09-17 17:25 9.4K 
[TXT]linux_eth.h.html2015-09-17 17:25 1.0K 
[TXT]linux_eth.c.html2015-09-17 17:25 3.4K 
[TXT]jit_op.h.html2015-09-17 17:25 2.2K 
[TXT]jit_op.c.html2015-09-17 17:25 2.8K 
[TXT]insn_lookup.h.html2015-09-17 17:25 3.8K 
[TXT]insn_lookup.c.html2015-09-17 17:25 14K 
[TXT]hypervisor.h.html2015-09-17 17:25 5.4K 
[TXT]hypervisor.c.html2015-09-17 17:25 18K 
[TXT]hv_vm_debug.c.html2015-09-17 17:25 6.9K 
[TXT]hv_vm.c.html2015-09-17 17:25 32K 
[TXT]hv_store.c.html2015-09-17 17:25 5.9K 
[TXT]hv_nio_bridge.c.html2015-09-17 17:25 4.4K 
[TXT]hv_nio.c.html2015-09-17 17:25 14K 
[TXT]hv_frsw.c.html2015-09-17 17:25 4.3K 
[TXT]hv_ethsw.c.html2015-09-17 17:25 8.4K 
[TXT]hv_c7200.c.html2015-09-17 17:25 6.0K 
[TXT]hv_c3745.c.html2015-09-17 17:25 3.7K 
[TXT]hv_c3725.c.html2015-09-17 17:25 3.7K 
[TXT]hv_c3600.c.html2015-09-17 17:25 4.3K 
[TXT]hv_c2691.c.html2015-09-17 17:25 3.7K 
[TXT]hv_c2600.c.html2015-09-17 17:25 4.3K 
[TXT]hv_c1700.c.html2015-09-17 17:25 4.4K 
[TXT]hv_atmsw.c.html2015-09-17 17:25 6.1K 
[TXT]hv_atm_bridge.c.html2015-09-17 17:25 4.5K 
[TXT]hash.h.html2015-09-17 17:25 3.2K 
[TXT]hash.c.html2015-09-17 17:25 5.7K 
[TXT]gen_uuid.h.html2015-09-17 17:25 688  
[TXT]gen_uuid.c.html2015-09-17 17:25 1.1K 
[TXT]gen_eth.h.html2015-09-17 17:25 1.0K 
[TXT]gen_eth.c.html2015-09-17 17:25 3.3K 
[TXT]frame_relay.h.html2015-09-17 17:25 3.0K 
[TXT]frame_relay.c.html2015-09-17 17:25 17K 
[TXT]eth_switch.h.html2015-09-17 17:25 4.1K 
[TXT]eth_switch.c.html2015-09-17 17:25 25K 
[TXT]dynamips.hdr.html2015-09-17 17:25 1.4K 
[TXT]dynamips.h.html2015-09-17 17:25 3.7K 
[TXT]dynamips.c.html2015-09-17 17:25 25K 
[TXT]dynamips.1.html2015-09-17 17:25 16K 
[TXT]device.h.html2015-09-17 17:25 8.6K 
[TXT]device.c.html2015-09-17 17:25 13K 
[TXT]dev_zero.c.html2015-09-17 17:25 2.0K 
[TXT]dev_wic_serial.h.html2015-09-17 17:25 1.0K 
[TXT]dev_wic_serial.c.html2015-09-17 17:25 4.8K 
[TXT]dev_vtty.h.html2015-09-17 17:25 3.3K 
[TXT]dev_vtty.c.html2015-09-17 17:25 29K 
[TXT]dev_ti2050b.c.html2015-09-17 17:25 1.2K 
[TXT]dev_sb1_pci.c.html2015-09-17 17:25 4.5K 
[TXT]dev_sb1_io.c.html2015-09-17 17:25 9.7K 
[TXT]dev_sb1.c.html2015-09-17 17:25 3.0K 
[TXT]dev_rom.h.html2015-09-17 17:25 1.0K 
[TXT]dev_rom.c.html2015-09-17 17:25 2.9K 
[TXT]dev_remote.c.html2015-09-17 17:25 8.8K 
[TXT]dev_ram.c.html2015-09-17 17:25 3.6K 
[TXT]dev_plx6520cb.c.html2015-09-17 17:25 1.2K 
[TXT]dev_plx.h.html2015-09-17 17:25 1.7K 
[TXT]dev_plx.c.html2015-09-17 17:25 12K 
[TXT]dev_pericom.c.html2015-09-17 17:25 1.2K 
[TXT]dev_pcmcia_disk.c.html2015-09-17 17:25 20K 
[TXT]dev_pa_mc8te1.c.html2015-09-17 17:25 9.7K 
[TXT]dev_pa_a1.c.html2015-09-17 17:25 62K 
[TXT]dev_nvram.c.html2015-09-17 17:25 6.3K 
[TXT]dev_ns16552.c.html2015-09-17 17:25 7.6K 
[TXT]dev_nm_16esw.h.html2015-09-17 17:25 1.5K 
[TXT]dev_nm_16esw.c.html2015-09-17 17:25 92K 
[TXT]dev_mv64460.h.html2015-09-17 17:25 1.5K 
[TXT]dev_mv64460.c.html2015-09-17 17:25 97K 
[TXT]dev_mueslix.h.html2015-09-17 17:25 1.2K 
[TXT]dev_mueslix.c.html2015-09-17 17:25 33K 
[TXT]dev_mpc860.h.html2015-09-17 17:25 2.0K 
[TXT]dev_mpc860.c.html2015-09-17 17:25 68K 
[TXT]dev_i8255x.h.html2015-09-17 17:25 1.1K 
[TXT]dev_i8255x.c.html2015-09-17 17:25 35K 
[TXT]dev_i8254x.h.html2015-09-17 17:25 1.1K 
[TXT]dev_i8254x.c.html2015-09-17 17:25 42K 
[TXT]dev_gt.h.html2015-09-17 17:25 2.0K 
[TXT]dev_gt.c.html2015-09-17 17:25 90K 
[TXT]dev_flash.c.html2015-09-17 17:25 7.6K 
[TXT]dev_ds1620.h.html2015-09-17 17:25 1.4K 
[TXT]dev_ds1620.c.html2015-09-17 17:25 6.5K 
[TXT]dev_dec21140.h.html2015-09-17 17:25 1.2K 
[TXT]dev_dec21140.c.html2015-09-17 17:25 33K 
[TXT]dev_dec21x50.c.html2015-09-17 17:25 3.2K 
[TXT]dev_clpd6729.c.html2015-09-17 17:25 7.5K 
[TXT]dev_c7200_sram.c.html2015-09-17 17:25 4.2K 
[TXT]dev_c7200_serial.c.html2015-09-17 17:25 6.8K 
[TXT]dev_c7200_pos.c.html2015-09-17 17:25 23K 
[TXT]dev_c7200_mpfpga.h.html2015-09-17 17:25 693  
[TXT]dev_c7200_mpfpga.c.html2015-09-17 17:25 15K 
[TXT]dev_c7200_jcpa.c.html2015-09-17 17:25 2.4K 
[TXT]dev_c7200_iofpga.c.html2015-09-17 17:25 21K 
[TXT]dev_c7200_eth.c.html2015-09-17 17:25 22K 
[TXT]dev_c7200_bri.c.html2015-09-17 17:25 32K 
[TXT]dev_c7200.h.html2015-09-17 17:25 11K 
[TXT]dev_c7200.c.html2015-09-17 17:25 71K 
[TXT]dev_c3745_wic.c.html2015-09-17 17:25 6.7K 
[TXT]dev_c3745_serial.c.html2015-09-17 17:25 3.1K 
[TXT]dev_c3745_pcmod.c.html2015-09-17 17:25 3.2K 
[TXT]dev_c3745_iofpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c3745_iofpga.c.html2015-09-17 17:25 15K 
[TXT]dev_c3745_eth.c.html2015-09-17 17:25 11K 
[TXT]dev_c3745.h.html2015-09-17 17:25 6.5K 
[TXT]dev_c3745.c.html2015-09-17 17:25 27K 
[TXT]dev_c3725_wic.c.html2015-09-17 17:25 6.7K 
[TXT]dev_c3725_serial.c.html2015-09-17 17:25 3.2K 
[TXT]dev_c3725_pcmod.c.html2015-09-17 17:25 3.2K 
[TXT]dev_c3725_iofpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c3725_iofpga.c.html2015-09-17 17:25 14K 
[TXT]dev_c3725_eth.c.html2015-09-17 17:25 11K 
[TXT]dev_c3725.h.html2015-09-17 17:25 6.4K 
[TXT]dev_c3725.c.html2015-09-17 17:25 23K 
[TXT]dev_c3600_serial.c.html2015-09-17 17:25 3.5K 
[TXT]dev_c3600_iofpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c3600_iofpga.c.html2015-09-17 17:25 22K 
[TXT]dev_c3600_eth.c.html2015-09-17 17:25 13K 
[TXT]dev_c3600_bay.h.html2015-09-17 17:25 828  
[TXT]dev_c3600_bay.c.html2015-09-17 17:25 2.2K 
[TXT]dev_c3600.h.html2015-09-17 17:25 6.7K 
[TXT]dev_c3600.c.html2015-09-17 17:25 31K 
[TXT]dev_c2691_wic.c.html2015-09-17 17:25 6.7K 
[TXT]dev_c2691_serial.c.html2015-09-17 17:25 3.1K 
[TXT]dev_c2691_pcmod.c.html2015-09-17 17:25 3.2K 
[TXT]dev_c2691_iofpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c2691_iofpga.c.html2015-09-17 17:25 13K 
[TXT]dev_c2691_eth.c.html2015-09-17 17:25 9.4K 
[TXT]dev_c2691.h.html2015-09-17 17:25 6.3K 
[TXT]dev_c2691.c.html2015-09-17 17:25 23K 
[TXT]dev_c2600_wic.c.html2015-09-17 17:25 6.4K 
[TXT]dev_c2600_pcmod.c.html2015-09-17 17:25 3.5K 
[TXT]dev_c2600_pci.c.html2015-09-17 17:25 6.3K 
[TXT]dev_c2600_iofpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c2600_iofpga.c.html2015-09-17 17:25 9.7K 
[TXT]dev_c2600_eth.c.html2015-09-17 17:25 12K 
[TXT]dev_c2600.h.html2015-09-17 17:25 6.9K 
[TXT]dev_c2600.c.html2015-09-17 17:25 29K 
[TXT]dev_c1700_wic.c.html2015-09-17 17:25 9.8K 
[TXT]dev_c1700_iofpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c1700_iofpga.c.html2015-09-17 17:25 8.6K 
[TXT]dev_c1700_eth.c.html2015-09-17 17:25 4.6K 
[TXT]dev_c1700.h.html2015-09-17 17:25 5.8K 
[TXT]dev_c1700.c.html2015-09-17 17:25 24K 
[TXT]dev_c6sup1_mpfpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c6sup1_mpfpga.c.html2015-09-17 17:25 16K 
[TXT]dev_c6sup1_iofpga.c.html2015-09-17 17:25 12K 
[TXT]dev_c6sup1.h.html2015-09-17 17:25 5.6K 
[TXT]dev_c6sup1.c.html2015-09-17 17:25 23K 
[TXT]dev_c6msfc1_mpfpga.h.html2015-09-17 17:25 1.1K 
[TXT]dev_c6msfc1_mpfpga.c.html2015-09-17 17:25 5.4K 
[TXT]dev_c6msfc1_iofpga.c.html2015-09-17 17:25 14K 
[TXT]dev_c6msfc1.h.html2015-09-17 17:25 5.5K 
[TXT]dev_c6msfc1.c.html2015-09-17 17:25 26K 
[TXT]dev_bswap.c.html2015-09-17 17:25 3.1K 
[TXT]dev_bootflash.c.html2015-09-17 17:25 14K 
[TXT]dev_ap1011.c.html2015-09-17 17:25 1.8K 
[TXT]dev_am79c971.h.html2015-09-17 17:25 1.3K 
[TXT]dev_am79c971.c.html2015-09-17 17:25 36K 
[TXT]crc.h.html2015-09-17 17:25 1.7K 
[TXT]crc.c.html2015-09-17 17:25 2.4K 
[TXT]cpu.h.html2015-09-17 17:25 6.7K 
[TXT]cpu.c.html2015-09-17 17:25 8.6K 
[TXT]cisco_eeprom.h.html2015-09-17 17:25 2.6K 
[TXT]cisco_eeprom.c.html2015-09-17 17:25 33K 
[TXT]cisco_card.h.html2015-09-17 17:25 6.8K 
[TXT]cisco_card.c.html2015-09-17 17:25 28K 
[TXT]bin2c.c.html2015-09-17 17:25 1.2K 
[TXT]base64.h.html2015-09-17 17:25 869  
[TXT]base64.c.html2015-09-17 17:25 3.9K 
[TXT]atm_vsar.h.html2015-09-17 17:25 1.4K 
[TXT]atm_vsar.c.html2015-09-17 17:25 6.2K 
[TXT]atm_bridge.h.html2015-09-17 17:25 1.6K 
[TXT]atm_bridge.c.html2015-09-17 17:25 10K 
[TXT]atm.h.html2015-09-17 17:25 5.0K 
[TXT]atm.c.html2015-09-17 17:25 20K 
[TXT]amd64-codegen.h.html2015-09-17 17:25 77K 
[TXT]TODO.html2015-09-17 17:25 1.3K 
[TXT]README.hypervisor.html2015-09-17 17:25 15K 
[TXT]README.html2015-09-17 17:25 17K 
[TXT]ChangeLog.html2015-09-17 17:25 80K 
[TXT]COPYING.html2015-09-17 17:25 18K 

./README Source

Source to ./README


Enter a symbol's name here to quickly find it.

Help for Cisco router simulator (dynamips-0.2.8)
================================================
Authors of this document: Fabien Devaux, Christophe Fillot, MtvE

Emulated hardware
*****************

The emulator currently supports the following platforms:
  - Cisco 7200 (NPE-100 to NPE-400)
  - Cisco 3600 (3620, 3640 and 3660)
  - Cisco 2691
  - Cisco 3725
  - Cisco 3745
  - Cisco 2600 (2610 to 2650XM)
  - Cisco 1700 (1710 to 1760)

By default, a Cisco 7206VXR with NPE-200 (256 Mb of DRAM) is emulated.

To emulate another platform, use the "-P" command line option (for example,
"-P 3725" or "-P 3600").

For the 7200, you can change the NPE type with the "-t" option. 
It is possible to select "npe-100", "npe-150", "npe-175", "npe-200", 
"npe-225", "npe-300" and "npe-400". The "npe-g1" is not working.

For the 3600, a 3640 with 128 Mb is emulated by default. You can change this 
with the "-t" option and by specifying "3620" or "3660". 
Don't forget to set the chassis type depending on your IOS image, 
a c3660 image will not run on c3640 hardware and vice-versa.

Remark: PCMCIA card emulation is not supported yet with Cisco 3600.


Command Line Options overview
*****************************

  -l <log_file>      : Set logging file (default is dynamips_log.txt)
  -j                 : Disable the JIT compiler, very slow
  --exec-area <size> : Set the exec area size (default: 64 Mb)
  --idle-pc <pc>     : Set the idle PC (default: disabled)
  --timer-itv <val>  : Timer IRQ interval check (default: 1000)

  -i <instance>      : Set instance ID
  -r <ram_size>      : Set the virtual RAM size
  -o <rom_size>      : Set the virtual ROM size
  -n <nvram_size>    : Set the NVRAM size
  -c <conf_reg>      : Set the configuration register
  -m <mac_addr>      : Set the MAC address of the chassis
                       (default: automatically generated)
  -C <cfg_file>      : Import an IOS configuration file into NVRAM
  -X                 : Do not use a file to simulate RAM (faster)
  -R <rom_file>      : Load an alternate ROM (default: embedded)
  -k <clock_div>     : Set the clock divisor (default: 4)

  -T <port>          : Console is on TCP <port>
  -U <si_desc>       : Console in on serial interface <si_desc>
                       (default is on the terminal)

  -A <port>          : AUX is on TCP <port>
  -B <si_desc>       : AUX is on serial interface <si_desc>
                       (default is no AUX port)

  --disk0 <size>     : Set PCMCIA ATA disk0: size
  --disk1 <size>     : Set PCMCIA ATA disk1: size

  -a <cfg_file>      : Virtual ATM switch configuration file
  -f <cfg_file>      : Virtual Frame-Relay switch configuration file
  -E <cfg_file>      : Virtual Ethernet switch configuration file
  -b <cfg_file>      : Virtual bridge configuration file
  -e                 : Show network device list of the host machine

Options specific to the Cisco 7200 series:

  -t <npe_type>      : Select NPE type (default: "npe-200")
  -M <midplane>      : Select Midplane ("std" or "vxr")
  -p <pa_desc>       : Define a Port Adapter
  -s <pa_nio>        : Bind a Network IO interface to a Port Adapter

Options specific to the Cisco 3600 series ("dynamips -P 3600 --help"):

  -t <chassis_type>  : Select Chassis type (default: "3640")
  --iomem-size <val> : IO memory (in percents, default: 5)
  -p <nm_desc>       : Define a Network Module
  -s <nm_nio>        : Bind a Network IO interface to a Network Module

Options specific to the Cisco 2691 series ("dynamips -P 2691 --help"):

  --iomem-size <val> : IO memory (in percents, default: 5)
  -p <nm_desc>       : Define a Network Module
  -s <nm_nio>        : Bind a Network IO interface to a Network Module

Options specific to the Cisco 3725 series ("dynamips -P 3725 --help"):

  --iomem-size <val> : IO memory (in percents, default: 5)
  -p <nm_desc>       : Define a Network Module
  -s <nm_nio>        : Bind a Network IO interface to a Network Module

Options specific to the Cisco 3745 series ("dynamips -P 3745 --help"):

  --iomem-size <val> : IO memory (in percents, default: 5)
  -p <nm_desc>       : Define a Network Module
  -s <nm_nio>        : Bind a Network IO interface to a Network Module



Command Line Options details
****************************

-k <clock_div> :

   Specify the clock divider (integer) based on the host clock.
   Alter the value to match the CISCO clock with the real time.
   The command "show clock" at the IOS' CLI will help you set this value.

--idle-pc <pc> :

   The "idle PC" feature allows you to run a router instance without having
   a 100% CPU load. This implies that you can run a larger number of instances
   per real machine.

   To determine the "idle PC", start normally the emulator with your Cisco IOS 
   image, and a totally IOS empty configuration (although not mandatory, this
   will give better results). When the image is fully booted, wait for the
   "Press RETURN to get started!" message prompt, but do not press Enter key.
   Wait about 5 seconds, then press "Ctrl-] + i". Some statistics will be 
   gathered during 10 seconds. At the end, the emulator will display a list of 
   possible values to pass to the "--idle-pc" option. You may have to try some 
   values before finding the good one. To check if the idle PC value is good, 
   just boot the Cisco IOS image, and check your CPU load when the console 
   prompt is available. If it is low, you have found a good value, keep it 
   preciously.

   Important remarks:
   ==================

      * An "idle PC" value is *specific* to a Cisco IOS image. You cannot
        boot a different IOS image without proceeding as described above.

      * Do not run the process while having the "autoconfiguration" prompt.


--exec_area <size> :

   The exec area is a pool of host memory used to store pages translated by
   the JIT (they contain the native code corresponding to MIPS code pages).



Cisco 7200 Port Adapter Description "<pa_desc>":
------------------------------------------------
   Format: slot:pa_driver

   slot: the number of the physical slot (starts from 0)

   pa_driver: the name of a Port Adapter driver in:
        - C7200-IO-FE  (FastEthernet, slot 0 only)
        - PA-FE-TX     (FastEthernet, slots 1 to 6)
        - PA-4E        (Ethernet, 4 ports)
        - PA-8E        (Ethernet, 8 ports)
        - PA-4T+       (Serial, 4 ports)
        - PA-8T        (Serial, 8 ports)
        - PA-A1        (ATM)


Cisco 3600 Network Module Description "<nm_desc>":
--------------------------------------------------
   Format: slot:nm_driver

   slot: the number of the physical slot (starts from 0)

   nm_driver: the name of a Network Module driver in:
        - NM-1E        (Ethernet, 1 port)
        - NM-4E        (Ethernet, 4 ports)
        - NM-1FE-TX    (FastEthernet, 1 port)
        - NM-4T        (Serial, 4 ports)
        - NM-16ESW     (Ethernet switch module, 16 ports)
        - Leopard-2FE  (Cisco 3660 FastEthernet in slot 0, automatically used)


Cisco 2691/3725/3745 Network Module Description "<nm_desc>":
------------------------------------------------------------
   Format: slot:nm_driver

   slot: the number of the physical slot (starts from 0)

   nm_driver: the name of a Network Module driver in:
        - NM-1FE-TX    (FastEthernet, 1 port)
        - NM-4T        (Serial, 4 ports)
        - NM-16ESW     (Ethernet switch module, 16 ports)
        - GT96100-FE   (2 integrated ports, automatically used)


NIO binding to Port Adapter "<pa_nio>" and Network Modules "<nm_nio>":
----------------------------------------------------------------------

   Format: slot:port:netio_type[:netio_parameters]

   slot       : the number of the physical slot (starts from 0)
   port       : the port in the specified slot (starts from 0)

   netio_type : host interface for communication

        unix:<local_sock>:<remote_sock>
           Use unix sockets for local communication.
           <local_sock> is created and represents the local NIC.
           <remote_sock> is the file used by the other interface.
           (ex. "/tmp/local:/tmp/remote")

        vde:<control_sock>:<local_sock>
           For use with UML (User-Mode-Linux) or VDE switches.
           VDE stands for "Virtual Distributed Ethernet".
           Please refer to : http://sourceforge.net/projects/vde/

        tap:<tap_name>
           Use a virtual ethernet device for communication.
           <tap_name> is the name of the tap device (ex. "tap0")

        gen_eth:<dev_name>
           Use a real ethernet device for communication, using libpcap 0.9
           or WinPcap. Works on Windows and Unix systems.          

           <dev_name> is the name of the Ethernet device (ex. "eth0")

           The device list can be found using the "-e" option.

        linux_eth:<dev_name>
           Use a real ethernet device for communication (Linux specific).
           <dev_name> is the name of the Ethernet device (ex. "eth0")

        udp:<local_port>:<remote_host>:<remote_port>
           Use an UDP socket for connection between remote instances.
           <local_port> is the port we listen to.
           <remote_host> is the host listening the port you want to connect to.
           <remote_port> is the port you want to connect to.
	   (ex. "1000:somehost:2000" and "2000:otherhost:1000" on the other 
           side)

        tcp_cli:<host>:<port>
           Client side of a tcp connection.
           <host> is the ip address of the server.
           <port> is the port to connect to.

        tcp_ser:<port>
           Server side of a tcp connection.
           <port> is the port to listen to.

        null
           Dummy netio (used for testing/debugging), no parameters needed.



VTTY binding to real serial port device "<si_desc>":
----------------------------------------------------

   Format: <device>{:baudrate{:databits{:parity{:stopbits{:hwflow}}}}}}

   device: character device name, e.g. /dev/ttyS0
   baudrate: baudrate
   databits: number of databits.
   parity: data parity: N=none, O=odd, E=even, 
   stopbits: number of stop bits
   hwflow: hardware flow control (0=disable, 1=enable)

   Note that the device field is mandatory, however other fields are optional. 
   (dynamips will default to 9600, 8, N, 1, no hardware flow control)

   Note that access to the escape commands (described below) through a serial
   port are deliberately prevented, as the escape commands interfere with
   serial encapsulation protocols.


Escape commands
***************

You can press ^] (Ctrl + ]) at any time, followed by one of these characters:

o : Show the VM object list
d : Show the device list
r : Dump MIPS CPU registers
t : Dump MIPS TLB entries
m : Dump the latest memory accesses
s : Suspend CPU emulation
u : Resume CPU emulation
q : Quit the emulator
b : Dump the instruction block tree
h : JIT hash table statistics
l : MTS64 cache statistics
c : Write IOS configuration to disk (ios_cfg.txt)
j : Non-JIT mode statistics
i : Determine an idling pointer counter
x : Experimentations (can crash the box!)
^]: Send ^]

If you press an unrecognized key, help will be shown. 

Note: on Windows, it may be the "Ctrl + $" sequence.


Virtual Bridge
**************

The virtual bridge is used to emulate a shared network between emulator
instances.

Any emulator instance can act as a virtual bridge.

The configuration file (specified by the "-b" option) contains a list of
NetIO descriptors, with the following syntax:
 
   interface_name:netio_type[:netio_parameters]

Example:

# Connection to instance "I0"
I0:udp:10000:127.0.0.1:10001

# Connection to instance "I1"
I1:udp:10002:127.0.0.1:10003

# Connection to instance "I2"
I2:udp:10004:127.0.0.1:10005

The "I0" instance would be launched with the following parameters:

   dynamips ios.bin -p 1:PA-FE-TX -s 1:0:udp:10001:127.0.0.1:10000


Virtual Ethernet switch
***********************

The virtual ethernet switch is used to emulate an Ethernet network between
emulator instances. This switch supports access and trunk ports (802.1Q).
ISL will be available in a future release.

Any emulator instance can act as a virtual ethernet switch.

The configuration file (specified by the "-E" option) contains a list of
NetIO descriptors (representing interfaces) and a list of interface properties
(access/trunk port, VLAN info...)

The interface definition is similar to Port Adapters:

   IF:interface_name:netio_type[:netio_parameters]

1) Configuring an Access Port

syntax: ACCESS:interface_name:vlan_id

2) Configuration a 802.1Q Trunk Port

syntax: DOT1Q:interface_name:native_vlan

The native VLAN is not tagged. On Cisco devices, by default the native VLAN
is VLAN 1.

Example of configuration file:

IF:E0:udp:10000:127.0.0.1:10001
IF:E1:udp:10002:127.0.0.1:10003
IF:E2:gen_eth:eth0

DOT1Q:E0:1
ACCESS:E1:4
DOT1Q:E2:1


Virtual ATM switch
******************

The virtual ATM switch fabric is used to emulate an ATM backbone between 
emulator instances. The use of this virtual switch is not mandatory, you 
can directly connect emulator instances for point-to-point ATM connections.
Please note that only basic VP/VC switching is supported, there is no
support for ILMI/QSAAL/... or other specific ATM protocols.

Any emulator instance can act as a virtual ATM switch.

Example of configuration file (specified by the "-a" option):

# Virtual Interface List
IF:A0:udp:10001:127.0.0.1:10000
IF:A1:udp:10002:127.0.0.1:10003
IF:A2:udp:10004:127.0.0.1:10005

# VP connection between I0 and I1
VP:A0:10:A1:20
VP:A1:20:A0:10

# VP connection between I0 and I2
VP:A0:11:A2:30
VP:A2:30:A0:11

# VC connection between I1 and I2
VC:A1:5:2:A2:7:3
VC:A2:7:3:A1:5:2

In this example, we have 3 virtual interfaces, A0, A1 and A2. The syntax
for interface definition is similar to Port Adapters:

   IF:interface_name:netio_type[:netio_parameters]

You can do VP switching or VC switching:

1) VP switching

syntax: VP:input_if:input_vpi:output_if:output_vpi

2) VC switching

syntax: VC:input_if:input_vpi:input_vci:output_if:output_vpi:output_vci


Testing the Virtual ATM switch with one dynamips instance
*********************************************************
(Contribution of Mtv Europe)

Virtual ATM switch configuration file ("atm.cfg"):

IF:A0:udp:10003:127.0.0.1:10001
IF:A1:udp:10004:127.0.0.1:10002                                                
# a0/vpi=1/vci=100 connects to a1/vpi=2/vci=200
VC:A0:1:100:A1:2:200                                                           
VC:A1:2:200:A0:1:100

Invoking dynamips:

./dynamips -p 1:PA-A1 -s 1:0:udp:10001:127.0.0.1:10003 \
           -p 2:PA-A1 -s 2:0:udp:10002:127.0.0.1:10004 \
           -a atm.cfg IOS.BIN

(note input ports of IOS interfaces are output ports of ATM switch 
interfaces, and vice versa).

IOS configuration:

ip cef
ip vrf test
 rd 1:1
 route-target both 1:1
int a1/0
 no shut
int a1/0.2 p
 ip addr 1.1.1.1 255.255.255.0
 pvc 1/100
interface a2/0
 no shut
interface a2/0.2 p
 ip vrf forwarding test
 ip addr 1.1.1.2 255.255.255.0
 pvc 2/200
!

# ping 1.1.1.2
!!!!!


Virtual Frame-Relay switch
**************************

The virtual Frame-Relay switch fabric is used to emulate a Frame-Relay 
backbone between emulator instances. The use of this virtual switch is not 
mandatory, you can directly connect emulator instances with appropriate IOS
configuration.

Any emulator instance can act as a virtual Frame-Relay switch.

There is only a basic implementation of the LMI protocol (ANSI Annex D), which
is probably not conforming but works with Cisco IOS. Fortunately, Cisco IOS
is able to detect automatically the LMI protocol.

Example of configuration file (specified by the "-f" option):

# Virtual Interface List
IF:S0:udp:10001:127.0.0.1:10000
IF:S1:udp:10002:127.0.0.1:10003

# DLCI switching between S0 and S1
VC:S0:200:S1:100
VC:S1:100:S0:200

In this example, we have 2 virtual interfaces, S0 and S1. The syntax
for interface definition is similar to Port Adapters:

   IF:interface_name:netio_type[:netio_parameters]

DLCI switching syntax:

   VC:input_if:input_dlci:output_if:output_dlci

In the example above, the switch is configured to switch packets 
received on interface S0 with DLCI 200 to interface S1 with DLCI 100,
and vice-versa.

== EOF ==