North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

RE: Router Servers in a lab

  • From: Yosi Yarchi
  • Date: Thu Apr 12 13:41:42 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:[email protected] 
> 70 Pinsker St., Petach-Tikva 49221 ISRAEL
----------------------------------------------------------------------------
------



> -----Original Message-----
> From: mike harrison [mailto:[email protected]]
> 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
> 
>