forked from yasuhironet/bgpdump2
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
34 lines (34 loc) · 1.88 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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.