draft-ietf-idr-route-filter-17.txt   rfc5291.txt 
Network Working Group E. Chen Network Working Group E. Chen
Internet Draft Cisco Systems Request for Comments: 5291 Cisco Systems
Expiration Date: January 2009 Y. Rekhter Category: Standards Track Y. Rekhter
Juniper Networks Juniper Networks
August 2008
Outbound Route Filtering Capability for BGP-4 Outbound Route Filtering Capability for BGP-4
draft-ietf-idr-route-filter-17.txt Status of This Memo
Status of this Memo
By submitting this Internet-Draft, each author represents that any
applicable patent or other IPR claims of which he or she is aware
have been or will be disclosed, and any of which he or she becomes
aware will be disclosed, in accordance with Section 6 of BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
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".
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at This document specifies an Internet standards track protocol for the
http://www.ietf.org/shadow.html. Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Abstract Abstract
This document defines a BGP-based mechanism that allows a BGP speaker This document defines a BGP-based mechanism that allows a BGP speaker
to send to its BGP peer a set of Outbound Route Filters (ORFs) that to send to its BGP peer a set of Outbound Route Filters (ORFs) that
the peer would use to constrain/filter its outbound routing updates the peer would use to constrain/filter its outbound routing updates
to the speaker. to the speaker.
1. Specification of Requirements 1. Introduction
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119 [RFC-2119].
2. Introduction
Currently it is not uncommon for a BGP speaker [BGP-4] to receive, Currently, it is not uncommon for a BGP speaker [BGP-4] to receive,
and then filter out some unwanted routes from its peers based on its and then filter out some unwanted routes from its peers based on its
local routing policy. Since the generation and transmission of local routing policy. Since the generation and transmission of
routing updates by the sender, as well as the processing of routing routing updates by the sender, as well as the processing of routing
updates by the receiver consume resources, it may be beneficial if updates by the receiver consume resources, it may be beneficial if
the generation of such unwanted routing updates can be avoided in the the generation of such unwanted routing updates can be avoided in the
first place. first place.
This document defines a BGP-based mechanism that allows a BGP speaker This document defines a BGP-based mechanism that allows a BGP speaker
to send to its BGP peer a set of Outbound Route Filters (ORFs). The to send to its BGP peer a set of Outbound Route Filters (ORFs). The
peer would then apply these filters, in addition to its locally peer would then apply these filters, in addition to its locally
configured outbound filters (if any), to constrain/filter its configured outbound filters (if any), to constrain/filter its
outbound routing updates to the speaker. outbound routing updates to the speaker.
3. Outbound Route Filter (ORF) 2. Specification of Requirements
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119 [RFC2119].
3. Outbound Route Filter (ORF)
This document uses the terms "Address Family Identifier (AFI)" and This document uses the terms "Address Family Identifier (AFI)" and
"Subsequent Address Family Identifier (SAFI)". In the context of this "Subsequent Address Family Identifier (SAFI)". In the context of
document the meaning of these terms is the same as in [BGP-MP]. this document, the meaning of these terms is the same as in [BGP-MP].
Conceptually an ORF entry is a tuple of the form <AFI/SAFI, ORF-Type, Conceptually, an ORF entry is a tuple of the form <AFI/SAFI, ORF-
Action, Match, ORF-value>; an ORF consists of one or more ORF entries Type, Action, Match, ORF-value>; an ORF consists of one or more ORF
that have a common AFI/SAFI and ORF-Type. An ORF is identified by entries that have a common AFI/SAFI and ORF-Type. An ORF is
<AFI/SAFI, ORF-Type>. identified by <AFI/SAFI, ORF-Type>.
The "AFI/SAFI" component provides a coarse granularity control by The "AFI/SAFI" component provides a coarse granularity control by
limiting the ORF to only the routes whose NLRI matches the "AFI/SAFI" limiting the ORF to only the routes whose Network Layer Reachability
component of the ORF. Information (NLRI) matches the "AFI/SAFI" component of the ORF.
The "ORF-Type" component determines the content of the ORF-value. The "ORF-Type" component determines the content of the ORF-value.
The "Action" component controls handling of the ORF Request by the The "Action" component controls handling of the ORF Request by the
remote peer. Action can be one of ADD, REMOVE, REMOVE-ALL. ADD adds remote peer. Action can be one of ADD, REMOVE, REMOVE-ALL. ADD adds
an ORF entry to the ORF on the remote peer; REMOVE deletes a an ORF entry to the ORF on the remote peer; REMOVE deletes a
previously installed ORF entry on the remote peer; REMOVE-ALL deletes previously installed ORF entry on the remote peer; REMOVE-ALL deletes
the previously installed entries in the specified ORF on the remote the previously installed entries in the specified ORF on the remote
peer. peer.
The "Match" component is used to support matching granularity on a The "Match" component is used to support matching granularity on a
per ORF entry basis. It can be either PERMIT or DENY. The semantics per ORF entry basis. It can be either PERMIT or DENY. The semantics
of PERMIT is to ask the peer to pass updates for the set of routes of PERMIT is to ask the peer to pass updates for the set of routes
that match the ORF entry. The semantics of DENY is to ask the peer that match the ORF entry. The semantics of DENY is to ask the peer
not to pass updates for the set of routes that match the ORF entry. not to pass updates for the set of routes that match the ORF entry.
When an ORF is defined, an ORF specific matching rule MUST be When an ORF is defined, an ORF-specific matching rule MUST be
specified so that there is no ambiguity regarding which ORF entry is specified so that there is no ambiguity regarding which ORF entry is
considered as the matching entry in the ORF when a route is passed considered as the matching entry in the ORF when a route is passed
through the ORF. through the ORF.
4. Carrying ORF Entries in BGP 4. Carrying ORF Entries in BGP
ORF entries are carried in the BGP ROUTE-REFRESH message [BGP-RR]. ORF entries are carried in the BGP ROUTE-REFRESH message [BGP-RR].
A BGP speaker can distinguish an incoming ROUTE-REFRESH message that A BGP speaker can distinguish an incoming ROUTE-REFRESH message that
carries one or more ORF entries from an incoming plain ROUTE-REFRESH carries one or more ORF entries from an incoming plain ROUTE-REFRESH
message by using the Message Length field in the BGP message header. message by using the Message Length field in the BGP message header.
A single ROUTE-REFRESH message MAY carry multiple ORF entries in one A single ROUTE-REFRESH message MAY carry multiple ORF entries in one
or more ORFs, as long as all these entries share the same AFI/SAFI. or more ORFs, as long as all these entries share the same AFI/SAFI.
From the encoding point of view each ORF entry consists of a common From the encoding point of view, each ORF entry consists of a common
part and type-specific part as shown in Figure 1 and Figure 2. part and type-specific part, as shown in Figures 1 and 2.
The common part consists of <AFI/SAFI, ORF-Type, Action, Match>, and The common part consists of <AFI/SAFI, ORF-Type, Action, Match>, and
is encoded as follows: is encoded as follows:
The AFI/SAFI component of an ORF entry is encoded in the AFI/SAFI The AFI/SAFI component of an ORF entry is encoded in the AFI/SAFI
field of the ROUTE-REFRESH message. field of the ROUTE-REFRESH message.
Following the AFI/SAFI component is the one-octet When-to-refresh Following the AFI/SAFI component is the one-octet When-to-refresh
field. The value of this field can be either IMMEDIATE (0x01) or field. The value of this field can be either IMMEDIATE (0x01) or
DEFER (0x02). The semantics of IMMEDIATE and DEFER are discussed DEFER (0x02). The semantics of IMMEDIATE and DEFER are discussed
in the "Operation" section of this document. in the "Operation" section of this document.
Following the When-to-refresh field is a collection of one or more Following the When-to-refresh field is a collection of one or more
ORFs, grouped by ORF-Type. ORFs, grouped by ORF-Type.
The ORF-Type component is encoded as a one-octet field. The ORF-Type component is encoded as a one-octet field.
The "Length of ORF entries" component is a two-octet field that The "Length of ORF entries" component is a two-octet field that
contains the total length (in octets) of the ORF entries that contains the total length (in octets) of the ORF entries that
follows for the specified ORF type. follows for the specified ORF type.
+--------------------------------------------------+ +--------------------------------------------------+
| Address Family Identifier (2 octets) | | Address Family Identifier (2 octets) |
+--------------------------------------------------+ +--------------------------------------------------+
| Reserved (1 octet) | | Reserved (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Subsequent Address Family Identifier (1 octet) | | Subsequent Address Family Identifier (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| When-to-refresh (1 octet) | | When-to-refresh (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| ORF Type (1 octet) | | ORF Type (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Length of ORF entries (2 octets) | | Length of ORF entries (2 octets) |
+--------------------------------------------------+ +--------------------------------------------------+
| First ORF entry (variable) | | First ORF entry (variable) |
+--------------------------------------------------+ +--------------------------------------------------+
| Second ORF entry (variable) | | Second ORF entry (variable) |
+--------------------------------------------------+ +--------------------------------------------------+
| ... | | ... |
+--------------------------------------------------+ +--------------------------------------------------+
| N-th ORF entry (variable) | | N-th ORF entry (variable) |
+--------------------------------------------------+ +--------------------------------------------------+
| ORF Type (1 octet) | | ORF Type (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Length of ORF entries (2 octets) | | Length of ORF entries (2 octets) |
+--------------------------------------------------+ +--------------------------------------------------+
| First ORF entry (variable) | | First ORF entry (variable) |
+--------------------------------------------------+ +--------------------------------------------------+
| Second ORF entry (variable) | | Second ORF entry (variable) |
+--------------------------------------------------+ +--------------------------------------------------+
| ... | | ... |
+--------------------------------------------------+ +--------------------------------------------------+
| N-th ORF entry (variable) | | N-th ORF entry (variable) |
+--------------------------------------------------+ +--------------------------------------------------+
| ... | | ... |
+--------------------------------------------------+ +--------------------------------------------------+
Figure 1: Carrying ORF Entries in the ROUTE-REFRESH Message Figure 1: Carrying ORF Entries in the ROUTE-REFRESH Message
The rest of the components in the common part are encoded in the The rest of the components in the common part are encoded in the
first octet of each ORF-entry (from the most significant to the least first octet of each ORF-entry (from the most significant to the least
significant bit) as shown in Figure 2: significant bit) as shown in Figure 2:
Action is a two-bit field. The value of this field is 0 for ADD, 1 Action is a two-bit field. The value of this field is 0 for ADD,
for REMOVE, and 2 for REMOVE-ALL. 1 for REMOVE, and 2 for REMOVE-ALL.
Match is a one-bit field. The value of this field is 0 for PERMIT Match is a one-bit field. The value of this field is 0 for PERMIT
and 1 for DENY. This field is significant only when the value of and 1 for DENY. This field is significant only when the value of
the Action field is either ADD or REMOVE. the Action field is either ADD or REMOVE.
Reserved is a 5-bit field. It is set to 0 on transmit and ignored Reserved is a 5-bit field. It is set to 0 on transmit and ignored
on receive. on receipt.
+---------------------------------+ +---------------------------------+
| Action (2 bit) | | Action (2 bit) |
+---------------------------------+ +---------------------------------+
| Match (1 bit) | | Match (1 bit) |
+---------------------------------+ +---------------------------------+
| Reserved (5 bits) | | Reserved (5 bits) |
+---------------------------------+ +---------------------------------+
| Type specific part (variable) | | Type specific part (variable) |
+---------------------------------+ +---------------------------------+
Figure 2: ORF Entry Encoding Figure 2: ORF Entry Encoding
When the Action component of an ORF entry specifies REMOVE-ALL, When the Action component of an ORF entry specifies REMOVE-ALL,
the entry consists of only the common part. the entry consists of only the common part.
5. Outbound Route Filtering Capability 5. Outbound Route Filtering Capability
A BGP speaker that is willing to receive ORF entries from its peer, A BGP speaker that is willing to receive ORF entries from its peer,
or a BGP speaker that would like to send ORF entries to its peer, or a BGP speaker that would like to send ORF entries to its peer,
advertises this to the peer by using the Outbound Route Filtering advertises this to the peer by using the Outbound Route Filtering
Capability, as described below. Capability, as described below.
The Outbound Route Filtering Capability is a new BGP capability The Outbound Route Filtering Capability is a new BGP Capability
[BGP-CAP] defined as follows: [BGP-CAP] defined as follows:
Capability code: 3 Capability code: 3
Capability length: variable Capability length: variable
Capability value: one or more of the entries as shown in Figure 3. Capability value: one or more of the entries as shown in Figure 3.
+--------------------------------------------------+ +--------------------------------------------------+
| Address Family Identifier (2 octets) | | Address Family Identifier (2 octets) |
+--------------------------------------------------+ +--------------------------------------------------+
| Reserved (1 octet) | | Reserved (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Subsequent Address Family Identifier (1 octet) | | Subsequent Address Family Identifier (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Number of ORFs (1 octet) | | Number of ORFs (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| ORF Type (1 octet) | | ORF Type (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Send/Receive (1 octet) | | Send/Receive (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| ... | | ... |
+--------------------------------------------------+ +--------------------------------------------------+
| ORF Type (1 octet) | | ORF Type (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
| Send/Receive (1 octet) | | Send/Receive (1 octet) |
+--------------------------------------------------+ +--------------------------------------------------+
Figure 3: Outbound Route Filtering Capability Encoding Figure 3: Outbound Route Filtering Capability Encoding
The use and meaning of these fields are as follows: The use and meaning of these fields are as follows:
Address Family Identifier (AFI): Address Family Identifier (AFI):
This field is the same as the one used in [BGP-MP]. This field is the same as the one used in [BGP-MP].
Subsequent Address Family Identifier (SAFI): Subsequent Address Family Identifier (SAFI):
This field is the same as the one used in [BGP-MP]. This field is the same as the one used in [BGP-MP].
skipping to change at page 7, line 5 skipping to change at page 7, line 21
This field contains the value of an ORF Type. This field contains the value of an ORF Type.
Send/Receive: Send/Receive:
This field indicates whether the sender is (a) willing to This field indicates whether the sender is (a) willing to
receive ORF entries from its peer (value 1), (b) would like to receive ORF entries from its peer (value 1), (b) would like to
send ORF entries to its peer (value 2), or (c) both (value 3) send ORF entries to its peer (value 2), or (c) both (value 3)
for the ORF Type. for the ORF Type.
6. Operation 6. Operation
A BGP speaker that is willing to receive ORF entries from its peer, A BGP speaker that is willing to receive ORF entries from its peer,
or would like to send ORF entries to its peer SHOULD advertise the or would like to send ORF entries to its peer SHOULD advertise the
Outbound Route Filtering Capability to the peer using BGP Outbound Route Filtering Capability to the peer using BGP
Capabilities advertisement [BGP-CAP]. Capabilities advertisement [BGP-CAP].
A BGP speaker that implements the Outbound Route Filtering Capability A BGP speaker that implements the Outbound Route Filtering Capability
MUST support the BGP ROUTE-REFRESH message, as defined in [BGP-RR]. A MUST support the BGP ROUTE-REFRESH message, as defined in [BGP-RR].
BGP speaker that advertises the Outbound Route Filtering Capability A BGP speaker that advertises the Outbound Route Filtering Capability
to a peer using BGP Capabilities advertisement [BGP-CAP] does not to a peer using BGP Capabilities advertisement [BGP-CAP] does not
have to advertise the BGP Route Refresh capability to that peer. have to advertise the BGP Route Refresh Capability to that peer.
Consider a BGP speaker that advertises the Outbound Route Filtering Consider a BGP speaker that advertises the Outbound Route Filtering
Capability indicating its willingness to receive a particular set of Capability indicating its willingness to receive a particular set of
<AFI/SAFI, ORF-Type> from its peer, and that receives the Outbound <AFI/SAFI, ORF-Type> from its peer, and that receives the Outbound
Route Filtering Capability indicating the desire of the peer to send Route Filtering Capability indicating the desire of the peer to send
a particular set <AFI/SAFI, ORF-Type> to the speaker. If for a given a particular set <AFI/SAFI, ORF-Type> to the speaker. If for a given
AFI/SAFI the intersection between these two sets is not-empty, the AFI/SAFI the intersection between these two sets is non-empty, the
speaker SHOULD NOT advertise to the peer any routes with that speaker SHOULD NOT advertise to the peer any routes with that
AFI/SAFI prior to receiving from the peer any ROUTE-REFRESH message AFI/SAFI prior to receiving from the peer any ROUTE-REFRESH message
carrying that AFI/SAFI, where the message could be either without any carrying that AFI/SAFI, where the message could be either without any
ORF entries, or with one or more ORF entry and When-to-refresh field ORF entries, or with one or more ORF entry and the When-to-refresh
set to IMMEDIATE. If, on the other hand, for a given AFI/SAFI the field set to IMMEDIATE. If, on the other hand, for a given AFI/SAFI
intersection between these two sets is empty, the speaker MUST follow the intersection between these two sets is empty, the speaker MUST
normal BGP procedures. follow normal BGP procedures.
A BGP speaker may send a ROUTE-REFRESH message with one or more ORF A BGP speaker may send a ROUTE-REFRESH message with one or more ORF
entries to its peer only if the peer advertises to the speaker the entries to its peer only if the peer advertises to the speaker the
Outbound Route Filtering Capability indicating its willingness to Outbound Route Filtering Capability indicating its willingness to
receive ORF entries from the speaker, and the speaker advertises to receive ORF entries from the speaker, and the speaker advertises to
the peer the Outbound Route Filtering Capability indicating its the peer the Outbound Route Filtering Capability indicating its
desire to send ORF entries to the peer. The message may contain only desire to send ORF entries to the peer. The message may contain only
ORF entries of <AFI/SAFI, ORF-type> that the peer is willing to ORF entries of <AFI/SAFI, ORF-type> that the peer is willing to
receive, as advertised to the speaker in the Outbound Route Filtering receive, as advertised to the speaker in the Outbound Route Filtering
Capability. Capability.
When a BGP speaker receives a ROUTE-REFRESH message with one or more When a BGP speaker receives a ROUTE-REFRESH message with one or more
ORF entries from its peer, then the speaker performs the following ORF entries from its peer, then the speaker performs the following
actions. If an <AFI/SAFI, ORF-type> carried by the message does not actions. If an <AFI/SAFI, ORF-type> carried by the message does not
match <AFI/SAFI, ORF-type> that the speaker is willing to receive match <AFI/SAFI, ORF-type> that the speaker is willing to receive
from the peer (as advertised to the peer in the Outbound Route from the peer (as advertised to the peer in the Outbound Route
Filtering Capability), the specified ORF entries in the message are Filtering Capability), the specified ORF entries in the message are
ignored. Otherwise, the speaker modifies the specified ORF ignored. Otherwise, the speaker modifies the specified ORF
previously received, according to the ORF entries carried in the previously received, according to the ORF entries carried in the
message. If any of the fields of an ORF entry in the message contains message. If any of the fields of an ORF entry in the message
an unrecognized value, the whole specified ORF previously received is contains an unrecognized value, the whole specified ORF previously
removed. received is removed.
If the Action component of an ORF entry is REMOVE, but the ORF If the Action component of an ORF entry is REMOVE, but the ORF
previously received does not contain the specified entry, the ORF previously received does not contain the specified entry, the ORF
entry in the message is ignored. entry in the message is ignored.
ORF entries with either REMOVE or REMOVE-ALL can not remove locally ORF entries with either REMOVE or REMOVE-ALL cannot remove locally
configured outbound route filters. configured outbound route filters.
If the When-to-refresh indicates IMMEDIATE, then after processing all If the When-to-refresh indicates IMMEDIATE, then after processing all
the ORF entries carried in the message the speaker re-advertises to the ORF entries carried in the message the speaker re-advertises to
the peer routes from the Adj-RIB-Out associated with the peer that the peer routes from the Adj-RIB-Out associated with the peer that
have the same AFI/SAFI as what is carried in the message, and taking have the same AFI/SAFI as what is carried in the message, and taking
into account all the ORF entries for that AFI/SAFI received from the into account all the ORF entries for that AFI/SAFI received from the
peer. The speaker MUST re-advertise all the routes that have been peer. The speaker MUST re-advertise all the routes that have been
affected by the ORF entries carried in the message, but MAY also re- affected by the ORF entries carried in the message, but MAY also re-
advertise the routes that have not been affected by the ORF entries advertise the routes that have not been affected by the ORF entries
carried in the message. carried in the message.
If the When-to-refresh indicates DEFER, then after processing all the If the When-to-refresh indicates DEFER, then after processing all the
ORF entries carried in the message the speaker defers re- ORF entries carried in the message the speaker defers re-
advertisement to the peer routes from the Adj-RIB-Out associated with advertisement to the peer routes from the Adj-RIB-Out associated with
the peer that have the same AFI/SAFI as what is carried in the the peer that have the same AFI/SAFI as what is carried in the
message, and taking into account all the ORF entries received from message, and taking into account all the ORF entries received from
the peer until the speaker receives a subsequent ROUTE-REFRESH the peer until the speaker receives a subsequent ROUTE-REFRESH
skipping to change at page 8, line 41 skipping to change at page 9, line 9
If the speaker receives from the peer a ROUTE-REFRESH message without If the speaker receives from the peer a ROUTE-REFRESH message without
any ORF entries, then the speaker sends to the peer all routes from any ORF entries, then the speaker sends to the peer all routes from
the Adj-RIB-Out associated with the peer whose AFI/SAFI is the same the Adj-RIB-Out associated with the peer whose AFI/SAFI is the same
as what is carried in the message and taking into account the ORFs as what is carried in the message and taking into account the ORFs
(if any) previously received from the peer. (if any) previously received from the peer.
The set of ORF entries that the speaker sends to the peer expresses The set of ORF entries that the speaker sends to the peer expresses
the speaker's local preference, that the peer may or may not decide the speaker's local preference, that the peer may or may not decide
to honor. to honor.
During a single BGP session the speaker MAY pass multiple ORF entries During a single BGP session, the speaker MAY pass multiple ORF
to the peer. entries to the peer.
After a BGP speaker makes changes to the ORF entries previously sent After a BGP speaker makes changes to the ORF entries previously sent
to a peer, the speaker MUST send to the peer the updated ORF entries to a peer, the speaker MUST send to the peer the updated ORF entries
with either (a) When-to-refresh set to IMMEDIATE, or (b) When-to- with either (a) When-to-refresh set to IMMEDIATE, or (b) When-to-
refresh set to DEFER followed by a plain ROUTE-REFRESH message. The refresh set to DEFER followed by a plain ROUTE-REFRESH message. The
latter MUST be used by the speaker when there are other policy latter MUST be used by the speaker when there are other policy
changes (in addition to the ORF entries) that require the peer to changes (in addition to the ORF entries) that require the peer to
re-advertise all the routes. re-advertise all the routes.
The lifetime of an ORF is the duration of the BGP session during The lifetime of an ORF is the duration of the BGP session during
which the ORF is exchanged. which the ORF is exchanged.
An ORF is removed when the last ORF entry is removed (either via An ORF is removed when the last ORF entry is removed (either via
REMOVE-ALL, or via a sequence of REMOVE). REMOVE-ALL, or via a sequence of REMOVE).
If a particular route maintained by a BGP speaker does not match any If a particular route maintained by a BGP speaker does not match any
of the ORF entries of any of the (non-empty) ORFs associated with a of the ORF entries of any of the (non-empty) ORFs associated with a
particular peer, then this route SHOULD NOT be advertised to the particular peer, then this route SHOULD NOT be advertised to the
peer. peer.
If a BGP speaker maintains multiple ORFs of different ORF-Types for a If a BGP speaker maintains multiple ORFs of different ORF-Types for a
particular peer, then the decision by the speaker to advertise a particular peer, then the decision by the speaker to advertise a
route to the peer is determined by passing the route through each route to the peer is determined by passing the route through each
such ORF, and and-ing the results (and-ing of PERMIT and DENY results such ORF, and combining the results (combining of PERMIT and DENY
in DENY). results in DENY).
7. IANA Considerations 7. IANA Considerations
This document defines a new BGP Capability - Outbound Route Filtering This document defines a new BGP Capability - Outbound Route Filtering
Capability. The Capability Code for the Outbound Route Filtering Capability. The Capability Code for the Outbound Route Filtering
Capability is 3. Capability is 3.
As specified in this document, an ORF entry contains the ORF-Type As specified in this document, an ORF entry contains the ORF-Type
field for which IANA is to create and maintain a registry entitled field for which IANA has created and now maintains a registry
"BGP ORF Type". entitled "BGP Outbound Route Filtering (ORF) Types".
IANA will maintain and register values for ORF-Type field as follows: IANA maintains and registers values for ORF-Type field as follows:
- ORF-Type value 0 is reserved. - ORF-Type value 0 is reserved.
- ORF-Type values 1 through 63 are to be assigned by IANA using - ORF-Type values 1 through 63 are to be assigned by IANA using
either the Standards Action process defined in RFC 2434, or the either the Standards Action process defined in RFC 5226
Early IANA Allocation process defined in RFC 4020. [RFC5226], or the Early IANA Allocation process defined in RFC
4020 [RFC4020].
- ORF-Type values 64 through 127 are to be assigned by IANA, using - ORF-Type values 64 through 127 are to be assigned by IANA, using
the "First Come First Served" policy defined in RFC 2434. the "First Come First Served" policy defined in RFC 5226
[RFC5226].
- ORF-Type values 128 through 255 are vendor-specific, and values - ORF-Type values 128 through 255 are vendor-specific, and values
in this range are not to be assigned by IANA. in this range are not to be assigned by IANA.
8. Manageability Considerations 8. Manageability Considerations
The management objects for BGP ORFs will be defined separately, The management objects for BGP ORFs will be defined separately,
outside this document. However, it is suggested that the following outside this document. However, it is suggested that the following
management objects be defined: management objects be defined:
The ORF capability object, which describes the ORF capability The ORF Capability object, which describes the ORF Capability
exchanged over a BGP session, should include the ORF types and the exchanged over a BGP session, should include the ORF types and the
Send/Receive values advertised and received for a BGP peer. Send/Receive values advertised and received for a BGP peer.
The ORF entry object should contain the ORF entries of each ORF sent The ORF entry object should contain the ORF entries of each ORF sent
and received for a BGP peer. and received for a BGP peer.
9. Security Considerations 9. Security Considerations
This extension to BGP does not change the underlying security issues This extension to BGP does not change the underlying security issues
[BGP-4]. [BGP-4].
10. Intellectual Property Considerations 10. Acknowledgments
This section is taken from Section 5 of RFC 3668.
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
11. Copyright Notice
Copyright (C) The IETF Trust (2008).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
12. Acknowledgments
Some of the material in the document is adapted from a proposal for Some of the material in the document is adapted from a proposal for
selective updates by Yakov Rekhter, Kannan Varadhan, and Curtis selective updates by Yakov Rekhter, Kannan Varadhan, and Curtis
Villamizar. Villamizar.
13. Normative References 11. Normative References
[BGP-4] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway Protocol [BGP-4] Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A Border
4 (BGP-4)", RFC 4271, January 2006. Gateway Protocol 4 (BGP-4)", RFC 4271, January 2006.
[BGP-MP] Bates, T., Chandra, R., Rekhter, Y., and D. Katz, [BGP-MP] Bates, T., Chandra, R., Katz, D., and Y. Rekhter,
"Multiprotocol Extensions for BGP-4", RFC 4760, January 2007. "Multiprotocol Extensions for BGP-4", RFC 4760, January
2007.
[BGP-CAP] Chandra, R., Scudder, J., "Capabilities Advertisement with [BGP-CAP] Chandra, R. and J. Scudder, "Capabilities Advertisement
BGP-4", RFC 3392, November 2002. with BGP-4", RFC 3392, November 2002.
[BGP-RR] Chen, E., "Route Refresh Capability for BGP-4", RFC 2918, [BGP-RR] Chen, E., "Route Refresh Capability for BGP-4", RFC 2918,
September 2000. September 2000.
[RFC-2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997. Requirement Levels", BCP 14, RFC 2119, March 1997.
14. Author Information [RFC4020] Kompella, K. and A. Zinin, "Early IANA Allocation of
Standards Track Code Points", BCP 100, RFC 4020, February
2005.
[RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", BCP 26, RFC 5226, May
2008.
Authors' Addresses
Enke Chen Enke Chen
Cisco Systems, Inc. Cisco Systems, Inc.
170 W. Tasman Dr. 170 W. Tasman Dr.
San Jose, CA 95134 San Jose, CA 95134
Email: enkechen@cisco.com Email: enkechen@cisco.com
Yakov Rekhter Yakov Rekhter
Juniper Networks Juniper Networks
1194 N. Mathilda Ave 1194 N. Mathilda Ave
Sunnyvale, CA 94089 Sunnyvale, CA 94089
Email: yakov@juniper.net Email: yakov@juniper.net
Full Copyright Statement
Copyright (C) The IETF Trust (2008).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
 End of changes. 58 change blocks. 
211 lines changed or deleted 164 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/