tools:brt
This is an old revision of the document!
BGP Replay Tool
Used to test BGP Route Receiver that ships with Trisul.
1. Download BRT from http://caia.swin.edu.au/tools/bgp/brt/downloads.html
Make sure you download version 0.1, we are getting the following error with version 0.2
Can't locate object method “mp_unreach_nlri” via package “Net::BGP::Update” at brt-0.2.pl line 263, <$fh> line 2.
2. Install the Perl Net::BGP module
sudo cpanm Net::BGP
3. On router under test
say it has AS 400
sh bgp neighbors debug ip bgp all conf t router bgp 400 neighbor 192.168.3.100 remote-as 300
4. Download a route update file in MRT format. The easiest way is to download from a collector see http://archive.routeviews.org/
5. Convert the MRT format update file to a format acceptable by brt using bgpdump
BRT tool needs a human readable BGP update file
BGP update file in human readable with Unix format (bgpdump -m option)
Convert the file using bgpdump
bgpdump -m updates.20191101.0130 > updates.20191101.0130.bgpdump
6. Now you can inject routes into the router table.
tools/brt.1574343789.txt.gz · Last modified: 2019/11/21 19:13 by veera