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) C. Pignataro
Request for Comments: 7884 Cisco
Category: Standards Track M. Bhatia
ISSN: 2070-1721 Ionos Networks
S. Aldrin
Huawei Technologies
T. Ranganath
Nokia
July 2016
OSPF Extensions to Advertise Seamless Bidirectional Forwarding Detection
(S-BFD) Target Discriminators
Abstract
This document defines a new OSPF Router Information (RI) TLV that
allows OSPF routers to flood the Seamless Bidirectional Forwarding
Detection (S-BFD) Discriminator values associated with a target
network identifier. This mechanism is applicable to both OSPFv2 and
OSPFv3.
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/rfc7884">http://www.rfc-editor.org/info/rfc7884</a>.
<span class="grey">Pignataro, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7884">RFC 7884</a> S-BFD Discriminators in OSPF July 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-3">3</a>
<a href="#section-1.1">1.1</a>. Relationship between OSPF and S-BFD ........................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Implementation ..................................................<a href="#page-3">3</a>
<a href="#section-2.1">2.1</a>. S-BFD Discriminator TLV ....................................<a href="#page-4">4</a>
<a href="#section-2.2">2.2</a>. Flooding Scope .............................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Backward Compatibility ..........................................<a href="#page-5">5</a>
<a href="#section-4">4</a>. Security Considerations .........................................<a href="#page-5">5</a>
<a href="#section-5">5</a>. IANA Considerations .............................................<a href="#page-6">6</a>
<a href="#section-6">6</a>. References ......................................................<a href="#page-6">6</a>
<a href="#section-6.1">6.1</a>. Normative References .......................................<a href="#page-6">6</a>
<a href="#section-6.2">6.2</a>. Informative References .....................................<a href="#page-6">6</a>
Acknowledgements ...................................................<a href="#page-7">7</a>
Authors' Addresses .................................................<a href="#page-7">7</a>
<span class="grey">Pignataro, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7884">RFC 7884</a> S-BFD Discriminators in OSPF July 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Seamless Bidirectional Forwarding Detection (S-BFD), specified in
[<a href="./rfc7880" title=""Seamless Bidirectional Forwarding Detection (S-BFD)"">RFC7880</a>], is a simplified mechanism for using BFD with many
negotiations eliminated. This is achieved by using 4-octet
discriminators, unique within an administrative domain, to identify
the network targets. These S-BFD Discriminators can be advertised by
the IGPs, and this document concerns itself with OSPF. Specifically,
this document defines a new TLV (named the S-BFD Discriminator TLV)
to be carried within the OSPF Router Information (RI) Link State
Advertisement (LSA) [<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>].
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">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Relationship between OSPF and S-BFD</span>
This document implicitly defines a relationship between OSPF and
S-BFD. S-BFD assigns one or more discriminators to each S-BFD
reflector node. OSPF, in turn, learns about these from S-BFD and
floods them in the newly defined TLV. After this information is
flooded, it is stored in all the OSPF nodes such that S-BFD
initiators can map out target nodes to target discriminators and can
therefore construct the S-BFD probe.
When multiple S-BFD Discriminators are advertised, how a given
discriminator is mapped to a specific use case is out of scope for
this document.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Implementation</span>
This extension makes use of the Router Information (RI) Opaque LSA,
defined in [<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>], for both OSPFv2 [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>] and OSPFv3 [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>]
by defining a new OSPF Router Information (RI) TLV: the S-BFD
Discriminator TLV.
The S-BFD Discriminator TLV is OPTIONAL. Upon receipt of the TLV, a
router may decide to install the S-BFD Discriminator in the BFD
target identifier table.
In the presence of multiple instances of the OSPFv2/OSPFv3 Router
Information LSA, the S-BFD Discriminators for an OSPF router are the
union of all discriminators advertised in all instances of the S-BFD
Discriminator TLV (see <a href="#section-2.1">Section 2.1</a>) in all advertised non-MaxAge OSPF
Router Information LSAs.
<span class="grey">Pignataro, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7884">RFC 7884</a> S-BFD Discriminators in OSPF July 2016</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. S-BFD Discriminator TLV</span>
The format of the S-BFD Discriminator TLV is as follows:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Discriminator 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Discriminator 2 (Optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Discriminator n (Optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type - S-BFD Discriminator TLV Type (11)
Length - This field represents the total length of the
discriminator(s) that appears in the Value field, in octets. Each
discriminator is 4 octets, so the Length is four times the number
of discriminators included in the TLV. There is no optional
padding for this field.
Discriminator(s) - The Value field of the TLV includes the S-BFD
network target Discriminator value or values.
Routers that do not recognize the S-BFD Discriminator TLV Type will
ignore the TLV [<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>] and therefore will not learn S-BFD
Discriminators via OSPF.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Flooding Scope</span>
The S-BFD Discriminator TLV is advertised within OSPFv2 Router
Information LSAs (Opaque type of 4 and Opaque ID of 0) or OSPFv3
Router Information LSAs (function code of 12), which are defined in
[<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>]. As such, elements of this procedure are inherited from
those defined in [<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>].
The flooding scope is controlled by the Opaque LSA type (as defined
in [<a href="./rfc5250" title=""The OSPF Opaque LSA Option"">RFC5250</a>]) in OSPFv2 and by the S1/S2 bits (as defined in
[<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>]) in OSPFv3. If the flooding scope is area local, then the
S-BFD Discriminator TLV MUST be carried within an OSPFv2 type 10
Router Information LSA or an OSPFV3 Router Information LSA with the
S1 bit set and the S2 bit clear. If the flooding scope is the entire
<span class="grey">Pignataro, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7884">RFC 7884</a> S-BFD Discriminators in OSPF July 2016</span>
IGP domain, then the S-BFD Discriminator TLV MUST be carried within
an OSPFv2 type 11 Router Information LSA or OSPFv3 Router Information
LSA with the S1 bit clear and the S2 bit set.
When the S-BFD reflector is deactivated, the OSPF speaker advertising
a particular S-BFD Discriminator MUST originate a new Router
Information LSA that no longer includes the corresponding S-BFD
Discriminator TLV, provided there are other TLVs in the LSA. If
there are no other TLVs in the LSA, it MUST either send an empty
Router Information LSA or purge it by prematurely aging it.
For intra-area reachability, the S-BFD Discriminator TLV information
regarding a specific target identifier is only considered current and
usable when the router advertising that information is itself
reachable via OSPF calculated paths in the same area of the LSA in
which the S-BFD Discriminator TLV appears. In the case of
domain-wide flooding, i.e., where the originator is sitting in a
remote area, the mechanism described in <a href="./rfc5250#section-5">Section 5 of [RFC5250]</a> should
be used.
Although the S-BFD Discriminators may change when enabling the S-BFD
functionality or via an explicit configuration event, such changes
are expected to occur very rarely. Such changes in information will
require that the S-BFD Discriminator TLV in OSPF be advertised.
A change in information in the S-BFD Discriminator TLV MUST NOT
trigger any SPF computations at a receiving router.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Backward Compatibility</span>
The S-BFD Discriminator TLV defined in this document does not
introduce any interoperability issues.
A router not supporting the S-BFD Discriminator TLV will just
silently ignore the TLV, as specified in [<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
This document defines OSPF extensions to distribute the S-BFD
Discriminator within an administrative domain. Hence, the security
of S-BFD Discriminator distribution relies on the security of OSPF.
OSPF provides no encryption mechanism for protecting the privacy of
LSAs and, in particular, the privacy of the S-BFD Discriminator
advertisement information. However, this is not a concern, as there
isn't any need to hide the Discriminator value that can be used to
reach the reflectors.
<span class="grey">Pignataro, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7884">RFC 7884</a> S-BFD Discriminators in OSPF July 2016</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. IANA Considerations</span>
IANA has defined a registry for TLVs carried in the Router
Information LSA defined in [<a href="./rfc7770" title=""Extensions to OSPF for Advertising Optional Router Capabilities"">RFC7770</a>]. IANA has assigned a new TLV
codepoint (11) for the S-BFD Discriminator TLV in the "OSPF Router
Information (RI) TLVs" registry.
Value TLV Name Reference
----- -------- ----------
11 S-BFD <a href="./rfc7884">RFC 7884</a>
Discriminator
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</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-RFC2328">RFC2328</a>] Moy, J., "OSPF Version 2", STD 54, <a href="./rfc2328">RFC 2328</a>,
DOI 10.17487/RFC2328, April 1998,
<<a href="http://www.rfc-editor.org/info/rfc2328">http://www.rfc-editor.org/info/rfc2328</a>>.
[<a id="ref-RFC5340">RFC5340</a>] Coltun, R., Ferguson, D., Moy, J., and A. Lindem, "OSPF
for IPv6", <a href="./rfc5340">RFC 5340</a>, DOI 10.17487/RFC5340, July 2008,
<<a href="http://www.rfc-editor.org/info/rfc5340">http://www.rfc-editor.org/info/rfc5340</a>>.
[<a id="ref-RFC7770">RFC7770</a>] Lindem, A., Ed., Shen, N., Vasseur, JP., Aggarwal, R., and
S. Shaffer, "Extensions to OSPF for Advertising Optional
Router Capabilities", <a href="./rfc7770">RFC 7770</a>, DOI 10.17487/RFC7770,
February 2016, <<a href="http://www.rfc-editor.org/info/rfc7770">http://www.rfc-editor.org/info/rfc7770</a>>.
[<a id="ref-RFC7880">RFC7880</a>] Pignataro, C., Ward, D., Akiya, N., Bhatia, M., and S.
Pallagatti, "Seamless Bidirectional Forwarding Detection
(S-BFD)", <a href="./rfc7880">RFC 7880</a>, DOI 10.17487/RFC7880, July 2016,
<<a href="http://www.rfc-editor.org/info/rfc7880">http://www.rfc-editor.org/info/rfc7880</a>>.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Informative References</span>
[<a id="ref-RFC5250">RFC5250</a>] Berger, L., Bryskin, I., Zinin, A., and R. Coltun, "The
OSPF Opaque LSA Option", <a href="./rfc5250">RFC 5250</a>, DOI 10.17487/RFC5250,
July 2008, <<a href="http://www.rfc-editor.org/info/rfc5250">http://www.rfc-editor.org/info/rfc5250</a>>.
<span class="grey">Pignataro, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7884">RFC 7884</a> S-BFD Discriminators in OSPF July 2016</span>
Acknowledgements
The authors would like to thank Nobo Akiya, Les Ginsberg, Mach Chen,
and Peter Psenak for insightful comments and useful suggestions.
Authors' Addresses
Carlos Pignataro
Cisco Systems, Inc.
Email: cpignata@cisco.com
Manav Bhatia
Ionos Networks
Email: manav@ionosnetworks.com
Sam Aldrin
Huawei Technologies
Email: aldrin.ietf@gmail.com
Trilok Ranganath
Nokia
Email: trilok.ranganatha@nokia.com
Pignataro, et al. Standards Track [Page 7]
</pre>
|