draft-ietf-idr-error-handling-17.txt   draft-ietf-idr-error-handling-18.txt 
skipping to change at page 1, line 14 skipping to change at page 1, line 14
Internet-Draft Cisco Systems, Inc. Internet-Draft Cisco Systems, Inc.
Updates: 1997, 4271, 4360, 4456, 4760, J. Scudder, Ed. Updates: 1997, 4271, 4360, 4456, 4760, J. Scudder, Ed.
5543, 5701, 6368 (if approved) Juniper Networks 5543, 5701, 6368 (if approved) Juniper Networks
Intended status: Standards Track P. Mohapatra Intended status: Standards Track P. Mohapatra
Expires: June 15, 2015 Sproute Networks Expires: June 15, 2015 Sproute Networks
K. Patel K. Patel
Cisco Systems, Inc. Cisco Systems, Inc.
December 12, 2014 December 12, 2014
Revised Error Handling for BGP UPDATE Messages Revised Error Handling for BGP UPDATE Messages
draft-ietf-idr-error-handling-17 draft-ietf-idr-error-handling-18
Abstract Abstract
According to the base BGP specification, a BGP speaker that receives According to the base BGP specification, a BGP speaker that receives
an UPDATE message containing a malformed attribute is required to an UPDATE message containing a malformed attribute is required to
reset the session over which the offending attribute was received. reset the session over which the offending attribute was received.
This behavior is undesirable, because a session reset would impact This behavior is undesirable, because a session reset would impact
not only routes with the offending attribute, but also other, valid not only routes with the offending attribute, but also other, valid
routes exchanged over the session. This document partially revises routes exchanged over the session. This document partially revises
the error handling for UPDATE messages and provides guidelines for the error handling for UPDATE messages and provides guidelines for
skipping to change at page 2, line 52 skipping to change at page 2, line 52
5.2. Missing NLRI . . . . . . . . . . . . . . . . . . . . . . 7 5.2. Missing NLRI . . . . . . . . . . . . . . . . . . . . . . 7
5.3. Syntactic Correctness of NLRI Fields . . . . . . . . . . 8 5.3. Syntactic Correctness of NLRI Fields . . . . . . . . . . 8
5.4. Typed NLRI . . . . . . . . . . . . . . . . . . . . . . . 8 5.4. Typed NLRI . . . . . . . . . . . . . . . . . . . . . . . 8
6. Operational Considerations . . . . . . . . . . . . . . . . . 9 6. Operational Considerations . . . . . . . . . . . . . . . . . 9
7. Error Handling Procedures for Existing Attributes . . . . . . 10 7. Error Handling Procedures for Existing Attributes . . . . . . 10
7.1. ORIGIN . . . . . . . . . . . . . . . . . . . . . . . . . 10 7.1. ORIGIN . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.2. AS_PATH . . . . . . . . . . . . . . . . . . . . . . . . . 10 7.2. AS_PATH . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.3. NEXT_HOP . . . . . . . . . . . . . . . . . . . . . . . . 11 7.3. NEXT_HOP . . . . . . . . . . . . . . . . . . . . . . . . 11
7.4. MULTI_EXIT_DISC . . . . . . . . . . . . . . . . . . . . . 11 7.4. MULTI_EXIT_DISC . . . . . . . . . . . . . . . . . . . . . 11
7.5. LOCAL_PREF . . . . . . . . . . . . . . . . . . . . . . . 11 7.5. LOCAL_PREF . . . . . . . . . . . . . . . . . . . . . . . 11
7.6. ATOMIC_AGGREGATE . . . . . . . . . . . . . . . . . . . . 12 7.6. ATOMIC_AGGREGATE . . . . . . . . . . . . . . . . . . . . 11
7.7. AGGREGATOR . . . . . . . . . . . . . . . . . . . . . . . 12 7.7. AGGREGATOR . . . . . . . . . . . . . . . . . . . . . . . 12
7.8. Community . . . . . . . . . . . . . . . . . . . . . . . . 12 7.8. Community . . . . . . . . . . . . . . . . . . . . . . . . 12
7.9. ORIGINATOR_ID . . . . . . . . . . . . . . . . . . . . . . 12 7.9. ORIGINATOR_ID . . . . . . . . . . . . . . . . . . . . . . 12
7.10. CLUSTER_LIST . . . . . . . . . . . . . . . . . . . . . . 13 7.10. CLUSTER_LIST . . . . . . . . . . . . . . . . . . . . . . 12
7.11. MP_REACH_NLRI . . . . . . . . . . . . . . . . . . . . . . 13 7.11. MP_REACH_NLRI . . . . . . . . . . . . . . . . . . . . . . 13
7.12. MP_UNREACH_NLRI . . . . . . . . . . . . . . . . . . . . . 13 7.12. MP_UNREACH_NLRI . . . . . . . . . . . . . . . . . . . . . 13
7.13. Traffic Engineering path attribute . . . . . . . . . . . 13 7.13. Traffic Engineering path attribute . . . . . . . . . . . 13
7.14. Extended Community . . . . . . . . . . . . . . . . . . . 14 7.14. Extended Community . . . . . . . . . . . . . . . . . . . 13
7.15. IPv6 Address Specific BGP Extended Community Attribute . 14 7.15. IPv6 Address Specific BGP Extended Community Attribute . 14
7.16. ATTR_SET . . . . . . . . . . . . . . . . . . . . . . . . 14 7.16. ATTR_SET . . . . . . . . . . . . . . . . . . . . . . . . 14
8. Guidance for Authors of BGP Specifications . . . . . . . . . 15 8. Guidance for Authors of BGP Specifications . . . . . . . . . 14
9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15
10. Security Considerations . . . . . . . . . . . . . . . . . . . 15 10. Security Considerations . . . . . . . . . . . . . . . . . . . 15
11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 15 11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 15
12. References . . . . . . . . . . . . . . . . . . . . . . . . . 16 12. References . . . . . . . . . . . . . . . . . . . . . . . . . 15
12.1. Normative References . . . . . . . . . . . . . . . . . . 16 12.1. Normative References . . . . . . . . . . . . . . . . . . 16
12.2. Informative References . . . . . . . . . . . . . . . . . 17 12.2. Informative References . . . . . . . . . . . . . . . . . 17
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 17 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 17
1. Introduction 1. Introduction
According to the base BGP specification [RFC4271], a BGP speaker that According to the base BGP specification [RFC4271], a BGP speaker that
receives an UPDATE message containing a malformed attribute is receives an UPDATE message containing a malformed attribute is
required to reset the session over which the offending attribute was required to reset the session over which the offending attribute was
received. This behavior is undesirable, because a session reset received. This behavior is undesirable, because a session reset
skipping to change at page 11, line 22 skipping to change at page 11, line 22
[RFC4271] also says that an implementation optionally "MAY check [RFC4271] also says that an implementation optionally "MAY check
whether the leftmost ... AS in the AS_PATH attribute is equal to the whether the leftmost ... AS in the AS_PATH attribute is equal to the
autonomous system number of the peer that sent the message". A BGP autonomous system number of the peer that sent the message". A BGP
implementation SHOULD also handle routes that violate this check implementation SHOULD also handle routes that violate this check
using "treat-as-withdraw", but MAY follow the session reset behavior using "treat-as-withdraw", but MAY follow the session reset behavior
if configured to do so. if configured to do so.
7.3. NEXT_HOP 7.3. NEXT_HOP
The attribute is considered malformed if its length is not 4 The attribute is considered malformed if its length is not 4
[RFC4271]. A length of 16 is also permissible if [RFC5549] is in use [RFC4271].
and all conditions given in that specification have been satisfied.
An UPDATE message with a malformed NEXT_HOP attribute SHALL be An UPDATE message with a malformed NEXT_HOP attribute SHALL be
handled using the approach of "treat-as-withdraw". handled using the approach of "treat-as-withdraw".
7.4. MULTI_EXIT_DISC 7.4. MULTI_EXIT_DISC
The attribute is considered malformed if its length is not 4 The attribute is considered malformed if its length is not 4
[RFC4271]. [RFC4271].
An UPDATE message with a malformed MULTI_EXIT_DISC attribute SHALL be An UPDATE message with a malformed MULTI_EXIT_DISC attribute SHALL be
skipping to change at page 16, line 40 skipping to change at page 16, line 37
Rekhter, "Graceful Restart Mechanism for BGP", RFC 4724, Rekhter, "Graceful Restart Mechanism for BGP", RFC 4724,
January 2007. January 2007.
[RFC4760] Bates, T., Chandra, R., Katz, D., and Y. Rekhter, [RFC4760] Bates, T., Chandra, R., Katz, D., and Y. Rekhter,
"Multiprotocol Extensions for BGP-4", RFC 4760, January "Multiprotocol Extensions for BGP-4", RFC 4760, January
2007. 2007.
[RFC5543] Ould-Brahim, H., Fedyk, D., and Y. Rekhter, "BGP Traffic [RFC5543] Ould-Brahim, H., Fedyk, D., and Y. Rekhter, "BGP Traffic
Engineering Attribute", RFC 5543, May 2009. Engineering Attribute", RFC 5543, May 2009.
[RFC5549] Le Faucheur, F. and E. Rosen, "Advertising IPv4 Network
Layer Reachability Information with an IPv6 Next Hop", RFC
5549, May 2009.
[RFC5701] Rekhter, Y., "IPv6 Address Specific BGP Extended Community [RFC5701] Rekhter, Y., "IPv6 Address Specific BGP Extended Community
Attribute", RFC 5701, November 2009. Attribute", RFC 5701, November 2009.
[RFC6368] Marques, P., Raszuk, R., Patel, K., Kumaki, K., and T. [RFC6368] Marques, P., Raszuk, R., Patel, K., Kumaki, K., and T.
Yamagata, "Internal BGP as the Provider/Customer Edge Yamagata, "Internal BGP as the Provider/Customer Edge
Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)", Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)",
RFC 6368, September 2011. RFC 6368, September 2011.
[RFC6793] Vohra, Q. and E. Chen, "BGP Support for Four-Octet [RFC6793] Vohra, Q. and E. Chen, "BGP Support for Four-Octet
Autonomous System (AS) Number Space", RFC 6793, December Autonomous System (AS) Number Space", RFC 6793, December
2012. 2012.
12.2. Informative References 12.2. Informative References
[I-D.ietf-l2vpn-evpn] [I-D.ietf-l2vpn-evpn]
Sajassi, A., Aggarwal, R., Bitar, N., Isaac, A., and J. Sajassi, A., Aggarwal, R., Bitar, N., Isaac, A., and J.
Uttaro, "BGP MPLS Based Ethernet VPN", draft-ietf-l2vpn- Uttaro, "BGP MPLS Based Ethernet VPN", draft-ietf-l2vpn-
evpn-11 (work in progress), October 2014. evpn-11 (work in progress), October 2014.
[RFC5549] Le Faucheur, F. and E. Rosen, "Advertising IPv4 Network
Layer Reachability Information with an IPv6 Next Hop", RFC
5549, May 2009.
[RFC6514] Aggarwal, R., Rosen, E., Morin, T., and Y. Rekhter, "BGP [RFC6514] Aggarwal, R., Rosen, E., Morin, T., and Y. Rekhter, "BGP
Encodings and Procedures for Multicast in MPLS/BGP IP Encodings and Procedures for Multicast in MPLS/BGP IP
VPNs", RFC 6514, February 2012. VPNs", RFC 6514, February 2012.
[RFC7117] Aggarwal, R., Kamite, Y., Fang, L., Rekhter, Y., and C. [RFC7117] Aggarwal, R., Kamite, Y., Fang, L., Rekhter, Y., and C.
Kodeboniya, "Multicast in Virtual Private LAN Service Kodeboniya, "Multicast in Virtual Private LAN Service
(VPLS)", RFC 7117, February 2014. (VPLS)", RFC 7117, February 2014.
Authors' Addresses Authors' Addresses
 End of changes. 9 change blocks. 
12 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/