Skip to content

Bgpdump2: A Tool to Read and Compare the BGP RIB Dump Files.

License

Notifications You must be signed in to change notification settings

rtbrick/bgpdump2

 
 

Repository files navigation

Usage: ./bgpdump2 [options] <file1> <file2> ...
-h, --help                Display this help and exit.
-V, --version             Print the program version.
-v, --verbose             Print verbose information.
-d, --debug               Display debug information.
-m, --compat-mode         Display in libbgpdump -m compatible mode.
-b, --brief               List information (i.e., simple prefix-nexthops).
-B, --blaster <addr>      Blast RIB to a BGP speaker.
-D, --blaster-dump        Blast BGP stream to a file.
-T, --prefix-limit        Prefix limit for Blaster mode.
-S, --next-hop-self <addr> Overwrite nexthop attribute.
-a, --autnum <asn>        Blaster Mode. Specify ASN.
                          At most 8 ASNs can be specified.
-P, --peer-table          Display the peer table and exit.
-p, --peer <peer_index>   Specify peers by peer_index.
                          At most 8 peers can be specified.
-u, --diff                Shows unified diff. Specify two peers.
-U, --diff-verbose        Shows the detailed info of unified diff.
-r, --diff-table          Specify to create diff route_table.
-c, --count               Count the route number.
-j, --plen-dist           Count the route number by prefixlen.
-k, --peer-stat           Shows prefix-length distribution.
-N, --bufsiz              Specify the size of read buffer.
                          (default: 16MiB)
-M, --nroutes             Specify the size of the route_table.
                          (default: 1000K)
-g, --benchmark           Measure the time to lookup.
-q, --quiet               Minimal verbosity output
-l, --lookup <addr>       Specify lookup address.
-L, --lookup-file <file>  Specify lookup address from a file.
-4, --ipv4                Specify that the query is IPv4. (default)
-6, --ipv6                Specify that the query is IPv6.
-H, --heatmap <file-prefix> Produces the heatmap.
-t, --log <log-name>      Turn on logging.

About

Bgpdump2: A Tool to Read and Compare the BGP RIB Dump Files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 45.1%
  • Shell 44.0%
  • Makefile 9.4%
  • Smarty 0.9%
  • R 0.4%
  • M4 0.2%