Filter and print BGP data within MRT dumps. Can read files compressed with
gzip
,bzip2
andxz
. More information: https://codeberg.org/1414codeforge/ubgpsuite.
bgpgrep master6.mrt
bgpgrep master4.mrt -peer 64498
bgpgrep master4.mrt.bz2 -peer 2001:db8:dead:cafe:acd::19e
bgpgrep master6.mrt.bz2 -aspath '64498 64510'
bgpgrep master6.mrt.bz2 -supernet '2001:db8:dead:cafe:aef::5'
bgpgrep master4.mrt -communities \( '64497:*' \)