Skip to main content

How to configure Dynamips template preferences

Dynamips is the engine in GNS3 that uses IOS images to simulate Cisco routers. Unlike built-in templates, Dynamips IOS router templates need to be created by the user. You must select the IOS image, choose the platform, configure slots, and so on.

Supported Platforms (7 types)

PlatformModelsRAM (default)NVRAMSpecial fields
c72007200 series512 MB512 KBnpe, midplane
c37453745256 MB256 KB--
c37253725128 MB256 KB--
c36003620 / 3640 / 3660192 MB128 KBchassis
c26912691192 MB256 KB--
c26002610~2651XM and more chassis160 MB128 KBchassis
c17001720~1760160 MB128 KBchassis

Create a Template

note

Different platforms support different Network Adapters. Please choose based on your device.

  1. Click the "Dynamips" option to enter.

    Enter Dynamips
  2. Click the + button at the top right to add a new template.

    Click add
  3. Follow the wizard steps. Click "IOS Image".

    Wizard start
  4. In the IOS Image step, click "Click to add image" to upload a local image file, or choose an already uploaded image from the list below. Then click "Name and platform".

    Choose image file
  5. In Name and platform, enter the name and choose the platform. Then click "Memory".

    Name and platform
  6. In Memory, you can change the RAM size. The default values are fine. Then click "Network adapters".

    Memory settings
  7. In Network adapters, select the interface cards for the template. Then click "Idle-PC".

    Network adapters
  8. Click the "Idle-PC finder" button to calculate the Idle-PC value. This value helps reduce CPU usage.

    Idle-PC finder
  9. After the calculation is done, click the "Add Template" button.

    Add template
  10. After creation, you can see the new template in the list.

    Creation done
  11. Click the three-dot button on the right to choose Delete, Copy, or Edit.

    Action menu

IOS Router Template Configuration Details

Click the "Edit" button to enter the configuration details.

General settings

General Settings (c7200)

Here are all the fields in the General settings area of the IOS router template configuration page and what they do:

FieldTypeDefaultUse
Template nameTextRequired, no defaultName of the template, shown in the list
Default name formatTextR{0}Auto-naming format for instances. {0} is an increasing number
CategoryDropdownrouterCategory for grouping in the device panel
SymbolText + buttonrouterIcon shown on the topology
PlatformRead-onlyc7200 (cannot change after creation)Platform name
ChassisRead-onlyNot applicablec7200 has no chassis option
TagsChip input[]Tags for sorting/filtering
IOS image pathTextRequired, no defaultPath to the IOS image file
Initial startup-configTextios_base_startup-config.txtStartup configuration file
Initial private-configText"" (empty)Private configuration file
Console typeDropdowntelnetOptions: telnet / vnc / spice / none
Auxiliary console typeDropdownnoneAuxiliary console type
Auto start consoleCheckboxFalseAutomatically opens the console when enabled
note

For example, on Cisco IOS devices, you need to add a device_type tag so that AI Copilot can recognize the device type, for example device_type:cisco_ios_telnet. Without the correct tag, AI Copilot cannot work with this device.

Special notes about c7200:

  • c7200 has no Chassis option (unlike c1700/c2600/c3600), so Chassis is not shown in General settings
  • c7200 network adapters are configured in the Slots area
  • When Console type is set to vnc or spice, the server needs VNC/SPICE support to work correctly
Slot configuration

Memories and Disks

This area has two parts: Memory and Disk.

Memory

FieldTypeUnitTemplate defaultCompute actual valueUse
RAM sizeNumber inputMB512256Memory for the router
NVRAM sizeNumber inputKB512128Non-volatile RAM, stores startup-config
I/O memoryNumber input%Not applicable--c7200 does not have this field. Managed by Slot 0 IO controller

Disk

FieldTypeUnitTemplate defaultCompute actual valueUse
PCMCIA disk0Number inputMB064ATA flash disk0 size. Set to 0 to disable
PCMCIA disk1Number inputMB00Second storage device
note

Template default values are not the same as the actual Dynamips process defaults. The template gives recommended values. The compute side has the hard defaults from Dynamips.

Special notes about c7200:

  • c7200 does not show the I/O memory field. I/O memory is managed by the IO controller card selected in Slot 0
  • PCMCIA disk0/disk1 match the real router's disk0: and disk1:. c7200 usually needs at least disk0 to start IOS
  • There is a checkbox "Automatically delete NVRAM and disk files" at the bottom. When checked, NVRAM and disk files are cleaned up when the project is deleted
Memory and disk

Slots (c7200)

c7200 simulates a 7206 router. It has 7 slots (0-6). Slot 0 is the IO controller (single choice). Slots 1-6 are port adapters (can choose multiple, can be empty).

SlotAvailable adaptersDescription
Slot 0C7200-IO-FE, C7200-IO-2FE, C7200-IO-GE-EIO controller. Provides out-of-band management interface. 1 or 2 Fast Ethernet ports, or 1 Gigabit port
Slots 1-6PA-A1ATM adapter, for ATM network interfaces
PA-FE-TXSingle port Fast Ethernet
PA-2FE-TXDual port Fast Ethernet
PA-GESingle port Gigabit Ethernet
PA-4T+4-port serial (enhanced)
PA-8T8-port serial
PA-4E4-port Ethernet
PA-8E8-port Ethernet
PA-POS-OC3Packet-over-SONET OC3 interface

Behavior:

  • Slot 0: only one IO controller can be selected (no empty option)
  • Slots 1-6: multiple choices allowed, can be left empty
  • Template defaults: Slot 0 -> None, Slots 1-6 -> None (all empty at template level). The client UI may fill in the first available option automatically
  • c7200 has no WIC slots. WIC functions are provided by the Slot 0 IO controller
Slot details

Advanced Settings (c7200)

FieldTypeDefaultUse
System IDTextFTX0945W0MYCisco router System ID, used to unlock feature sets
Base MACText (format xxxx.xxxx.xxxx)"" (empty)Base MAC address. If empty, the server assigns one automatically
Idle-PCText (hex 0x...)"" (empty)Key parameter to lower CPU usage. Detected with Idle-PC finder
IdlemaxNumber500Idle detection parameter, controls max CPU time slice
IdlesleepNumber30Sleep time per idle cycle (microseconds)
Exec areaNumber64JIT compiler execution area size
Enable mmap supportCheckboxTrueEnables memory-mapped file support
Enable sparse memory supportCheckboxTrueSparse memory support, enabled by default on c7200

Important notes for c7200:

  • Idle-PC is required for c7200. Without it, the host CPU will stay at 100%
  • mmap and sparsemem: for c7200 with 512 MB RAM or more, it is recommended to enable both
  • c7200 may need more conservative Idlemax and Idlesleep values than lower-end platforms
Advanced settings