Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10803990
  • 博文数量: 2905
  • 博客积分: 20098
  • 博客等级: 上将
  • 技术积分: 36298
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-23 05:00
文章存档

2012年(1)

2011年(3)

2009年(2901)

分类: LINUX

2009-03-23 11:15:52

#
#
#
#  =====================[[[[ Super Topology v3.3 ]]]]=====================
#
#
#
#  Problem
#  ----------
#  . linux, with 'cnfg = ', 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='
#  step 2) do 'import
#          for all 12 devices.
#  step 3) logon and do "write memory" at each device
#
#  Solution 2
#  -----------
#  Use dynamips working files to start routers directly.
#  
#  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)
#
#
#             |-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)
#
#
# 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
        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
        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
        mac = CE:04:AA:BB:CC:DD
        slot1 = NM-4T
        slot2 = NM-1FE-TX
        s1/0 = fr0 4
        s1/1 = fr1 4
    
    [[Router r5]]
        model = 3745
        console = 2005
        mac = CE:05:AA:BB:CC:DD
        slot1 = NM-4T
        slot2 = NM-1FE-TX
        s1/0 = fr0 5
        s1/1 = fr1 5
    
    [[Router r6]]
        model = 3745
        console = 2006
        mac = CE:06:AA:BB:CC:DD
        slot1 = NM-4T
        slot2 = NM-1FE-TX
        s1/0 = fr0 6
        s1/1 = fr1 6

[localhost:7202]
    
    udp = 13000
    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 sw1]]
        model = 3745
        console = 2007
        slot1 = NM-16ESW
        f1/1 = r1 f0/0
        f1/2 = r2 f0/0
        f1/3 = r3 f0/0
        f1/4 = r4 f0/0
        f1/5 = r5 f0/0
        f1/6 = r6 f0/0
        f1/10 = sw2 f1/10
        f1/11 = sw2 f1/11
        f1/12 = sw4 f1/12
        f1/13 = sw4 f1/13
        f1/14 = sw3 f1/14
        f1/15 = sw3 f1/15
    
    [[Router sw2]]
        model = 3745
        console = 2008
        slot1 = NM-16ESW
        f1/1 = r1 f0/1
        f1/2 = r2 f0/1
        f1/3 = r3 f0/1
        f1/4 = r4 f0/1
        f1/5 = r5 f0/1
        f1/6 = r6 f0/1
        f1/12 = sw3 f1/12
        f1/13 = sw3 f1/13
        f1/14 = sw4 f1/14
        f1/15 = sw4 f1/15
    
    [[Router sw3]]
        model = 3745
        console = 2009
        slot1 = NM-16ESW
        f1/10 = sw4 f1/10
        f1/11 = sw4 f1/11

[localhost:7203]
    
    udp = 14000
    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 sw4]]
        model = 3745
        console = 2010
        slot1 = NM-16ESW
        # Bridging to real network, and r1-6/sw1-4 are in the same segment
        f1/1 = r1 f2/0
        f1/2 = r2 f2/0
        f1/3 = r3 f2/0
        f1/4 = r4 f2/0
        f1/5 = r5 f2/0
        f1/6 = r6 f2/0
        f1/7 = NIO_tap:tap1
    
    [[Router bb123]]
        model = 3745
        console = 2011
        slot1 = NM-1FE-TX
        slot2 = NM-1FE-TX
        slot3 = NM-1FE-TX
        f0/0 = sw1 f1/0
        f1/0 = sw2 f1/0
        f2/0 = sw3 f1/0
        f3/0 = sw4 f1/0
    
    [[Router termserv]]
        model = 3745
        console = 2012
        f0/0 = NIO_tap:tap0
    
    [[FRSW fr0]]
        # R1
        1:102 = 2:201    # From port 1, DLCI 102 to port 2, DLCI 201.
        1:103 = 3:301
        1:104 = 4:401
        1:105 = 5:501
        1:106 = 6:601
        # R2
        2:203 = 3:302
        2:204 = 4:402
        2:205 = 5:502
        2:206 = 6:602
        # R3
        3:304 = 4:403
        3:305 = 5:503
        3:306 = 6:603
        # R4
        4:405 = 5:504
        4:406 = 6:604
        # R5
        5:506 = 6:605
    
    [[FRSW fr1]]
        # R1
        1:112 = 2:211    # From port 1, DLCI 112 to port 2, DLCI 211.
        1:113 = 3:311
        1:114 = 4:411
        1:115 = 5:511
        1:116 = 6:611
        # R2
        2:213 = 3:312
        2:214 = 4:412
        2:215 = 5:512
        2:216 = 6:612
        # R3
        3:314 = 4:413
        3:315 = 5:513
        3:316 = 6:613
        # R4
        4:415 = 5:514
        4:416 = 6:614
        # R5
        5:516 = 6:615
       


阅读(1540) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~