Revised Error Handling for BGP UPDATE Messages
RFC 7606
Internet Engineering Task Force (IETF) E. Chen, Ed.
Request for Comments: 7606 Cisco Systems, Inc.
Updates: 1997, 4271, 4360, 4456, 4760, J. Scudder, Ed.
5543, 5701, 6368 Juniper Networks
Category: Standards Track P. Mohapatra
ISSN: 2070-1721 Sproute Networks
K. Patel
Cisco Systems, Inc.
August 2015
Revised Error Handling for BGP UPDATE Messages
Abstract
According to the base BGP specification, a BGP speaker that receives
an UPDATE message containing a malformed attribute is required to
reset the session over which the offending attribute was received.
This behavior is undesirable because a session reset would impact not
only routes with the offending attribute but also other valid routes
exchanged over the session. This document partially revises the
error handling for UPDATE messages and provides guidelines for the
authors of documents defining new attributes. Finally, it revises
the error handling procedures for a number of existing attributes.
This document updates error handling for RFCs 1997, 4271, 4360, 4456,
4760, 5543, 5701, and 6368.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc7606.
Chen, et al. Standards Track [Page 1]
RFC 7606 Revised Error Handling for BGP August 2015
Copyright Notice
Copyright (c) 2015 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
(http://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.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Chen, et al. Standards Track [Page 2]
RFC 7606 Revised Error Handling for BGP August 2015
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 4
2. Error-Handling Approaches . . . . . . . . . . . . . . . . . . 5
3. Revision to BGP UPDATE Message Error Handling . . . . . . . . 5
4. Attribute Length Fields . . . . . . . . . . . . . . . . . . . 7
5. Parsing of Network Layer Reachability Information (NLRI)
Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.1. Encoding NLRI . . . . . . . . . . . . . . . . . . . . . . 8
5.2. Missing NLRI . . . . . . . . . . . . . . . . . . . . . . 8
5.3. Syntactic Correctness of NLRI Fields . . . . . . . . . . 9
5.4. Typed NLRI . . . . . . . . . . . . . . . . . . . . . . . 9
6. Operational Considerations . . . . . . . . . . . . . . . . . 10
7. Error-Handling Procedures for Existing Attributes . . . . . . 11
7.1. ORIGIN . . . . . . . . . . . . . . . . . . . . . . . . . 11
7.2. AS_PATH . . . . . . . . . . . . . . . . . . . . . . . . . 11
7.3. NEXT_HOP . . . . . . . . . . . . . . . . . . . . . . . . 12
7.4. MULTI_EXIT_DISC . . . . . . . . . . . . . . . . . . . . . 12
Show full document text