dynagen 使用介绍

本文档提供了关于Dynagen网络文件中各项配置选项的详细示例,包括路由器模型设置、内存分配、启动设置、Dynamips服务器配置、以及不同型号路由器如7200、3620的默认参数。此外,还涵盖了路由器实例的定义,如接口连接、网络模块和WIC插槽的指定。

# 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.
  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值