BGP is one of the most critical routing protocol for a Service Provider. Although this protocol is very robust and scalable, it is crucial for them to monitor it. BGP Monitoring Protocol has been built for this purpose.
In this blog post, you will learn:
What is BGP Monitoring Protocol (BMP)
How to configure BMP on Cisco IOS-XR
How to install OpenBMP collector
How to collect BMP data and what are the potential usage
Cisco IOS-XR 5.2.2 release introduced the support of BGP Monitoring Protocol (BMP). In a nutshell, BMP aims to:
It currently uses DB_REST. However, OpenBMP is working on OpenDaylight integration. This looks very promising and would be the occasion of a second post once available.
You can also interact directly with the OpenBMP MySQL database and build your own applications.
BMP use cases
BMP can be used for many applications. Here are some examples of BMP use cases:
BGP looking glass:
Classic looking glasses software are not always secure. With BMP, no need to give access to the router or use an alternative BGP daemon. Use the BMP collector to provide information on BGP prefixes.
Removal of “soft-reconfiguration-inbound always” feature and route-policy troubleshooting:
I still see many customers using BGP soft-reconfiguration-inbound. The reason I’m given is RPL troubleshooting purpose, as they can access the Adj-RIB-In and see how are the prefixes they receive BEFORE filtering. The drawback with this feature is memory consumption: router keeps a copy of the BGP table for each peer it’s enabled. With BMP, this information can be retrieved on the BMP collector directly. You can compare the view before and after the RPL application without impacting the router performance.
Track BGP prefixes activity, convergence time, attributes modifications, etc.
You are now ready to deploy BMP on Cisco IOS-XR to monitor the critical piece BGP is in your Service Provider infrastructure.
You should now understand what BMP is, how to configure it on Cisco IOS-XR and make it work with OpenBMP.
Credits: I would like to thank Bertrand Duvivier and Tim Evens for the valuable information they shared with me.