Cisco BRIB and Dampened Routes Collection

A script is run every two hours to collect the (full) BGP RIB and dampened routes. This is an expect script that logs into route-views.routeviews.org, runs "show ip bgp" and "show ip bgp dampening", and archives the output. The original collector script was written by Sean Mccreary of PCH. Due to IOS quirks, this script had problems with the magnitude of data from route-views.routeviews.org for the BGP RIB. It has been replaced with a script that uses the clogin expect script (from RANCID). It does something like similar to:

clogin -c 'show ip bgp' router > file

It will have to be customized for your environment, but has proven to be reliable. Please do not collect the BGP RIB from Route-Views' routers yourself. Use the archive we provide or collect RIBs from your own router using the scripts.