Dynamips : How to get 10% CPU load only !

Hello all,

I found a nice info about Dynamips today. With the IOS image mentionned below, you’ll be able to run up to five 7200 routers and have a cpu load around 10% !!

IOS Image IdlePC %stable CPU Usage
c7200-jk9o3s-mz.124-7.bin 0×608049e8 <10%
c7200-pk9u2-mz[1].124-17.bin 0×60848e80 <9%

Enjoy ;)

New page : Tools

Hello all,

I just published a new page, where you’ll find some network tools. I stored some on my usb key and cannot do without… Let’s enjoy !

See you later ;)

BGP regular expressions

Hello,

Here is an article to remain or learn each metacharacter feature in ip as-path command.

. Any single character, including white space.
[] Any character listed between the brackets.
[^] Any character except those listed between the brackets. (The caret is placed before the sequence of literals.)
- (Hyphen) Any character in the range between the two literals separated by the hyphen.
? Zero or one instances of the character or pattern.
* Zero or more instances of the character or pattern.
+ One or more instances of the character or pattern.
^ Start of a line.
$ End of a line.
| Either of the literals separated by the metacharacter.
_ (Underscore) A comma, the beginning of the line, the end of the line, or a space.

Link on Cisco Documentation

HTH ;)

How to list all ACL defined under a particular interface or route-map

Hello,

Here is an IOS tips to find all access-lists applied on an interface or route-map.

R1#sh run | inc ^(interface|route-map) | access-group
interface Dialer 0
ip access-group 102 out
interface FastEthernet0/0
ip access-group 101 in
route-map rm-lan permit 10

HTH ;)

How to use SecureCRT with Dynamips

Hello,

If SecureCRT is your favorite telnet/ssh tool, you can now use it with Dynamips !
Procedure is quite simple and is described below :

- Modify your dynagen.ini file in C:\Program Files\Dynamips and add the following line :
telnet = start C:\progra~1\SecureCRT\SecureCRT.EXE /script c:\progra~1\dynamips\securecrt.vbs /arg %d /T /telnet %h %p & sleep 1

- Write a vbs script and copy it into the same folder as dynagen.ini file. The script filename must be securecrt.vbs
#$Language="VBScript"
#$Interface=”1.0″
Sub main
crt.window.caption = crt.arguments(0)
End Sub

All is ready now, when you issue a “telnet /all” on dynamips console, SecureCRT will run and each router will be displayed in its own tab.

HTH ;)

BGP Lab

Hello,

Following the mpls lab I posted last week, I made the same for Knet BGP lab.
I just set up the dynagen file with ip address and interfaces configuration.
I let you choose the IGP you would like to implement.
I know it will be a cornelian choice between eigrp and ospf ;)
Here is the link to download the archive.

Enjoy !

Physical Topology

Logical Topology

MPLS Lab

Hello,

I’m currently doing Knowledge Net MPLS labs.
I set up my lab on Dynamips and for the moment it runs very well…
You can download the dynagen .net file here.

Enjoy ! ;)

Lab Topology

White Paper : Cisco Catalyst 3750 Switches

Hello folks,

I found an interesting white paper on Cisco’s website about Stackwise feature on 3750 switches.

Here is the link ;)

Terminal settings on Cisco IOS

Hello,

You have already been blocked while troubleshooting an issue by an infinite traceroute. You did not find which keys to use to stop it ? Here is the solution : In EXEC mode, type terminal escape-character 03
Now you can stop any traceroute or ping at anytime by using Ctrl + C sequence !

If you need further tips, check this page : Link.

See you later !

How to configure SDM with Dynamips

Hello gears,

I installed SDM engine today in order to prepare myself for ISCW test.

I searched the web about howto’s but I never found what I needed. Hope that tutorial can help someone else.

Steps :

  • Configure an ip address on a router interface and enable it. This interface must be fast/ethernet type.
    • Ex :
    • Router#conf t
    • Router(config)#ip http secure-server (Some keys should be generated…)
    • Router(config)#interface fastethernet0/0
    • Router(config-int)#ip address 172.16.0.2
    • Router(config-int)#duplex full
    • Router(config-int)#no shut
  • Install a loopback adaptater on your pc : You can follow the following article for this Link.
  • Run the “Network device list” batch from Dynamips folder and gather the hardware reference for your network adaptater.
  • Edit you .net file and add the following statement
    • F0/0 = NIO_gen_eth:DeviceNPF_{ ** your nic reference **}
  • Modify the new Windows network connection and assign it a static ip address such as 172.16.0.1/24.
  • Run your .net file and try to ping from both sides : Router->PC and PC->Router
  • Install SDM engine on your PC. I’m currently using the version 2.4.1. You may need to allow activex, you can trust them.
  • Use the ip address you defined on the router and enter it into SDM. 172.16.0.2 in our case.
  • You will be prompted for a username and a password. You have to define it into router configuration. Below is an example.
    • Router(config)#usernmame sdm priv 15 password sdmlab

Cheers and Enjoy ! ;)