1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
Network Working Group Y. Rekhter
Request for Comments: 5668 Juniper Networks
Category: Standards Track S. Sangli
Cisco Systems
D. Tappan
Consultant
October 2009
4-Octet AS Specific BGP Extended Community
Abstract
This document defines a new type of a BGP extended community, which
carries a 4-octet Autonomous System (AS) number.
Status of This Memo
This document specifies an Internet standards track protocol for the
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.
Copyright Notice
Copyright (c) 2009 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 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
Rekhter, et al. Standards Track [Page 1]
^L
RFC 5668 4-Octet AS Specific Extended Community October 2009
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.
1. Introduction
This document defines a new type of BGP extended community [RFC4360]:
a 4-octet AS specific extended community. This type of extended
community is similar to the 2-octet AS specific extended community,
except that it can carry a 4-octet Autonomous System number.
1.1. 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].
2. 4-Octet AS Specific Extended Community
This is an extended type with a Type field comprising 2 octets and a
Value field comprising 6 octets.
0 1 2 3
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0x02 or 0x42 | Sub-Type | Global Administrator :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: Global Administrator (cont.) | Local Administrator |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The value of the high-order octet of this extended type is either
0x02 (for transitive communities) or 0x42 (for non-transitive
communities). The low-order octet of this extended type is used to
indicate sub-types.
The Value field consists of 2 sub-fields:
Global Administrator sub-field: 4 octets
This sub-field contains a 4-octet Autonomous System number
assigned by IANA.
Rekhter, et al. Standards Track [Page 2]
^L
RFC 5668 4-Octet AS Specific Extended Community October 2009
Local Administrator sub-field: 2 octets
The organization identified by the Autonomous System number in
the Global Administrator sub-field can encode any information
in this sub-field. The format and meaning of the value encoded
in this sub-field should be defined by the sub-type of the
community.
3. Considerations for 2-Octet Autonomous Systems
As per [RFC4893], a 2-octet Autonomous System number can be converted
into a 4-octet Autonomous System number by setting the 2 high-order
octets of the 4-octet field to zero.
As a consequence, at least in principle, an Autonomous System that
uses a 2-octet Autonomous System number could use either 2-octet or
4-octet AS specific extended communities. This is undesirable, as
both communities would be treated as different, even if they had the
same Sub-Type and Local Administrator values.
Therefore, for backward compatibility with existing deployments and
to avoid inconsistencies between 2-octet and 4-octet specific
extended communities, Autonomous Systems that use 2-octet Autonomous
System numbers SHOULD use 2-octet AS specific extended communities
rather than 4-octet AS specific extended communities.
4. IANA Considerations
This document defines a class of extended communities, called 4-octet
AS specific extended communities, for which the IANA has created and
will maintain a registry entitled Four-octet AS Specific Extended
Community. All the communities in this class are of extended Types.
Future assignments are to be made using the "First Come First Served"
policy defined in [RFC5226]. The Type values for the transitive
communities of the 4-octet AS specific extended community class are
0x0200-0x02ff; for the non-transitive communities of that class, they
are 0x4200-0x42ff. Assignments consist of a name and the value.
This document makes the following assignments for the 4-octet AS
specific extended community:
Name Type Value
---- ----------
four-octet AS specific Route Target 0x0202
four-octet AS specific Route Origin 0x0203
Rekhter, et al. Standards Track [Page 3]
^L
RFC 5668 4-Octet AS Specific Extended Community October 2009
5. Security Considerations
This document does not add new security issues. All the security
considerations for BGP extended communities apply here. At the time
that this document was written, there were significant efforts
underway to improve the security properties of BGP. For examples of
documents that have been produced up to this time of publication, see
[RFC4593] and [SIDR].
There is a potential serious issue if a malformed, optional
transitive attribute is received. This issue and the steps to avoid
it are discussed in [OPT_TRANS].
6. Acknowledgements
Thanks to Bruno Decraene for his contributions to this document.
7. References
7.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", BCP 26, RFC 5226,
May 2008.
[RFC4360] Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended
Communities Attribute", RFC 4360, February 2006.
[RFC4893] Vohra, Q. and E. Chen, "BGP Support for Four-octet AS
Number Space", RFC 4893, May 2007.
7.2. Informative References
[OPT_TRANS] Scudder, J., and E. Chen, "Error Handling for Optional
Transitive BGP Attributes", Work in Progress, April 2009.
[RFC4593] Barbir, A., Murphy, S., and Y. Yang, "Generic Threats to
Routing Protocols", RFC 4593, October 2006.
[SIDR] Lepinski, M. and S. Kent, "An Infrastructure to Support
Secure Internet Routing", Work in Progress, July 2009.
Rekhter, et al. Standards Track [Page 4]
^L
RFC 5668 4-Octet AS Specific Extended Community October 2009
Authors' Addresses
Yakov Rekhter
Juniper Networks, Inc.
EMail: yakov@juniper.net
Srihari R. Sangli
Cisco Systems, Inc.
EMail: rsrihari@cisco.com
Dan Tappan
Boxborough MA
EMail: Dan.Tappan@Gmail.com
Rekhter, et al. Standards Track [Page 5]
^L
|