Download presentation
Presentation is loading. Please wait.
Published byAbraham Brown Modified over 6 years ago
0
OpenBMP BoF RIPE / Budapest 2017.05.11
Randy Bush Serpil Bayraktar Tim Evens Cristel Pelsser A stuffed teddy bear to the person who thinks of a better name RIPE OpenBMP Creative Commons: Attribution & Share Alike
1
Poor Visibility I want to see more deeply into the router
especially BGP RIPE OpenBMP Creative Commons: Attribution & Share Alike
2
Creative Commons: Attribution & Share Alike
BGP Monitoring BGP is the world’s best information hiding protocol <tm>. It only gives me the router’s best path Peers P0 Peering Router P1 Best Path Vantage Point (VP) P2 P3 P3 P4 And VP does not even know why P3 was chosen RIPE OpenBMP Creative Commons: Attribution & Share Alike
3
BGP Monitoring Protocol
With BMP, I learn all the paths the peering router heard Peers P0 Peering Router P1 All Paths Vantage Point P2 P0-4 P3 P4 RIPE OpenBMP Creative Commons: Attribution & Share Alike
4
Creative Commons: Attribution & Share Alike
You See Much More BMP Message Types (RFC 7854) 0: Route Monitoring 1: Statistics Report 2: Peer Down Notification 3: Peer Up Notification 4: Initiation 5: Termination 6: Route Mirroring (major topic) 7: Your Horoscope RIPE OpenBMP Creative Commons: Attribution & Share Alike
5
Creative Commons: Attribution & Share Alike
BGP is the Transport It could have been DNS :) Shared Code But Also Shared Fate And one well-known implementation has shared fate problems with BGP RIPE OpenBMP Creative Commons: Attribution & Share Alike
6
An ISP’s Collector All Paths Collector in NOC? The Collector sees the
outward views of the peering edge, not just the best paths Peering Router Vantage Point BMP Collector Peering Router Vantage Point Collector in NOC? All Paths Vantage Point Peering Router Vantage Point Peering Router Vantage Point Peering Router RIPE OpenBMP Creative Commons: Attribution & Share Alike
7
A Public Collector All Paths Collects Vantage Points
The Collector sees the total views of the peers, not just their best paths ISP0 Vantage Point BMP Collector ISP1 Vantage Point Collects Vantage Points All Paths Vantage Point ISP2 Vantage Point ISP3 Vantage Point ISP4 RIPE OpenBMP Creative Commons: Attribution & Share Alike
8
Creative Commons: Attribution & Share Alike
OpenBMP Project ISP0 ISP1 OpenBMP Collector Analysis & GUI WOW! All Paths ISP2 ISP3 ISP4 RIPE OpenBMP Creative Commons: Attribution & Share Alike
9
Creative Commons: Attribution & Share Alike
In a Nutshell Think RIS / Route Views for BMP Add a web-based sexy GUI With some cool analysis tools RIPE OpenBMP Creative Commons: Attribution & Share Alike
10
Creative Commons: Attribution & Share Alike
Just Some Examples RIPE OpenBMP Creative Commons: Attribution & Share Alike
11
Creative Commons: Attribution & Share Alike
A Tasting Menu RIPE OpenBMP Creative Commons: Attribution & Share Alike
12
Creative Commons: Attribution & Share Alike
Noisiest Prefixes Lets Zoom! RIPE OpenBMP Creative Commons: Attribution & Share Alike
13
Creative Commons: Attribution & Share Alike
History of That Prefix Every Change And What Changed dupe! RIPE OpenBMP Creative Commons: Attribution & Share Alike
14
And, Of Course, the Mandatory World Map
You Are Here RIPE OpenBMP Creative Commons: Attribution & Share Alike
15
OpenBMP– Architecture
Apps (Analytics) Optionally to DB REST API MySQL Apps (Analytics) Message Bus Data (raw and parsed) SNAS Collector BMP Availability Vendor Release Notes IOS-XE 3.12 and above ASR1K, CSR1000v IOS-XR 5.2.2 ASR9K, CRS, NCS6K, XRv NX-OS Evergreen N9K, N7K JunOS Since 10.3 MX, EX ACX (12.3) goBGP 1.3+ OpenBMP is an open-source collector that implements BMP to store and maintain multiple address family topologies in both real-time and point-in-time (historical) BGP data is decoded ,stored in local or external a database and accessed via standard ODBC/MySQL driver or via the API by custom applications Operator access directly or via the OSS/BSS Cisco continuously develop , certify and add new custom applications with integrated dashboard, reports, events to tailor to the operator needs . BMP Routers XE/XR/JunOS Peers RIPE OpenBMP Creative Commons: Attribution & Share Alike
16
Creative Commons: Attribution & Share Alike
OpenBMP Architecture TCP Listener Connection Thread Ingress Buffer Parser (BMP & BGP) Produce RAW (Native BGP) Textual (JSON/CSV) Kafka collector Router Connections MySQL/MariaDB Consumer SQL Transformation DB Connection MariaDB REST API Web UI RIPE OpenBMP Creative Commons: Attribution & Share Alike
17
Creative Commons: Attribution & Share Alike
OpenBMP Architecture App TCP Listener Connection Thread Ingress Buffer Parser (BMP & BGP) Kafka collector Router Connection MySQL/MariaDB Consumer SQL Transformation DB Connection MariaDB REST API Web UI Produce RAW (Native BGP) Textual (JSON/CSV) RIPE OpenBMP Creative Commons: Attribution & Share Alike
18
Creative Commons: Attribution & Share Alike
OpenBMP Architecture TCP Listener Connection Thread Ingress Buffer Parser (BMP & BGP) Kafka collector Router Connection MySQL/MariaDB Consumer SQL Transformation DB Connection MariaDB REST API Web UI Produce RAW (Native BGP) Textual (JSON/CSV) App RIPE OpenBMP Creative Commons: Attribution & Share Alike
19
How to Configure Your Router
RIPE OpenBMP Creative Commons: Attribution & Share Alike
20
Creative Commons: Attribution & Share Alike
IOS XE / (or greater) router bgp <nnnn> bmp server 1 address port-number 5000 description "BMP Server - primary" initial-delay 10 failure-retry-delay 120 flapping-delay 120 stats-reporting-period 300 update-source GigabitEthernet1 activate exit-bmp-server-mode ! bmp buffer-size 100 neighbor <ip/group> bmp-activate all neighbor ... RIPE OpenBMP Creative Commons: Attribution & Share Alike
21
Creative Commons: Attribution & Share Alike
IOS XR (or greater) router bgp <nnnn> ! neighbor <d.d.d.d> bmp-activate server 1 ... bmp server 1 host port 5000 description BMP Server - primary update-source GigabitEthernet0/0/0/0 initial-delay 60 initial-refresh delay 60 spread {number of peers * 2} stats-reporting-period 300 RIPE OpenBMP Creative Commons: Attribution & Share Alike
22
Creative Commons: Attribution & Share Alike
JunOS 13.3 (or greater) routing-options { bmp { station BMPServer1 { initiation-message "Development/LAB"; local-address ; connection-mode active; monitor enable; route-monitoring { pre-policy; post-policy; } station-address ; station-port 5000; statistics-timeout 300; RIPE OpenBMP Creative Commons: Attribution & Share Alike
23
But I Have 42 Years of Old MRT Data!
RIPE OpenBMP Creative Commons: Attribution & Share Alike
24
Creative Commons: Attribution & Share Alike
mrt2bmp Converts mrt data, such as RIS and Route Views to OpenBMP Yes, you only get the best path view But it makes backward compatibility possible. You can inject traditional dumps into openBMP For longitudinal analysis it may be good to have the old data parsable using the same tools RIPE OpenBMP Creative Commons: Attribution & Share Alike
25
Creative Commons: Attribution & Share Alike
How can a feeding peer tell the collector what flavor feed it is giving? We blew this with RIS and Route Views RIPE OpenBMP Creative Commons: Attribution & Share Alike
26
Are current BMP specs and implementations what we want?
RIPE OpenBMP Creative Commons: Attribution & Share Alike
27
Proposal: Add Access to Adj-RIB-Out and Loc-RIB
BGP Peer-A Adj-Rib-In (Pre) BGP Peer-B Adj-Rib-In (Pre) Static ISIS Filters/Policy Filters/Policy Adj-Rib-In (Post) Adj-Rib-In (Post) Passed Filter Passed Filter And this Route Selection We also want to see this Adj-Rib-Out (Pre) Loc-Rib Filters/Policy And this Adj-Rib-Out (Post) draft-evens-grow-bmp-adj-rib-out draft-evens-grow-bmp-local-rib RIPE OpenBMP Creative Commons: Attribution & Share Alike
28
Creative Commons: Attribution & Share Alike
Implementor Concerns Compressed or Uncompressed? Mirror or Extract from RIB All are Resource / Loading Issues RIPE OpenBMP Creative Commons: Attribution & Share Alike
29
Creative Commons: Attribution & Share Alike
Compressed or Not The "uncompressed" approach requires that every message received from a monitored session must result, 1:1, in a message sent to the monitoring station. Since the potential number of messages received over time is unbounded, and since there are many potential bottlenecks in the system, there are inevitable consequences for system design. One of these is that buffering has to be supplied to absorb bursts on the input side. Another is that exception handling has to be provided for when buffering is exhausted. RIPE OpenBMP Creative Commons: Attribution & Share Alike
30
Mirror or Extract from RIB
Mirroring has the burst buffering & loading problems in previous slide Extraction from RIB to create stream allows BMP export to control the pace But it has to be very careful not to change attributes, reorder them, … So keep a copy of the attribute list in the RIB and generate from RIB RIPE OpenBMP Creative Commons: Attribution & Share Alike
31
Creative Commons: Attribution & Share Alike
These are All Resource / Loading Issues Get High Powered Routers & All Will be Fine And Cash Will Fall from the Sky And there will be World Peace RIPE OpenBMP Creative Commons: Attribution & Share Alike
32
Creative Commons: Attribution & Share Alike
We Want Moar Dataz! The Goal RIPE OpenBMP Creative Commons: Attribution & Share Alike
33
Creative Commons: Attribution & Share Alike
Some References Project Overview Running your own service from RouteViews data: ter/docs/GETTING_STARTED.md RIPE OpenBMP Creative Commons: Attribution & Share Alike
34
Creative Commons: Attribution & Share Alike
RIPE OpenBMP Creative Commons: Attribution & Share Alike
35
Creative Commons: Attribution & Share Alike
But Talk is Cheap RIPE OpenBMP Creative Commons: Attribution & Share Alike
36
Creative Commons: Attribution & Share Alike
Play with Demo Username: ripe Password: ripe74 RIPE OpenBMP Creative Commons: Attribution & Share Alike
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.