bgpdump1
Translate mrt format files into readable output
Usage
Usage:
bgpdump [{-m | -M}]
[{-t
dump | -t
change}]
[-O
<output-file>]
<input-file>
Version
Version 1.4.99.15+hg127
Options
Output mode:
-
-H -
multi-line, human-readable (the default)
-
-m -
one-line per entry with unix timestamps
-
-M -
one-line per entry with human readable timestamps in the form MM/DD/YY HH:MM:SS (there are other differences between -m and -M)
Common options:
-
-O file -
output to 'file' instead of STDOUT
-
-s -
log to syslog (the default)
-
-v -
log to STDERR
Options for -m and -M modes:
-
-t dump -
timestamps for RIB dumps reflect the time of the dump (the default)
-
-t change -
timestamps for RIB dumps reflect the last route modification
-
-p -
show packet index at second position
Special options:
-
-T -
run internal tests and exit
Input formats
- •
-
MRT routing table dump entries in TABLE_DUMP or TABLE_DUMP_V2 types
- •
-
Zebra/Quagga BGP records:
- •
-
BGP messages (OPEN, UPDATE, NOTIFY, KEEPALIVE)
- •
-
BGP state changes
- •
-
File may be gzipped or bzip2'd and/or passed in through stdin
The file format is described in the Internet Draft grow-mrt-13: <https://tools.ietf.org/html/draft-ietf-grow-mrt-13>
Debian
Besides bug fixes, the following changes were done in the packaging for the Debian distribution:
- •
-
The maximum number of prefixes processed from a single update
messages was raised from 2050 to 8192.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)