7200emu.hacki.at Forum Index 7200emu.hacki.at
Dynamips, Dynagen and all that stuff
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
7200emu.hacki.at Forum Index

hackibr>

Dynagen and 7200

 
Post new topic   Reply to topic    7200emu.hacki.at Forum Index -> dynagen
View previous topic :: View next topic  
Author Message
nekkro-kvlt



Joined: 14 Jun 2007
Posts: 76

PostPosted: Thu Aug 28, 2008 10:12 am    Post subject: Dynagen and 7200 Reply with quote

Hi everyone, I saw some dynagen 7200 .net files, and theres some options I don't know. I searched dynagen and dynamips readme, but can't find the purpose of these functions:

exec_area
mmap
npe
midplane
X
Y

Have you guys a link with all possible commands for dynagen ? Or a how to for setting up a 7200 router and how to optimize it ?
Thanks Smile
Back to top
View user's profile Send private message
bsd547



Joined: 30 Jul 2010
Posts: 24

PostPosted: Fri Aug 27, 2010 6:28 pm    Post subject: Reply with quote

here's mine on 7200-advanced IOS
this is a MPLS example

----------------------------
autostart = false
ghostios = true
sparsemem = true

[localhost]
workingdir = /root/dynagen/c72
mmap = false



[[7200]]
image = /root/dynagen/c72/c7200-adventerprisek9-mz.124-24.T2.bin
npe = npe-400
ram = 256
nvram = 128
disk0 = 64
disk1 = 64
confreg = 0x2102
midplane = vxr

[[2691]]
image = /root/dynagen/c72/c2691-adventerprisek9-mz.124-17a.bin
ram = 256
nvram = 128
disk0 = 64
confreg = 0x2102

