分析BGP RouteView數據的步驟

怕自己忘了,記着


1.從http://archive.routeviews.org/下載.bz2的原始數據包,解壓

bzip2 -d xxx.bz2

2.下載zebra-dump-parser 軟件,用於將數據轉成ascii碼形式

http://www.linux.it/~md/software/zebra-dump-parser.tgz

tar xvzf 解壓縮


3. 將zebra-dump-parser.pl上面幾行的變量format值改成1,

At the top of the script, set the format to 1, and the ignore_v6_routes to 0


4.生成ascii的文件

cat rib.20111001.0000 |  ./zebra-dump-parser.pl > rib.20111001.0000.txt

5.。。。分析

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章