YABMP is a receiver-side implementation of the BMP (BGP Monitoring Protocol) in the Python language. It serves as a reference for how to step through the messages and write their contents to files.
This implementation covers RFC 7854 BGP Monitoring Protocol version 3.
RFCs to read to help you understand the code better:
- RFC1863 - A BGP/IDRP Route Server alternative to a full mesh routing
- RFC1997 - BGP Communities Attribute
- RFC2042 - Registering New BGP Attribute Types
- RFC2858 - Multiprotocol Extensions for BGP-4
- RFC4271 - A Border Gateway Protocol 4 (BGP-4)
- RFC4893 - BGP Support for Four-octet AS Number Space
- Other BGP related RFCs.
Use pip install yabmp or install from source.
$ virtualenv yabmp-virl
$ source yabmp-virl/bin/activate
$ git clone https://github.com/smartbgp/yabmp
$ cd yabmp
$ pip install -r requirements.txt
$ cd bin
$ python yabmpd -h
$ python yabmpd &
Will starting bmpd server listen to port = 20000 and ip = 0.0.0.0
Send email to xiaoquwl@gmail.com, or use GitHub issue system/pull request.