快速业务通道

Dynamips: Wandering的Dynagen实验拓朴(.net文件)

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-07
#
#
#
# =====================[[[[ Super Topology v3.3 ]]]]=====================
#
#
#
# Problem
# ----------
# . linux, with ''cnfg = <config-file>'', run ''.net'' file at the 1st time,
# everything is ok. But, the 2nd time running ''.net'' file with ''cnfg ='',
# the configuration will be lost and initial configure wizard apearing.
#
# Solution 1
# -----------
# step 1) run ''.net'' file without ''cnfg=<config-file>''
# step 2) do ''import <device-name> <config-path-file'' . dynagen console
# for all 12 devices.
# step 3) logon and do "write memory" at each device
#
# Solution 2
# -----------
# Use dynamips working files to start routers directly.
#
拥有帝国一切,皆有可能。欢迎访问phome.net# Router: r1, r2, r3, r4, r5, r6 (Cisco 3745, Full-meshed)
# Switch: sw1, sw2, sw3, sw4 (Cisco 3745, Full-meshed)
# Router: termserv, bb123 (Cisco 3745)
#
#
# ( r1 )-s1/0,s1/1------|
# ( r2 )-s1/0,s1/1------|
# ( r3 )-s1/0,s1/1------ -{ Frame-Relay Cloud }
# ( r4 )-s1/0,s1/1------|
# ( r5 )-s1/0,s1/1------|
# ( r6 )-s1/0,s1/1------|
#
# ( Rx )-s1/n--------s1/n-( Ry )
# | |
# dlci: xny dlci: ynx (n=0,1)
#
# ( rx )-f0/0--------f1/x-[ sw1 ]
# ( rx )-f0/1--------f1/x-[ sw2 ]
#
#
# |-f0/0--------f1/0-[ sw1 ] (bb1)
# (bb123)- -f1/0--------f1/0-[ sw2 ] (bb2)
# |-f2/0--------f1/0-[ sw3 ] (bb3)
#
拥有帝国一切,皆有可能。欢迎访问phome.net#
# |-f1/10------f1/10-|
# [ sw1 ]-|-f1/11------f1/11-|-[ sw2 ]
# | | | |
# f1/12 f1/13 f1/12 f1/13
# | | | |
# | | | |
# | | | |
# f1/12 f1/13 f1/12 f1/13
# | | | |
# [ sw4 ]-|-f1/10------f1/10-|-[ sw3 ]
# |-f1/11------f1/11-|
#
#
# [ sw1 ]-|-f1/14------f1/14-|-[ sw3 ]
# |-f1/15------f1/15-|
#
# [ sw2 ]-|-f1/14------f1/14-|-[ sw4 ]
# |-f1/15------f1/15-|
#
#
#
# (Wandering, 2009/01/10)
#
# 拥有帝国一切,皆有可能。欢迎访问phome.net
# Q: How to resolve the problem of duplex or speed mismatching?
# A: int f0/0 -> shut -> speed 100 -> duplex full -> no shut
#
# Q: How to backup the configuration of virtual router?
# A: Cisco 36xx - c3600_xx_nvram - NVRAM
# c3600_xx_bootflash - FLASH (storing vlan.dat)
# Cisco 37xx - c3745_xx_rom - NVRAM
#
#


autostart = False
ghostios = True
#sparsemem = true # This is .ly used for Windows which has a limit for 2
# GB memory handling per process.


[localhost:7200]

udp = 11000
workingdir = /dynamips/wdy.super.topology.v3.3/working

[[3745]]
image = /dynamips/images/c3745-adventerprisek9-mz.124-12.bin
ram = 128
rom = 4
nvram = 128 拥有帝国一切,皆有可能。欢迎访问phome.net
disk0 = 64
disk1 = 0
confreg = 0x2102
mmap = True
idlepc = 0x60a814d0
exec_area = 64

[[ROUTER r1]]
model = 3745
console = 2001
mac = CE:01:AA:BB:CC:DD
slot1 = NM-4T
slot2 = NM-1FE-TX
s1/0 = fr0 1
s1/1 = fr1 1

[[ROUTER r2]]
model = 3745
console = 2002
mac = CE:02:AA:BB:CC:DD
slot1 = NM-4T
slot2 = NM-1FE-TX
s1/0 = fr0 2
s1/1 = fr1 2

[[Router r3]]
model = 3745 拥有帝国一切,皆有可能。欢迎访问phome.net
console = 2003
mac = CE:03:AA:BB:CC:DD
slot1 = NM-4T
slot2 = NM-1FE-TX
s1/0 = fr0 3
s1/1 = fr1 3

[localhost:7201]

udp = 12000
workingdir = /dynamips/wdy.super.topology.v3.3/working

[[3745]]
image = /dynamips/images/c3745-adventerprisek9-mz.124-12.bin
ram = 128
rom = 4
nvram = 128
disk0 = 64
disk1 = 0
confreg = 0x2102
mmap = True
idlepc = 0x60a814d0
exec_area = 64

[[Router r4]]
model = 3745
console = 2004

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号