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 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
|
<pre>Internet Engineering Task Force (IETF) E. Rosen
Request for Comments: 7902 Juniper Networks, Inc.
Updates: <a href="./rfc6514">6514</a> T. Morin
Category: Standards Track Orange
ISSN: 2070-1721 June 2016
<span class="h1">Registry and Extensions for</span>
<span class="h1">P-Multicast Service Interface Tunnel Attribute Flags</span>
Abstract
The BGP-based control procedures for Multicast Virtual Private
Networks (MVPNs) make use of a BGP attribute known as the
"P-Multicast Service Interface (PMSI) Tunnel" attribute. The
attribute contains a one-octet "Flags" field. The purpose of this
document is to establish an IANA registry for the assignment of the
bits in this field. Since the "Flags" field contains only eight
bits, this document also defines a new BGP Extended Community,
"Additional PMSI Tunnel Attribute Flags", that can be used to carry
additional flags for the "P-Multicast Service Interface (PMSI)
Tunnel" attribute. This document updates <a href="./rfc6514">RFC 6514</a>.
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 <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7902">http://www.rfc-editor.org/info/rfc7902</a>.
<span class="grey">Rosen & Morin Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7902">RFC 7902</a> PMSI Tunnel Attribute Flags June 2016</span>
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) 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.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Extending the "PMSI Tunnel" Attribute "Flags" Field . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4">4</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5">5</a>. Normative References . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
A BGP attribute, "P-Multicast Service Interface (PMSI) Tunnel"
attribute is defined in [<a href="./rfc6514" title=""BGP Encodings and Procedures for Multicast in MPLS/BGP IP VPNs"">RFC6514</a>]. This attribute, referred to as
the "PMSI Tunnel" attribute in this document, contains a one-octet
"Flags" field. Only one flag is defined in that RFC, but there is
now a need to define additional flags. However, that RFC did not
create an IANA registry for the assignment of bits in the "Flags"
field. This document creates a registry for that purpose. In
addition, there may be a need to define more than eight flags.
Therefore this document defines a new BGP Extended Community,
"Additional PMSI Tunnel Attribute Flags", that can be used to carry
additional flags for the "PMSI Tunnel" attribute. A registry is also
created for this Extended Community, allowing IANA to assign flag
bits from the Extended Community's six-octet value field.
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 [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Rosen & Morin Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7902">RFC 7902</a> PMSI Tunnel Attribute Flags June 2016</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Extending the "PMSI Tunnel" Attribute "Flags" Field</span>
In [<a href="./rfc6514" title=""BGP Encodings and Procedures for Multicast in MPLS/BGP IP VPNs"">RFC6514</a>], only a single octet in the "PMSI Tunnel" attribute is
defined to carry bit flags. This allows eight flags, which is
unlikely to be sufficient for all future applications.
This document defines a new Transitive Opaque Extended Community
([<a href="./rfc4360" title=""BGP Extended Communities Attribute"">RFC4360</a>] [<a href="./rfc7153" title=""IANA Registries for BGP Extended Communities"">RFC7153</a>]), "Additional PMSI Tunnel Attribute Flags". It
also defines a new bit flag in the "PMSI Tunnel" attribute "Flags"
field, called the "Extension" flag.
The "Additional PMSI Tunnel Attribute Flags" Extended Community MUST
NOT be carried by a given BGP UPDATE message unless the following
conditions both hold:
o the given BGP UPDATE message is also carrying a "PMSI Tunnel"
attribute, and
o the "Extension" flag of that "PMSI Tunnel" attribute's "Flags"
field is set.
The six-octet value field of the "Additional PMSI Tunnel Attribute
Flags" Extended Community is considered to be a string of 48 one-bit
flags. As shown in Figure 1, the leftmost bit (the most significant
bit of the most significant octet) is bit 0, and the rightmost bit
(the least significant bit of the least significant octet) is bit 47.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3 4
2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Value Field of the "Additional PMSI
Tunnel Attribute Flags" Extended Community
A BGP speaker MUST NOT attach more than one "Additional PMSI Tunnel
Attribute Flags" Extended Community to a given BGP UPDATE. If a
given BGP UPDATE already contains an "Additional PMSI Tunnel
Attribute Flags" Extended Community, a BGP speaker MUST NOT attach
any additional such Extended Communities.
<span class="grey">Rosen & Morin Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7902">RFC 7902</a> PMSI Tunnel Attribute Flags June 2016</span>
If a BGP speaker receives a BGP UPDATE with more than one "Additional
PMSI Tunnel Attribute Flags" Extended Communities attached, only the
flag settings in first occurrence of the Extended Community are
significant. Flag settings in subsequent occurrences of the Extended
Community MUST be ignored. When propagating the UPDATE, all
instances of the Extended Community other than the first SHOULD be
removed.
Suppose a BGP speaker receives an UPDATE message that contains a
"PMSI Tunnel" attribute, but does not contain an "Additional PMSI
Tunnel Attribute Flags" Extended Community. If the "Extension" flag
of the "PMSI Tunnel" attribute is set, the UPDATE is considered to be
malformed, and the "treat-as-withdraw" procedure of [<a href="./rfc7606" title=""Revised Error Handling for BGP UPDATE Messages"">RFC7606</a>] MUST be
applied.
If a BGP speaker receives an UPDATE message that contains one or more
"Additional PMSI Tunnel Attribute Flags" Extended Communities, but
either (a) that UPDATE message does not contain a "PMSI Tunnel"
attribute, or (b) the "Extension" flag of the "PMSI Tunnel" attribute
is not set, then the Extended Community(ies) SHOULD be removed and
SHOULD NOT be redistributed. The BGP UPDATE message MUST be
processed (and if necessary, redistributed) as if the Extended
Community(ies) had not been present.
A BGP speaker that supports the current document, but does not
recognize a particular flag (either in the" PMSI Tunnel" attribute
"Flags" field or in the "Additional PMSI Tunnel Attribute Flags"
Extended Community) MUST simply ignore that flag. If the BGP speaker
propagates either the "PMSI Tunnel" attribute, the "Additional PMSI
Tunnel Attribute Flags" Extended Community, or both along with the
UPDATE message, it SHOULD leave the setting of the flag unchanged.
It is possible that a particular application will require all members
of a particular set of BGP speakers to support a particular flag.
How it is determined whether all such BGP speakers support that flag
is outside the scope of this document.
In some situations, a BGP speaker may need to modify or replace the
"PMSI Tunnel" attribute before propagating an UPDATE. If the
"Extension" flag of the "PMSI Tunnel" attribute was set before the
attribute is modified or replaced, but that flag is no longer set
after the attribute is modified or replaced, any "Additional PMSI
Tunnel Attribute Flags" Extended Communities MUST be removed before
the UPDATE is propagated. If the "PMSI Tunnel" attribute is removed
entirely before an UPDATE is propagated, the "Additional PMSI Tunnel
Attribute Flags" Extended Communities (if any) MUST also be removed.
<span class="grey">Rosen & Morin Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7902">RFC 7902</a> PMSI Tunnel Attribute Flags June 2016</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. IANA Considerations</span>
IANA has created a new registry called "P-Multicast Service Interface
(PMSI) Tunnel Attribute Flags" in the "Border Gateway Protocol (BGP)
Parameters" registry.
Per <a href="./rfc6514#section-5">Section 5 of [RFC6514]</a>, a "PMSI Tunnel" attribute contains a
"Flags" octet. The "Flags" field is a single octet, with bits
numbered, left-to-right, from 0 to 7. IANA has initialized the
registry as follows:
Bit Position Description Reference
(left to right)
0 unassigned
1 Extension This document
2 unassigned
3 unassigned
4 unassigned
5 unassigned
6 unassigned
7 Leaf Information Required (L) <a href="./rfc6514">RFC 6514</a>
"PMSI Tunnel" Attribute Flags
The registration procedure for this registry is Standards Action.
IANA has also assigned the codepoint 0x07 from the "First Come, First
Served" range of the "Transitive Opaque Extended Community Sub-Types"
registry for "Additional PMSI Tunnel Attribute Flags".
IANA has established a registry for the bit flags carried in the
"Additional PMSI Tunnel Attribute Flags" Extended Community. The
bits are numbered 0-47, with 0 being the most significant bit and 47
being the least significant bit. The registration policy for this
registry is "Standards Action".
The initial registry should be as follows:
Bit Flag Name Reference
0-47 Unassigned
Additional "PMSI Tunnel" Attribute Flags
<span class="grey">Rosen & Morin Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7902">RFC 7902</a> PMSI Tunnel Attribute Flags June 2016</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
This document establishes an IANA registry, and defines a new
Transitive Opaque Extended Community ([<a href="./rfc4360" title=""BGP Extended Communities Attribute"">RFC4360</a>], [<a href="./rfc7153" title=""IANA Registries for BGP Extended Communities"">RFC7153</a>]).
Establishment of an IANA registry does not raise any security
considerations.
While this document defines a new Extended Community for carrying bit
flags, it does not define any of the bit flags in that Extended
Community. Therefore, no security considerations are raised.
This document defines a new flag, the "Extension" flag, in the "PMSI
Tunnel" attribute. If a particular UPDATE contains a "PMSI Tunnel"
attribute with this flag set, but the UPDATE does not contain an
"Additional PMSI Tunnel Attribute Flags" Extended Community, then the
UPDATE is considered to be malformed, and the "treat-as-withdraw"
procedure of [<a href="./rfc7606" title=""Revised Error Handling for BGP UPDATE Messages"">RFC7606</a>] is invoked. Thus, one can cause an UPDATE to
be treated as a withdrawal by incorrectly setting this bit.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC4360">RFC4360</a>] Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended
Communities Attribute", <a href="./rfc4360">RFC 4360</a>, DOI 10.17487/RFC4360,
February 2006, <<a href="http://www.rfc-editor.org/info/rfc4360">http://www.rfc-editor.org/info/rfc4360</a>>.
[<a id="ref-RFC6514">RFC6514</a>] Aggarwal, R., Rosen, E., Morin, T., and Y. Rekhter, "BGP
Encodings and Procedures for Multicast in MPLS/BGP IP
VPNs", <a href="./rfc6514">RFC 6514</a>, DOI 10.17487/RFC6514, February 2012,
<<a href="http://www.rfc-editor.org/info/rfc6514">http://www.rfc-editor.org/info/rfc6514</a>>.
[<a id="ref-RFC7153">RFC7153</a>] Rosen, E. and Y. Rekhter, "IANA Registries for BGP
Extended Communities", <a href="./rfc7153">RFC 7153</a>, DOI 10.17487/RFC7153,
March 2014, <<a href="http://www.rfc-editor.org/info/rfc7153">http://www.rfc-editor.org/info/rfc7153</a>>.
[<a id="ref-RFC7606">RFC7606</a>] Chen, E., Ed., Scudder, J., Ed., Mohapatra, P., and K.
Patel, "Revised Error Handling for BGP UPDATE Messages",
<a href="./rfc7606">RFC 7606</a>, DOI 10.17487/RFC7606, August 2015,
<<a href="http://www.rfc-editor.org/info/rfc7606">http://www.rfc-editor.org/info/rfc7606</a>>.
<span class="grey">Rosen & Morin Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7902">RFC 7902</a> PMSI Tunnel Attribute Flags June 2016</span>
Acknowledgments
The authors wish to thank Martin Vigoureux for his review of this
document. We also thank Christian Huitema and Alexey Melnikov for
their review and comments.
Authors' Addresses
Eric C. Rosen
Juniper Networks, Inc.
10 Technology Park Drive
Westford, Massachusetts 01886
United States
Email: erosen@juniper.net
Thomas Morin
Orange
2, avenue Pierre-Marzin
22307 Lannion Cedex
France
Email: thomas.morin@orange.com
Rosen & Morin Standards Track [Page 7]
</pre>
|