Router Servers in a lab

Yosi Yarchi Yosi_Yarchi at KereniX.com
Thu Apr 12 17:35:55 UTC 2001


Hi

I'm using mrtd for this purpose exactly. To begin with, I wrote small PERL
script (route_stoa.pl) which takes "show ip bgp" output of cisco router
(default free, found in the internet) and convert it to mrtd ASCII format.
Then I patched the route_atob (route_atob.c) of mrtd package to read this
file. I used sbgp to inject the full table into my router. Assuming that the
"show ip bgp" dump file is ASproc.pl (this is actually the name I found it),
the command should be (after trimming ASproc so only pure table exist):

gunzip --stdout ASproc.pl | route_stoa.pl -i stdin -o stdout | route_atob -i
stdin -o stdout | sbgp -i stdin .... 

Good luck

Best Regards,
Yosi Yarchi

KereniX                           	    Data-Aware Optical NetworksTM
----------------------------------------------------------------------------
------
Yosi Yarchi 		http://www.kerenix.com     
Phone: +972-3-9050783	Mobile: 972-58-512783
Fax:  +972-3-9347720	
mailto:yosi_yarchi at kerenix.com 
> 70 Pinsker St., Petach-Tikva 49221 ISRAEL
----------------------------------------------------------------------------
------



> -----Original Message-----
> From: mike harrison [mailto:meuon at highertech.net]
> Sent: Wed, April 11, 2001 6:27 AM
> To: Barrie Jones
> Cc: Perry Jannette; Nanog1
> Subject: Re: Router Servers in a lab
> 
> 
> 
> > i like mrtd better anyway, since it has the bgpsim tool.  
> it allows you
> > to withdraw and announce routes to simulate flapping.  has 
> frequency,
> > jitter, all that fun stuff.
> > (see www.mrtd.net)
> 
> Downloading.... :)  --Thanks
> 
> 




More information about the NANOG mailing list