# Examples of all Dynagen network file options
autostart = true # Should all devices be automatically started? true or false, defaults to true. Can be overridden on a per device basis
debug = 0 # Debug output level. Higher numbers produce increasing levels of verbosity. 0 means none (the default). 1 is the same as the -d command line switch
model = 7200 # Set the default router model for all routers in this lab. Current options are 2610, 2611, 2620, 2621, 2610XM, 2620XM, 2621XM, 2650XM, 2651XM, 2691, 3620, 3640, 3660, 3725, 3745, or 7200
ghostios = false # Enable or disable IOS ghosting globally for this lab. Can be overridden at the device defaults sections, or the device sections. Defaults to False.
ghostsize = 128 # Manually tweak the amount of virtual ram allocated by the ghost image(s). Use of this option should never be necessary, because the ghost size is now automatically calculated.
sparsemem = false # Enable or disable sparse memory support globally for this lab
idlemax = 1500 # Advanced manipulation of idlepc. Applies to all devices in this network.
idlesleep = 30 # Advanced manipulation of idlepc. Applies to all devices in this network.
oldidle = false # Setting this to true allows you to use pre-0.2.7-RC2 idlepc values. This disables direct jumps between JIT blocks (new to 0.2.7 RC2)
# Each DYNAMIPS section sepecifies a dynamips server and the devices it hosts
[bender:7200] # The hostname or IP address of a Dynamips server, and the control port. If you do not specify the port it defaults to 7200
port = 7200 # "Old style" method for specifying the control port. Optional, defaults to 7200
console = 2000 # Base console port. New instances that do not specify a console port will default to this + the intance number. Defaults to 2000
workingdir = /home/labs/test lab 1 # Set the directory where Dynamips will store all the device files for this network. This is the fully qualified path relative to the system running dynamips.
udp = 10000 # Set the base UDP port for NIOs
# Note that you can not use ghostios, ghostsize, sparsemem, idlemax, idlesleep, model, autostart, or oldidle options in this section. They will have no effect!
# The 7200 section specifies defaults for all 7200 routers on this Dynamips server. Everything in this
# section is optional, and defaults to whatever the default is in Dynamips
[[7200]]
image = /opt/7200-images/c7200-ik9o3s-mz.122-15.T17.image # Full path to 7200 IOS image file. This is the fully qualified path relative to the system running dynamips.
dynagen 使用介绍
最新推荐文章于 2024-10-07 17:12:04 发布
