Network Working Group | M. Srivastava |
Internet-Draft | Juniper Networks |
Intended status: Standards Track | P. Lucente |
Expires: April 17, 2020 | NTT |
October 15, 2019 |
BMP Compression
draft-msri-grow-bmp-compression-00
This document provides specification for an optional compressed BMP Feed from a router to BMP station.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 RFC 2119 RFC 8174 when, and only when, they appear in all capitals, as shown here.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on April 17, 2020.
Copyright (c) 2019 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
The BGP Monitoring Protocol (BMP) allows monitoring of Rib-in RFC7854, Loc-Rib,BGP local-rib and Rib-in and Rib-Out monitoring allows pre-policy and post-policy view of the prefix. Thus, for a scaled setup, with all these kinds of monitoring enabled, BMP will get a lot of back pressure in the protocol as it needs to dump a huge data for its monitored peers, through a single socket towards BMP station. BGP update PDU which is part of the BMP Route-monitoring (RM) message is also increasing. It is no more limited to 4K as noted in draft-ietf-idr-bgp-extended-messages-21. Essentially, BMP is heading towards becoming I/O bound monitoring protocol. This document proposes compression of BMP feed towards BMP station. Compression will ease the pressure on TCP socket between a router and BMP station. Such a scheme would be useful if a route can spare some extra CPU for BMP operation.
As it must be obvious, this scheme will require compressor mechanism at the BMP speaking router and a decompressor on the BMP station. The compression mechanism used at the BMP speaking is an implementation specific detail and is beyond the scope of this specification.
BMP compression feature on the router and BMP decompressor feature on the BMP station has to be present at the same time. Enabling compression feature at router end only will lead to incomprehensible data at the BMP station end. Also same technique should be used to compress and decompress the data on wire. Using different technique to compress and decompress would lead to incomprehensible data at the BMP station end.
BMP compression feature on the router and BMP decompressor feature on the BMP station can be enabled via configuraton. Once this feature is enabled between router and BMP station, the monitored router should indicate this to the BMP Station using new Compression Information TLV as described in following section.
From that point onwards, the router would send the compressed BMP feed towards BMP station. BMP session needs to be bounced every-time this feature is enabled on a current active BMP session.
As noted in RFC7854, the initiation message provides a means for the monitored router to inform the monitoring station of its vendor specific details. It can carry Information TLVs containing information about the monitored router.
The monitored router MUST communicate the compression capability to BMP staton using Compression Information TLV described below.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-------------------------------+-------------------------------+ | Information Type (2 octets) | Length (2 octets) | +-------------------------------+-------------------------------+ | CM | CMINFO | Reserved | +---------------------------------------------------------------+ Figure 1: Compression Information TLV
Following rules should be following for achieving BMP feed compression:
This should be handled in same was as described in draft-przygienda-idr-compressed-updates.
If the decompression on the BMP station fails for any reason, it needs to bring down the BMP session.
If the compression on the monitoring router fails for any reason, it is at the discretion of the router to handle it. It may try it few more times. In the worse case it MAY bring down the BMP session
A BMP station receiving a compressed message SHOULD process it as follows:
TBD.
This document requests that IANA assign the following new parameters to the BMP parameters name space.
This document defines the BMP Compression Information TLV Header with Type = TBD (Section 2.2).
This document also defines the BMP Compressed Route Monitoring message type with Type = TBD (Section 2.3).
It is not believed that this document adds any additional security considerations.
[I-D.ietf-grow-bmp-local-rib] | Evens, T., Bayraktar, S., Bhardwaj, M. and P. Lucente, "Support for Local RIB in BGP Monitoring Protocol (BMP)", Internet-Draft draft-ietf-grow-bmp-local-rib-05, August 2019. |
[I-D.ietf-grow-bmp-tlv] | Lucente, P., Gu, Y. and H. Smit, "TLV support for BMP Route Monitoring and Peer Down Messages", Internet-Draft draft-ietf-grow-bmp-tlv-01, October 2019. |
[I-D.przygienda-idr-compressed-updates] | Przygienda, T., Lingala, A., Mate, C. and J. Tantsura, "Compressed BGP Update Message", Internet-Draft draft-przygienda-idr-compressed-updates-07, August 2019. |
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997. |
[RFC7854] | Scudder, J., Fernando, R. and S. Stuart, "BGP Monitoring Protocol (BMP)", RFC 7854, DOI 10.17487/RFC7854, June 2016. |
[RFC8174] | Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017. |