-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathREADME
40 lines (24 loc) · 1.24 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
35
36
37
38
* usage examples
% ./src/bgpdump2 --help
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2
% ./src/bgpdump2 ../ribs/rib.2014081{7,8}.1500.bz2
% ./src/bgpdump2 ../ribs/rib.2014081{7,8}.1500.bz2 --count
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 -k
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 --peer 1
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 -p 1 -l 8.8.8.8
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 -p 1 -L <addr-file>
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 -u -p 1 -p 2
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 -u -r -p 1 -p 2
udiff:
<: the prefix is in left and unreachable in right (maybe partially).
+: the prefix is only in right (but it is reachable in left).
): the prefix is in right, and is covered by a shorter prefix in left
that is unreachable in right. (i.e., the shorter is '<')
>: the prefix is in right and unreachable in left (maybe partially).
-: the prefix is only in left (but it is reachable in right).
(: the prefix is in left, and is covered by a shorter prefix in right
that is unreachable in left. (i.e., the shorter is '>')
% ./src/bgpdump2 ../ribs/rib.20140817.1500.bz2 -U -r -p 1 -p 2
verbose udiff:
{: the prefix to compare is in the left peer.
}: the prefix to compare is in the right peer.