[[router r1]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
fa0/0 = NIO_gen_eth:em0
s1/0 = r2 s1/0
s1/1 = r3 s1/0


[[router r2]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
s1/1 = r4 s1/0
s1/2 = r5 s1/0



[[router r3]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
s1/1 = r6 s1/0
s1/2 = r7 s1/0


[[router r4]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
fa0/0 = r8 fa1/4

[[router r5]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
fa0/0 = r8 fa1/5


[[router r6]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
fa0/0 = r8 fa1/6


[[router r7]]
model = 7200
slot1 = PA-4T
slot3 = PA-2FE-TX
fa0/0 = r8 fa1/7

[[router r8]]
model = 2691
slot1 = NM-16ESW
WIC0/0 = WIC-2T


--------------------------------------
r2-PE1-AS1#show ip inter brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
Serial1/0 10.10.10.1 YES NVRAM up up
Serial1/1 172.16.1.1 YES NVRAM up up
Serial1/2 192.168.1.1 YES NVRAM up up
Serial1/3 unassigned YES NVRAM administratively down down
FastEthernet3/0 unassigned YES NVRAM administratively down down
FastEthernet3/1 unassigned YES NVRAM administratively down down
Loopback0 10.10.10.101 YES NVRAM up up
Loopback101 172.16.101.1 YES NVRAM up up
Loopback201 192.168.201.1 YES NVRAM up up
r2-PE1-AS1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.10.10.0/30 is directly connected, Serial1/0
C 10.10.10.101/32 is directly connected, Loopback0
O 10.10.10.200/32 [110/65] via 10.10.10.2, 00:05:46, Serial1/0
O 192.168.1.0/24 [110/65] via 10.10.10.2, 00:01:19, Serial1/0
r2-PE1-AS1#show ip ospf neig
r2-PE1-AS1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
10.10.10.200 0 FULL/ - 00:00:37 10.10.10.2 Serial1/0
192.168.10.1 0 FULL/ - 00:00:33 192.168.1.2 Serial1/2
172.16.10.1 0 FULL/ - 00:00:37 172.16.1.2 Serial1/1
r2-PE1-AS1#
*Aug 25 04:46:24.427: %BGP-5-ADJCHANGE: neighbor 10.10.10.102 Up
r2-PE1-AS1#
r2-PE1-AS1#
r2-PE1-AS1#
r2-PE1-AS1#show ip ospf neigh
r2-PE1-AS1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
10.10.10.200 0 FULL/ - 00:00:37 10.10.10.2 Serial1/0
192.168.10.1 0 FULL/ - 00:00:33 192.168.1.2 Serial1/2
172.16.10.1 0 FULL/ - 00:00:34 172.16.1.2 Serial1/1
r2-PE1-AS1#
r2-PE1-AS1#
r2-PE1-AS1#show ip bgp vpnv4 all | begin 192.168.20.0
*>i192.168.20.0 10.10.10.102 65 100 0 ?
*>i192.168.99.0 10.10.10.102 84 100 0 ?
*>i192.168.199.0 10.10.10.102 20 100 0 ?
*> 192.168.201.1/32 0.0.0.0 0 32768 ?
*>i192.168.202.1/32 10.10.10.102 0 100 0 ?
r2-PE1-AS1#
r2-PE1-AS1#
r2-PE1-AS1#
r2-PE1-AS1#show ip route ospf
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O 10.10.10.4/30 [110/128] via 10.10.10.2, 00:05:39, Serial1/0
O 10.10.10.102/32 [110/129] via 10.10.10.2, 00:05:29, Serial1/0
O 10.10.10.200/32 [110/65] via 10.10.10.2, 00:18:24, Serial1/0
O 192.168.1.0/24 [110/65] via 10.10.10.2, 00:13:58, Serial1/0
r2-PE1-AS1#

---------------------------------------

r3-PE2-AS1#show ip inter brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
Serial1/0 10.10.10.5 YES NVRAM up up
Serial1/1 172.16.2.1 YES NVRAM up up
Serial1/2 192.168.2.1 YES NVRAM up up
Serial1/3 unassigned YES NVRAM administratively down down
FastEthernet3/0 unassigned YES NVRAM administratively down down
FastEthernet3/1 unassigned YES NVRAM administratively down down
Loopback0 10.10.10.102 YES NVRAM up up
Loopback101 172.16.102.1 YES NVRAM up up
Loopback202 192.168.202.1 YES NVRAM up up
r3-PE2-AS1#
*Aug 25 04:46:22.667: %LDP-5-NBRCHG: LDP Neighbor 10.10.10.200:0 (1) is UP
r3-PE2-AS1#
*Aug 25 04:46:24.903: %BGP-5-ADJCHANGE: neighbor 10.10.10.101 Up
r3-PE2-AS1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O 10.10.10.0/30 [110/128] via 10.10.10.6, 00:00:24, Serial1/0
C 10.10.10.4/30 is directly connected, Serial1/0
C 10.10.10.102/32 is directly connected, Loopback0
O 10.10.10.101/32 [110/129] via 10.10.10.6, 00:00:24, Serial1/0
O 10.10.10.200/32 [110/65] via 10.10.10.6, 00:00:24, Serial1/0
O 192.168.1.0/24 [110/65] via 10.10.10.6, 00:00:24, Serial1/0
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
10.10.10.200 0 FULL/ - 00:00:32 10.10.10.6 Serial1/0
192.168.199.1 0 FULL/ - 00:00:36 192.168.2.2 Serial1/2
209.165.201.1 0 FULL/ - 00:00:36 172.16.2.2 Serial1/1
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#show ip route vrf Cust_A ospf 101

Routing Table: Cust_A

172.16.0.0/16 is variably subnetted, 6 subnets, 3 masks
O IA 172.16.20.0/24 [110/65] via 172.16.2.2, 00:03:41, Serial1/1
209.165.201.0/27 is subnetted, 1 subnets
O E1 209.165.201.0 [110/84] via 172.16.2.2, 00:03:41, Serial1/1
209.165.202.0/27 is subnetted, 1 subnets
O E2 209.165.202.128 [110/20] via 172.16.2.2, 00:03:41, Serial1/1
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#


r3-PE2-AS1#show ip bgp vpnv4 vrf Cust_A
BGP table version is 33, local router ID is 10.10.10.102
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:100 (default for vrf Cust_A)
*>i172.16.1.0/30 10.10.10.101 0 100 0 ?
*> 172.16.2.0/30 0.0.0.0 0 32768 ?
*>i172.16.10.0/24 10.10.10.101 65 100 0 ?
*> 172.16.20.0/24 172.16.2.2 65 32768 ?
*>i172.16.101.1/32 10.10.10.101 0 100 0 ?
*> 172.16.102.1/32 0.0.0.0 0 32768 ?
*> 209.165.201.0/27 172.16.2.2 84 32768 ?
*> 209.165.202.128/27
172.16.2.2 20 32768 ?
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#show ip bgp vpnv4 all 172.16.20.0
BGP routing table entry for 1:100:172.16.20.0/24, version 19
Paths: (1 available, best #1, table Cust_A)
Flag: 0x820
Advertised to update-groups:
1
Local
172.16.2.2 from 0.0.0.0 (10.10.10.102)
Origin incomplete, metric 65, localpref 100, weight 32768, valid, sourced, best
Extended Community: RT:1:100 OSPF DOMAIN ID:0x0005:0x000000650200
OSPF RT:0.0.0.0:3:0 OSPF ROUTER ID:172.16.102.1:0
mpls labels in/out 23/nolabel
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#show ip bgp vpnv4 vrf Cust_A
BGP table version is 33, local router ID is 10.10.10.102
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:100 (default for vrf Cust_A)
*>i172.16.1.0/30 10.10.10.101 0 100 0 ?
*> 172.16.2.0/30 0.0.0.0 0 32768 ?
*>i172.16.10.0/24 10.10.10.101 65 100 0 ?
*> 172.16.20.0/24 172.16.2.2 65 32768 ?
*>i172.16.101.1/32 10.10.10.101 0 100 0 ?
*> 172.16.102.1/32 0.0.0.0 0 32768 ?
*> 209.165.201.0/27 172.16.2.2 84 32768 ?
*> 209.165.202.128/27
172.16.2.2 20 32768 ?
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#show ip route vrf Cust_B ospf 202

Routing Table: Cust_B

O E2 192.168.199.0/24 [110/20] via 192.168.2.2, 00:17:05, Serial1/2
O E1 192.168.99.0/24 [110/84] via 192.168.2.2, 00:17:05, Serial1/2
O 192.168.20.0/24 [110/65] via 192.168.2.2, 00:17:05, Serial1/2
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#sho ip bgp vpnv4 all | begin 192.168.20.0
*> 192.168.20.0 192.168.2.2 65 32768 ?
*> 192.168.99.0 192.168.2.2 84 32768 ?
*> 192.168.199.0 192.168.2.2 20 32768 ?
*>i192.168.201.1/32 10.10.10.101 0 100 0 ?
*> 192.168.202.1/32 0.0.0.0 0 32768 ?
r3-PE2-AS1#
r3-PE2-AS1#
r3-PE2-AS1#show ip bgp vpnv4 all 192.168.99.0
BGP routing table entry for 1:200:192.168.99.0/24, version 11
Paths: (1 available, best #1, table Cust_B)
Advertised to update-groups:
1
Local
192.168.2.2 from 0.0.0.0 (10.10.10.102)
Origin incomplete, metric 84, localpref 100, weight 32768, valid, sourced, best
Extended Community: RT:1:200 OSPF DOMAIN ID:0x0005:0x000000CA0200
OSPF RT:0.0.0.0:5:0 OSPF ROUTER ID:192.168.202.1:0
mpls labels in/out 19/nolabel
r3-PE2-AS1#

---------------------------------

r4-CE1-A#show ip route ospf
172.16.0.0/16 is variably subnetted, 6 subnets, 3 masks
O IA 172.16.20.0/24 [110/129] via 172.16.1.1, 00:03:37, Serial1/0
O IA 172.16.2.0/30 [110/65] via 172.16.1.1, 00:03:37, Serial1/0
O 172.16.101.1/32 [110/65] via 172.16.1.1, 00:16:41, Serial1/0
O IA 172.16.102.1/32 [110/65] via 172.16.1.1, 00:03:37, Serial1/0
209.165.201.0/27 is subnetted, 1 subnets
O E1 209.165.201.0 [110/148] via 172.16.1.1, 00:03:37, Serial1/0
209.165.202.0/27 is subnetted, 1 subnets
O E2 209.165.202.128 [110/20] via 172.16.1.1, 00:03:37, Serial1/0
r4-CE1-A#
Back to top
View user's profile Send private message
phoenixp160



Joined: 30 Mar 2011
Posts: 72

PostPosted: Mon Apr 25, 2011 7:11 am    Post subject: Reply with quote

Dynamips Cisco 7200 router emulator. It uses an INI-like configuration file to provision dynamips emulator networks. It takes care of specifying the right port adapters, generating and matching up those pesky NIO descriptors, specifying bridges, frame-relay, ATM switches, etc.
____________
Zoladex
Zoladex
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    7200emu.hacki.at Forum Index -> dynagen All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


 


Powered by phpBB © 2001, 2005 phpBB Group