Internet Engineering Task Force N. Akiya
Internet-Draft C. Pignataro
Intended status: Standards Track N. Kumar
Expires: February 24, 2015 Cisco Systems
August 23, 2014

Seamless Bidirectional Forwarding Detection (S-BFD) for Segment Routing
draft-akiya-bfd-seamless-sr-03

Abstract

This document defines procedures to use Seamless Bidirectional Forwarding Detection (S-BFD) for the Segment Routing environment.

Requirements Language

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].

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.

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."

This Internet-Draft will expire on February 24, 2015.

Copyright Notice

Copyright (c) 2014 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 Simplified BSD License.


Table of Contents

1. Introduction

Seamless Bidirectional Forwarding Detection (S-BFD), [I-D.ietf-bfd-seamless-base], defines a generalized mechanism to allow network nodes to seamlessly perform continuity checks to remote entities. This document defines necessary procedures to use S-BFD on the Segment Routing environment described by [I-D.filsfils-spring-segment-routing].

The reader is expected to be familiar with the IP, MPLS, Segment Routing [I-D.filsfils-spring-segment-routing], BFD [RFC5880] and S-BFD [I-D.ietf-bfd-seamless-base] terminologies and protocol constructs.

2. Inheritance of Code Points and Procedures

S-BFD on the Segment Routing MUST use the code points and procedures defined in [I-D.akiya-bfd-seamless-ip] regarding following aspects:

The Segment Routing on the MPLS data plane is to use MPLS based procedures, and the Segment Routing on the IPv6 data plane is to use IP based procedures.

3. SBFDInitiator Models

The S-BFD technology defines an SBFDReflector and how SBFDInitiators speak to SBFDReflectors. Outside of these definitions, implementations are free to be flexible in terms of how SBFDInitiators behave. The packet steering capability of the Segment Routing allows for, at very high level, two distinct SBFDInitiator models. This section describes the two SBFDInitiator models as an implementation reference.

3.1. Uncontrolled Return Path

A network node sending S-BFD control packets to a remote target with particular segment stack will allow the network node to determine whether or not such packets reach the intended remote target. The network node can conclude the reachability when valid response S-BFD control packets are received back. In opposite, the network node can conclude the lack of reachability when valid response S-BFD control packet are not received back. Because S-BFD control packets back from the responder to the initiator will be IP routed, how S-BFD control packets traverse the network back to the initiator is uncontrolled. If the network employs good set of local protection mechanisms, this may not be concerning and the model of only sending S-BFD control packets may be sufficient.

In this model, SBFDInitiator is to send only S-BFD control packets.

3.2. Controlled Return Path

In addition to SBFDInitiator sending S-BFD control packets, described in Section 3.1, S-BFD echo packets can also be sent.

      +-----B-------C-----+
     /                     \
    A-----------E-----------D
     \                     /
      +-----F-------G-----+

      Forward Paths: A-B-C-D
    IP Return Paths: D-E-A

      Figure 1: S-BFD Echo Example

The SBFDInitiator can correlate the result of each packet type to determine the nature of the failure. One such example of failure correlation is described in the figure below.

  +---+-----------------------------------------------------------+
  |   |                      S-BFD Echo Pkt                       |
  |   +------------------------------------+----------------------+
  |   |              Success               |       Failure        |
  +-+-+------------------------------------+----------------------+
  | |S|                                    |                      |
  |S|u|                                    |                      | 
  |||c|                                    |Forward SID stack good|
  |B|c|             All is well            |Return SID stack bad  |
  |F|e|                                    |Return IP path good   |
  |D|s|                                    |                      | 
  | |s|                                    |                      |
  |C+-+----------------------+-------------+----------------------+
  |t|F|Forward SID stack good|             |                      |
  |r|a|Return SID stack good |Send Alert   |                      |
  |l|i|Return IP path bad    |Discrim S-BFD|                      |
  | |l+--------- OR ---------+w/ Forward   |Forward SID stack bad |
  |P|u|Forward SID stack is  |SID stack to |                      | 
  |k|r|terminating on wrong  |differentiate|                      |
  |t|e|node                  |             |                      |
  +-+-+----------------------+-------------+----------------------+

      Figure 2: SBFDInitiator Failure Correlation Example

4. S-BFD Echo Recommendations

5. Security Considerations

Security considerations for S-BFD are discussed in [I-D.ietf-bfd-seamless-base] and [I-D.akiya-bfd-seamless-ip].

6. IANA Considerations

This document does not request any new code points from IANA.

7. Acknowledgements

Authors would like to thank Marc Binderberger from Cisco Systems for providing valuable comments.

8. Contributing Authors

Dave Ward
Cisco Systems
Email: wardd@cisco.com

Tarek Saad
Cisco Systems
Email: tsaad@cisco.com

Siva Sivabalan
Cisco Systems
Email: msiva@cisco.com

9. References

9.1. Normative References

[I-D.akiya-bfd-seamless-ip] Akiya, N., Pignataro, C. and D. Ward, "Seamless Bidirectional Forwarding Detection (S-BFD) for IPv4, IPv6 and MPLS", Internet-Draft draft-akiya-bfd-seamless-ip-04, August 2014.
[I-D.filsfils-spring-segment-routing] Filsfils, C., Previdi, S., Bashandy, A., Decraene, B., Litkowski, S., Horneffer, M., Milojevic, I., Shakir, R., Ytti, S., Henderickx, W., Tantsura, J. and E. Crabbe, "Segment Routing Architecture", Internet-Draft draft-filsfils-spring-segment-routing-04, July 2014.
[I-D.ietf-bfd-seamless-base] Akiya, N., Pignataro, C., Ward, D., Bhatia, M. and J. Networks, "Seamless Bidirectional Forwarding Detection (S-BFD)", Internet-Draft draft-ietf-bfd-seamless-base-02, August 2014.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

9.2. Informative References

[RFC5880] Katz, D. and D. Ward, "Bidirectional Forwarding Detection (BFD)", RFC 5880, June 2010.

Authors' Addresses

Nobo Akiya Cisco Systems EMail: nobo@cisco.com
Carlos Pignataro Cisco Systems EMail: cpignata@cisco.com
Nagendra Kumar Cisco Systems EMail: naikumar@cisco.com