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 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
|
<pre>Internet Engineering Task Force (IETF) S. Aldrin
Request for Comments: 7882 Google, Inc.
Category: Informational C. Pignataro
ISSN: 2070-1721 Cisco
G. Mirsky
Ericsson
N. Kumar
Cisco
July 2016
<span class="h1">Seamless Bidirectional Forwarding Detection (S-BFD) Use Cases</span>
Abstract
This document describes various use cases for Seamless Bidirectional
Forwarding Detection (S-BFD) and provides requirements such that
protocol mechanisms allow for simplified detection of forwarding
failures.
These use cases support S-BFD, which is a simplified mechanism for
using BFD with a large proportion of negotiation aspects eliminated,
accelerating the establishment of a BFD session. The benefits of
S-BFD include quick provisioning, as well as improved control and
flexibility for network nodes initiating path monitoring.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
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). Not all documents
approved by the IESG are a candidate for any level of Internet
Standard; see <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/rfc7882">http://www.rfc-editor.org/info/rfc7882</a>.
<span class="grey">Aldrin, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases 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>. Terminology ................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Introduction to Seamless BFD ....................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Use Cases .......................................................<a href="#page-5">5</a>
<a href="#section-3.1">3.1</a>. Unidirectional Forwarding Path Validation ..................<a href="#page-5">5</a>
3.2. Validation of the Forwarding Path prior to
Switching Traffic ..........................................<a href="#page-6">6</a>
<a href="#section-3.3">3.3</a>. Centralized Traffic Engineering ............................<a href="#page-7">7</a>
<a href="#section-3.4">3.4</a>. BFD in Centralized Segment Routing .........................<a href="#page-8">8</a>
<a href="#section-3.5">3.5</a>. Efficient BFD Operation under Resource Constraints .........<a href="#page-8">8</a>
<a href="#section-3.6">3.6</a>. BFD for Anycast Addresses ..................................<a href="#page-8">8</a>
<a href="#section-3.7">3.7</a>. BFD Fault Isolation ........................................<a href="#page-9">9</a>
<a href="#section-3.8">3.8</a>. Multiple BFD Sessions to the Same Target Node ..............<a href="#page-9">9</a>
<a href="#section-3.9">3.9</a>. An MPLS BFD Session per ECMP Path .........................<a href="#page-10">10</a>
<a href="#section-4">4</a>. Detailed Requirements for Seamless BFD .........................<a href="#page-11">11</a>
<a href="#section-5">5</a>. Security Considerations ........................................<a href="#page-12">12</a>
<a href="#section-6">6</a>. References .....................................................<a href="#page-12">12</a>
<a href="#section-6.1">6.1</a>. Normative References ......................................<a href="#page-12">12</a>
<a href="#section-6.2">6.2</a>. Informative References ....................................<a href="#page-13">13</a>
Acknowledgements ..................................................<a href="#page-15">15</a>
Contributors ......................................................<a href="#page-15">15</a>
Authors' Addresses ................................................<a href="#page-15">15</a>
<span class="grey">Aldrin, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Bidirectional Forwarding Detection (BFD), as defined in [<a href="./rfc5880" title=""Bidirectional Forwarding Detection (BFD)"">RFC5880</a>], is
a lightweight protocol used to detect forwarding failures. Various
protocols, applications, and clients rely on BFD for failure
detection. Even though the protocol is lightweight and simple, there
are certain use cases where faster setup of sessions and faster
continuity checks of the data-forwarding paths are necessary. This
document identifies these use cases and consequent requirements, such
that enhancements and extensions result in a Seamless BFD (S-BFD)
protocol.
BFD is a simple and lightweight "Hello" protocol to detect data-plane
failures. With dynamic provisioning of forwarding paths on a large
scale, establishing BFD sessions for each of those paths not only
creates operational complexity but also causes undesirable delay in
establishing or deleting sessions. The existing session
establishment mechanism of the BFD protocol has to be enhanced in
order to minimize the time for the session to come up to validate the
forwarding path.
This document specifically identifies various use cases and
corresponding requirements in order to enhance BFD and other
supporting protocols. Specifically, one key goal is removing the
time delay (i.e., the "seam") between when a network node wants to
perform a continuity test and when the node completes that continuity
test. Consequently, "Seamless BFD" (S-BFD) has been chosen as the
name for this mechanism.
While the identified requirements could meet various use cases, it is
outside the scope of this document to identify all of the possible
and necessary requirements. Solutions related to the identified use
cases and protocol-specific enhancements or proposals are outside the
scope of this document as well. Protocol definitions to support
these use cases can be found in [<a href="./rfc7880" title=""Seamless Bidirectional Forwarding Detection (S-BFD)"">RFC7880</a>] and [<a href="./rfc7881" title=""Seamless Bidirectional Forwarding Detection (S-BFD) for IPv4, IPv6, and MPLS"">RFC7881</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Terminology</span>
The reader is expected to be familiar with the BFD [<a href="./rfc5880" title=""Bidirectional Forwarding Detection (BFD)"">RFC5880</a>], IP
[<a href="./rfc791" title=""Internet Protocol"">RFC791</a>] [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>], MPLS [<a href="./rfc3031" title=""Multiprotocol Label Switching Architecture"">RFC3031</a>], and Segment Routing [<a href="#ref-SR-ARCH" title=""Segment Routing Architecture"">SR-ARCH</a>]
terms and protocol constructs.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "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">Aldrin, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Introduction to Seamless BFD</span>
BFD, as defined in [<a href="./rfc5880" title=""Bidirectional Forwarding Detection (BFD)"">RFC5880</a>], requires two network nodes to exchange
locally allocated discriminators. These discriminators enable the
identification of the sender and the receiver of BFD packets over the
particular session. Subsequently, BFD performs proactive continuity
monitoring of the forwarding path between the two. Several
specifications describe BFD's multiple deployment uses:
o [<a href="./rfc5881" title=""Bidirectional Forwarding Detection (BFD) for IPv4 and IPv6 (Single Hop)"">RFC5881</a>] defines BFD over IPv4 and IPv6 for single IP hops.
o [<a href="./rfc5883" title=""Bidirectional Forwarding Detection (BFD) for Multihop Paths"">RFC5883</a>] defines BFD over multi-hop paths.
o [<a href="./rfc5884" title=""Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"">RFC5884</a>] defines BFD for MPLS Label Switched Paths (LSPs).
o [<a href="./rfc5885" title=""Bidirectional Forwarding Detection (BFD) for the Pseudowire Virtual Circuit Connectivity Verification (VCCV)"">RFC5885</a>] defines BFD for MPLS Pseudowires (PWs).
Currently, BFD is best suited for verifying that two endpoints are
mutually reachable or that an existing connection continues to be up
and alive. In order for BFD to be able to initially verify that a
connection is valid and that it connects the expected set of
endpoints, it is necessary to provide each endpoint with the
discriminators associated with the connection at each endpoint prior
to initiating BFD sessions. The discriminators are used to verify
that the connection is up and valid. Currently, the exchange of
discriminators and the demultiplexing of the initial BFD packets are
application dependent.
If this information is already known to the endpoints of a potential
BFD session, the initial handshake including an exchange of
discriminators is unnecessary, and it is possible for the endpoints
to begin BFD messaging seamlessly. A key objective of the S-BFD use
cases described in this document is to avoid needing to exchange the
initial packets before the BFD session can be established, with the
goal of getting to the established state more quickly; in other
words, the initial exchange of discriminator information is an
unnecessary extra step that may be avoided for these cases.
In a given scenario, an entity (such as an operator or a centralized
controller) determines a set of network entities to which BFD
sessions might need to be established. In traditional BFD, each of
those network entities chooses a BFD Discriminator for each BFD
session that the entity will participate in (see <a href="./rfc5880#section-6.3">Section 6.3 of
[RFC5880]</a>). However, a key goal of S-BFD is to provide operational
simplification. In this context, for S-BFD, each of those network
entities is assigned one or more BFD Discriminators, and those
network entities are allowed to use one Discriminator value for
multiple sessions. Therefore, there may be only one or a few
<span class="grey">Aldrin, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
discriminators assigned to a node. These network entities will
create an S-BFD listener session instance that listens for incoming
BFD Control packets. When the mappings between specific network
entities and their corresponding BFD Discriminators are known to
other network nodes belonging to the same administrative domain,
then, without having received any BFD packets from a particular
target, a network entity in this network is able to send a BFD
Control packet to the target's assigned discriminator in the
Your Discriminator field. The target network node, upon reception of
such a BFD Control packet, will transmit a response BFD Control
packet back to the sender.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Use Cases</span>
As per the BFD protocol [<a href="./rfc5880" title=""Bidirectional Forwarding Detection (BFD)"">RFC5880</a>], BFD sessions are established using
a handshake mechanism prior to validating the forwarding path. This
section outlines some use cases where the existing mechanism may not
be able to satisfy the requirements identified. In addition, some of
the use cases also stress the need for expedited BFD session
establishment while preserving the benefits of forwarding failure
detection using existing BFD mechanisms. Both of these high-level
goals result in the S-BFD use cases outlined in this document.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Unidirectional Forwarding Path Validation</span>
Even though bidirectional verification of forwarding paths is useful,
there are scenarios where verification is only required in one
direction between a pair of nodes. One such case is when a static
route uses BFD to validate reachability to the next-hop IP router.
In this case, the static route is established from one network entity
to another. The requirement in this case is only to validate the
forwarding path for that statically established unidirectional path.
Validation of the forwarding path in the direction of the target
entity to the originating entity is not required in this scenario.
Many LSPs have the same unidirectional characteristics and
unidirectional validation requirements. Such LSPs are common in
Segment Routing and LDP-based MPLS networks. A final example is when
a unidirectional tunnel uses BFD to validate the reachability of an
egress node.
Additionally, validation of the unidirectional path has operational
implications. If traditional BFD is to be used, the target network
entity, as well as an initiator, has to be provisioned, even though
reverse-path validation with the BFD session is not required.
However, in the case of unidirectional BFD, there is no need for
provisioning on the target network entity -- only on the source
entity.
<span class="grey">Aldrin, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
In this use case, a BFD session could be established in a single
direction. When the target network entity receives the packet, it
identifies the packet as BFD in an application-specific manner (for
example, a destination UDP port number). Subsequently, the BFD
module processes the packet, using the Your Discriminator value as
context. Then, the network entity sends a response to the
originator. This does not necessitate the requirement for
establishment of a bidirectional session; hence, the two-way
handshake to exchange discriminators is not needed. The target node
does not need to know the My Discriminator value of the source node.
Thus, in this use case a requirement for BFD is to enable session
establishment from the source network entity to the target network
entity without the need to have a session (and state) for the reverse
direction. Further, another requirement is that the BFD response
from the target back to the sender can take any (in-band or
out-of-band) path. The BFD module in the target network entity (for
the BFD session), upon receipt of a BFD packet, starts processing the
BFD packet based on the discriminator received. The source network
entity can therefore establish a unidirectional BFD session without
the bidirectional handshake and exchange of discriminators for
session establishment.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Validation of the Forwarding Path prior to Switching Traffic</span>
In this use case, BFD is used to verify reachability before sending
traffic via a path/LSP. This comes at a cost: traffic is prevented
from using the path/LSP until BFD is able to validate reachability;
this could take seconds due to BFD session bring-up sequences
[<a href="./rfc5880" title=""Bidirectional Forwarding Detection (BFD)"">RFC5880</a>], LSP Ping bootstrapping [<a href="./rfc5884" title=""Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"">RFC5884</a>], etc. This use case
would be better supported by eliminating the need for the initial BFD
session negotiation.
All it takes to be able to send BFD packets to a target and for the
target to properly demultiplex these packets is for the source
network entities to know what Discriminator values will be used for
the session. This is also the case for S-BFD: the three-way
handshake mechanism is eliminated during the bootstrapping of BFD
sessions. However, this information is required at each entity to
verify that BFD messages are being received from the expected
endpoints; hence, the handshake mechanism serves no purpose.
Elimination of the unnecessary handshake mechanism allows for faster
reachability validation of BFD provisioned paths/LSPs.
<span class="grey">Aldrin, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
In addition, it is expected that some MPLS technologies will require
traffic-engineered LSPs to be created dynamically, perhaps driven by
external applications, as, for example, in Software-Defined
Networking (SDN). It will be desirable to perform BFD validation as
soon as the LSPs are created, so as to use them.
In order to support this use case, an S-BFD session is established
without the need for session negotiation and exchange of
discriminators.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Centralized Traffic Engineering</span>
Various technologies in the SDN domain that involve controller-based
networks have evolved such that the intelligence, traditionally
placed in a distributed and dynamic control plane, is separated from
the networking entities themselves; instead, it resides in a
(logically) centralized place. There are various controllers that
perform the function of establishing forwarding paths for the data
flow. Traffic engineering is one important function, where the path
of the traffic flow is engineered, depending upon various attributes
and constraints of the traffic paths as well as the network state.
When the intelligence of the network resides in a centralized entity,
the ability to manage and maintain the dynamic network, and its
multiple data paths and node reachability, becomes a challenge. One
way to ensure that the forwarding paths are valid and working is done
by validation using BFD. When traffic-engineered tunnels are
created, it is operationally critical to ensure that the forwarding
paths are working, prior to switching the traffic onto the engineered
tunnels. In the absence of distributed control-plane protocols, it
may be desirable to verify any arbitrary forwarding path in the
network. With tunnels being engineered by a centralized entity, when
the network state changes, traffic has to be switched with minimum
latency and without black-holing of the data.
It is highly desirable in this centralized traffic-engineering use
case that the traditional BFD session establishment and validation of
the forwarding path do not become a bottleneck. If the controller or
other centralized entity is able to very rapidly verify the
forwarding path of a traffic-engineered tunnel, it could steer the
traffic onto the traffic-engineered tunnel very quickly, thus
minimizing adverse effects on a service. This is even more useful
and necessary when the scale of the network and the number of
traffic-engineered tunnels grow.
The cost associated with the time required for BFD session
negotiation and establishment of BFD sessions to identify valid paths
is very high when providing network redundancy is a critical issue.
<span class="grey">Aldrin, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. BFD in Centralized Segment Routing</span>
A monitoring technique for a Segment Routing network based on a
centralized controller is described in [<a href="#ref-SR-MPLS" title=""A Scalable and Topology-Aware MPLS Dataplane Monitoring System"">SR-MPLS</a>]. Specific
Operations, Administration, and Maintenance (OAM) requirements for
Segment Routing are captured in [<a href="#ref-SR-OAM-REQS">SR-OAM-REQS</a>]. In validating this
use case, one of the requirements is to ensure that the BFD packet's
behavior is according to the monitoring specified for the segment and
that the packet is U-turned at the expected node. This criterion
ensures the continuity check to the adjacent Segment Identifier.
To support this use case, the operational requirement is for BFD,
initiated from a centralized controller, to perform liveness
detection for any given segment in its domain.
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. Efficient BFD Operation under Resource Constraints</span>
When BFD sessions are being set up, torn down, or modified (i.e.,
when parameters such as intervals and multipliers are being
modified), BFD requires additional packets, other than scheduled
packet transmissions, to complete the negotiation procedures (i.e.,
Poll (P) bits and Final (F) bits; see <a href="./rfc5880#section-4.1">Section 4.1 of [RFC5880]</a>).
There are scenarios where network resources are constrained: a node
may require BFD to monitor a very large number of paths, or BFD may
need to operate in low-powered and traffic-sensitive networks; these
include microwave systems, low-powered nanocells, and others. In
these scenarios, it is desirable for BFD to slow down, speed up,
stop, or resume at will and with a minimal number of additional BFD
packets exchanged to modify the session or establish a new one.
The established BFD session parameters, and such attributes as
transmission interval and receiver interval, need to be modifiable
without changing the state of the session.
<span class="h3"><a class="selflink" id="section-3.6" href="#section-3.6">3.6</a>. BFD for Anycast Addresses</span>
The BFD protocol requires two endpoints to host BFD sessions, both
sending packets to each other. This BFD model does not fit well with
anycast address monitoring, as BFD packets transmitted from a network
node to an anycast address will reach only one of potentially many
network nodes hosting the anycast address.
This use case verifies that a source node can send a packet to an
anycast address and that the target node to which the packet is
delivered can send a response packet to the source node. Traditional
BFD cannot fulfill this requirement, since it does not provide for a
<span class="grey">Aldrin, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
set of BFD agents to collectively form one endpoint of a BFD session.
The concept of a "target listener" in S-BFD fulfills this
requirement.
To support this use case, the BFD sender transmits BFD packets, which
are received by any of the nodes hosting the anycast address to which
the BFD packets are being sent. The anycast target that receives the
BFD packet responds. This use case does not imply BFD session
establishment with every node hosting the anycast address.
Consequently, in this anycast use case, target nodes that do not
happen to receive any of the BFD packets do not need to maintain any
state, and the source node does not need to maintain separate state
for each target node.
<span class="h3"><a class="selflink" id="section-3.7" href="#section-3.7">3.7</a>. BFD Fault Isolation</span>
BFD for multi-hop paths [<a href="./rfc5883" title=""Bidirectional Forwarding Detection (BFD) for Multihop Paths"">RFC5883</a>] and BFD for MPLS LSPs [<a href="./rfc5884" title=""Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"">RFC5884</a>]
perform end-to-end validation, traversing multiple network nodes.
BFD has been designed to declare a failure to receive some number of
consecutive packets. This failure can be caused by a fault anywhere
along these paths. Fast failure detection allows for rapid fault
detection and consequent rapid path recovery procedures. However,
operators often have to follow up, manually or automatically, to
attempt to identify and localize the fault that caused BFD sessions
to fail (i.e., fault isolation). If Equal-Cost Multipath (ECMP) is
used, the usage of other tools to isolate the fault (e.g.,
traceroute) may cause the packets to traverse a different path
through the network. In addition, the longer it takes from the time
of BFD session failure to the time that fault isolation begins, the
more likely the fault will not be isolated (e.g., a fault may be
corrected via rerouting or some other means during that time). If
BFD had built-in fault-isolation capability, fault isolation would be
triggered when the fault was first detected. This embedded fault
isolation would be more effective (i.e., faults would be detected
sooner) if those BFD fault-isolation packets were load-balanced in
the same way as the BFD packets that were dropped.
This use case describes S-BFD fault-isolation capabilities, utilizing
a TTL field (e.g., as described in <a href="./rfc7881#section-5.1.1">Section 5.1.1 of [RFC7881]</a>) or
using fields that indicate status.
<span class="h3"><a class="selflink" id="section-3.8" href="#section-3.8">3.8</a>. Multiple BFD Sessions to the Same Target Node</span>
BFD is capable of providing very fast failure detection, as relevant
network nodes continuously transmit BFD packets at the negotiated
rate. If BFD packet transmission is interrupted, even for a very
short period of time, BFD can declare a failure irrespective of path
liveness. On a system where BFD is running, it is possible for
<span class="grey">Aldrin, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
certain events to (intentionally or unintentionally) cause a brief
interruption of BFD packet transmissions. With distributed
architectures of BFD implementations, this case can be prevented.
This use case is for an S-BFD node running multiple BFD sessions to
the same target node, with those sessions hosted on different system
modules (e.g., in different CPU instances). This can reduce false
failures, resulting in a more stable network.
To support this use case, a mapping between the multiple
discriminators on a single system and the specific entity within that
system is required.
<span class="h3"><a class="selflink" id="section-3.9" href="#section-3.9">3.9</a>. An MPLS BFD Session per ECMP Path</span>
BFD for MPLS LSPs, defined in [<a href="./rfc5884" title=""Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"">RFC5884</a>], describes procedures for
running BFD as an LSP in-band continuity check mechanism by using
MPLS Echo Request messages [<a href="./rfc4379" title=""Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures"">RFC4379</a>] to bootstrap the BFD session on
the target (i.e., egress) node. <a href="./rfc5884#section-4">Section 4 of [RFC5884]</a> also
describes the possibility of running multiple BFD sessions per
alternative of LSPs. [<a href="./rfc7726" title=""Clarifying Procedures for Establishing BFD Sessions for MPLS Label Switched Paths (LSPs)"">RFC7726</a>] further clarifies the procedures, for
both ingress and egress nodes, regarding how to bootstrap, maintain,
and remove multiple BFD sessions for the same <MPLS LSP, FEC> tuple
("FEC" means Forwarding Equivalence Class). However, this mechanism
still requires the use of MPLS LSP Ping for bootstrapping,
round trips for initialization, and keeping state at the receiver.
In the presence of ECMP within an MPLS LSP, it may be desirable to
run in-band monitoring that exercises every path of this ECMP.
Otherwise, there will be scenarios where an in-band BFD session
remains up through one path but traffic is black-holing over another
path. A BFD session per ECMP path of an LSP requires the definition
of procedures that update [<a href="./rfc5884" title=""Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"">RFC5884</a>] in terms of how to bootstrap and
maintain the correct set of BFD sessions on the egress node.
However, for traditional BFD, that requires the constant use of MPLS
Echo Request messages to create and delete BFD sessions on the egress
node when ECMP paths and/or corresponding load-balance hash keys
change. If a BFD session over any paths of the LSP can be
instantiated, stopped, and resumed without requiring additional
procedures for bootstrapping via an MPLS Echo Request message, it
would greatly simplify both implementations and operations and
would benefit network devices, as less processing would be required
by them.
To support this requirement, multiple S-BFD sessions need to be
established over different ECMP paths between the same pair of source
and target nodes.
<span class="grey">Aldrin, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Detailed Requirements for Seamless BFD</span>
REQ 1: Upon receipt of an S-BFD packet, a target network entity
(for the S-BFD session) MUST process the packet based on the
discriminator received in the BFD packet. If the S-BFD
context is found, the target network entity MUST be able to
send a response.
REQ 2: The source network entity MUST be able to establish a
unidirectional S-BFD session without the bidirectional
handshake of discriminators for session establishment.
REQ 3: The S-BFD session MUST be able to be established without the
need for the exchange of discriminators during session
negotiation.
REQ 4: In a Segment Routed network, S-BFD MUST be able to perform
liveness detection initiated from a centralized controller
for any given segment in its domain.
REQ 5: The established S-BFD session parameters and attributes,
such as transmission interval and reception interval, MUST
be modifiable without changing the state of the session.
REQ 6: An S-BFD source network entity MUST be able to send Control
packets to an anycast address. These packets are received
and processed by any node hosting the anycast address. The
S-BFD entity MUST be able to receive responses to S-BFD
Control packets from any of these anycast nodes, without
establishing a separate S-BFD session with every node
hosting the anycast address.
REQ 7: S-BFD SHOULD support fault-isolation capability, which MAY
be triggered when a fault is encountered.
REQ 8: S-BFD SHOULD be able to establish multiple sessions between
the same pair of source and target nodes. This requirement
enables but does not guarantee the ability to monitor
divergent paths in ECMP environments. It also provides
resiliency in distributed router architectures. The mapping
between BFD Discriminators and particular entities (e.g.,
ECMP paths, line cards) is out of scope for the S-BFD
protocol.
<span class="grey">Aldrin, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
REQ 9: The S-BFD protocol MUST provide mechanisms for loop
detection and prevention, protecting against malicious
attacks attempting to create packet loops.
REQ 10: S-BFD MUST incorporate robust security protections against
impersonators, malicious actors, and various active and
passive attacks. The simple and accelerated establishment
of an S-BFD session should not negatively affect security.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
This document details use cases for S-BFD and identifies various
associated requirements. Some of these requirements are security
related. The use cases described herein do not expose a system to
abuse or additional security risks. Since some negotiation aspects
are eliminated, a misconfiguration can result in S-BFD packets being
sent to an incorrect node. If this receiving node runs S-BFD, the
packet will be discarded due to discriminator mismatch. If the node
does not run S-BFD, the packet will be naturally discarded.
The proposed new protocols, extensions, and enhancements for S-BFD
supporting these use cases and realizing these requirements will
address associated security considerations. S-BFD should not have
reduced security capabilities as compared to traditional BFD.
<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-RFC5880">RFC5880</a>] Katz, D. and D. Ward, "Bidirectional Forwarding Detection
(BFD)", <a href="./rfc5880">RFC 5880</a>, DOI 10.17487/RFC5880, June 2010,
<<a href="http://www.rfc-editor.org/info/rfc5880">http://www.rfc-editor.org/info/rfc5880</a>>.
[<a id="ref-RFC5881">RFC5881</a>] Katz, D. and D. Ward, "Bidirectional Forwarding Detection
(BFD) for IPv4 and IPv6 (Single Hop)", <a href="./rfc5881">RFC 5881</a>,
DOI 10.17487/RFC5881, June 2010,
<<a href="http://www.rfc-editor.org/info/rfc5881">http://www.rfc-editor.org/info/rfc5881</a>>.
[<a id="ref-RFC5883">RFC5883</a>] Katz, D. and D. Ward, "Bidirectional Forwarding Detection
(BFD) for Multihop Paths", <a href="./rfc5883">RFC 5883</a>, DOI 10.17487/RFC5883,
June 2010, <<a href="http://www.rfc-editor.org/info/rfc5883">http://www.rfc-editor.org/info/rfc5883</a>>.
<span class="grey">Aldrin, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
[<a id="ref-RFC5884">RFC5884</a>] Aggarwal, R., Kompella, K., Nadeau, T., and G. Swallow,
"Bidirectional Forwarding Detection (BFD) for MPLS Label
Switched Paths (LSPs)", <a href="./rfc5884">RFC 5884</a>, DOI 10.17487/RFC5884,
June 2010, <<a href="http://www.rfc-editor.org/info/rfc5884">http://www.rfc-editor.org/info/rfc5884</a>>.
[<a id="ref-RFC5885">RFC5885</a>] Nadeau, T., Ed., and C. Pignataro, Ed., "Bidirectional
Forwarding Detection (BFD) for the Pseudowire Virtual
Circuit Connectivity Verification (VCCV)", <a href="./rfc5885">RFC 5885</a>,
DOI 10.17487/RFC5885, June 2010,
<<a href="http://www.rfc-editor.org/info/rfc5885">http://www.rfc-editor.org/info/rfc5885</a>>.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Informative References</span>
[<a id="ref-RFC791">RFC791</a>] Postel, J., "Internet Protocol", STD 5, <a href="./rfc791">RFC 791</a>,
DOI 10.17487/RFC791, September 1981,
<<a href="http://www.rfc-editor.org/info/rfc791">http://www.rfc-editor.org/info/rfc791</a>>.
[<a id="ref-RFC2460">RFC2460</a>] Deering, S. and R. Hinden, "Internet Protocol, Version 6
(IPv6) Specification", <a href="./rfc2460">RFC 2460</a>, DOI 10.17487/RFC2460,
December 1998, <<a href="http://www.rfc-editor.org/info/rfc2460">http://www.rfc-editor.org/info/rfc2460</a>>.
[<a id="ref-RFC3031">RFC3031</a>] Rosen, E., Viswanathan, A., and R. Callon, "Multiprotocol
Label Switching Architecture", <a href="./rfc3031">RFC 3031</a>,
DOI 10.17487/RFC3031, January 2001,
<<a href="http://www.rfc-editor.org/info/rfc3031">http://www.rfc-editor.org/info/rfc3031</a>>.
[<a id="ref-RFC4379">RFC4379</a>] Kompella, K. and G. Swallow, "Detecting Multi-Protocol
Label Switched (MPLS) Data Plane Failures", <a href="./rfc4379">RFC 4379</a>,
DOI 10.17487/RFC4379, February 2006,
<<a href="http://www.rfc-editor.org/info/rfc4379">http://www.rfc-editor.org/info/rfc4379</a>>.
[<a id="ref-RFC7726">RFC7726</a>] Govindan, V., Rajaraman, K., Mirsky, G., Akiya, N., and S.
Aldrin, "Clarifying Procedures for Establishing BFD
Sessions for MPLS Label Switched Paths (LSPs)", <a href="./rfc7726">RFC 7726</a>,
DOI 10.17487/RFC7726, January 2016,
<<a href="http://www.rfc-editor.org/info/rfc7726">http://www.rfc-editor.org/info/rfc7726</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>>.
[<a id="ref-RFC7881">RFC7881</a>] Pignataro, C., Ward, D., and N. Akiya, "Seamless
Bidirectional Forwarding Detection (S-BFD) for IPv4, IPv6,
and MPLS", <a href="./rfc7881">RFC 7881</a>, DOI 10.17487/RFC7881, July 2016,
<<a href="http://www.rfc-editor.org/info/rfc7881">http://www.rfc-editor.org/info/rfc7881</a>>.
<span class="grey">Aldrin, et al. Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
[<a id="ref-SR-ARCH">SR-ARCH</a>] Filsfils, C., Ed., Previdi, S., Ed., Decraene, B.,
Litkowski, S., and R. Shakir, "Segment Routing
Architecture", Work in Progress,
<a href="./draft-ietf-spring-segment-routing-09">draft-ietf-spring-segment-routing-09</a>, July 2016.
[<a id="ref-SR-MPLS">SR-MPLS</a>] Geib, R., Ed., Filsfils, C., Pignataro, C., Ed., and N.
Kumar, "A Scalable and Topology-Aware MPLS Dataplane
Monitoring System", Work in Progress,
<a href="./draft-ietf-spring-oam-usecase-03">draft-ietf-spring-oam-usecase-03</a>, April 2016.
[<a id="ref-SR-OAM-REQS">SR-OAM-REQS</a>]
Kumar, N., Pignataro, C., Akiya, N., Geib, R., Mirsky, G.,
and S. Litkowski, "OAM Requirements for Segment Routing
Network", Work in Progress,
<a href="./draft-ietf-spring-sr-oam-requirement-02">draft-ietf-spring-sr-oam-requirement-02</a>, July 2016.
<span class="grey">Aldrin, et al. Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7882">RFC 7882</a> S-BFD Use Cases July 2016</span>
Acknowledgements
The authors would like to thank Tobias Gondrom and Eric Gray for
their insightful and useful comments. The authors appreciate the
thorough review and comments provided by Dale R. Worley.
Contributors
The following are key contributors to this document:
Manav Bhatia, Ionos Networks
Satoru Matsushima, Softbank
Glenn Hayden, ATT
Santosh P K
Mach Chen, Huawei
Nobo Akiya, Big Switch Networks
Authors' Addresses
Sam Aldrin
Google, Inc.
Email: aldrin.ietf@gmail.com
Carlos Pignataro
Cisco Systems, Inc.
Email: cpignata@cisco.com
Greg Mirsky
Ericsson
Email: gregory.mirsky@ericsson.com
Nagendra Kumar
Cisco Systems, Inc.
Email: naikumar@cisco.com
Aldrin, et al. Informational [Page 15]
</pre>
|