Re: A question about RFC5884

"Carlos Pignataro (cpignata)" <> Mon, 17 July 2017 15:30 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B21C7131C7D for <>; Mon, 17 Jul 2017 08:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Status: No, score=-14.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id lEvrx3E_yu90 for <>; Mon, 17 Jul 2017 08:30:50 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id D7D73131C80 for <>; Mon, 17 Jul 2017 08:30:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=9531; q=dns/txt; s=iport; t=1500305449; x=1501515049; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=UVnx+JTbIGkdggRUeRACiYqfNR2jMyZViGPsAE338HM=; b=FTs7jpUyUWxog1mV4Zb/IeDXSerFKxlFmgufP2dE7nILbEDMVZ753JQU eu6u5Tj3QTx+nTwngJABZngojvrleGil3oUektyXenPekvdSGzNUHEX37 4MIsHdE6KYoeL7DUEJ8SI6k7I+jFwocAlPq/hPCbH8LhF5J8XCuONkF2o g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DiAADa1mxZ/5hdJa1cGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgm9rgXiOC5oNiCqFLIIRhUcCg0Q/GAECAQEBAQEBAWsohRkGZxIQAgE?= =?us-ascii?q?IPwchERQRAQEEDgWJS0wDFbFlhy0Ng10BAQEBAQEBAQEBAQEBAQEBAQEBAQEdg?= =?us-ascii?q?yiDTYFhK4J5gTyBG4VWgjEFnnk7AosShBKEcJIvjAqJTAEfOIEKdRVbAYUMgXd?= =?us-ascii?q?2hk8rghIBAQE?=
X-IronPort-AV: E=Sophos;i="5.40,374,1496102400"; d="scan'208,217";a="456862888"
Received: from ([]) by with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2017 15:30:48 +0000
Received: from ( []) by (8.14.5/8.14.5) with ESMTP id v6HFUm0g025065 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 17 Jul 2017 15:30:48 GMT
Received: from ( by ( with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 17 Jul 2017 11:30:48 -0400
Received: from ([]) by ([]) with mapi id 15.00.1210.000; Mon, 17 Jul 2017 11:30:48 -0400
From: "Carlos Pignataro (cpignata)" <>
To: Greg Mirsky <>
CC: Mach Chen <>, "" <>
Subject: Re: A question about RFC5884
Thread-Topic: A question about RFC5884
Thread-Index: AdL+O5gXoB9THAjbTKqm/tbSNMtZOwAtQzYAAAdCXesACMs6gP//wZ16
Date: Mon, 17 Jul 2017 15:30:47 +0000
Message-ID: <>
References: <> <> <>, <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_0AC775096F044C6FA6EFEC9098048C84ciscocom_"
MIME-Version: 1.0
Archived-At: <>
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 17 Jul 2017 15:30:52 -0000


I am sorry but I don't see how the paragraph supports what you say. Two issues:

1. LSP Ping is based on the Normative reference's spec, RFC 4379. It cannot go against it unless it updates its behavior. The following text:

"The egress LSR MAY respond with an LSP Ping Echo
reply message that carries the local discriminator assigned by it for
   the BFD session."

Also has the interpretation that Santosh shared, which is "MAY send a response including a TLV, but sending it is not optional"

2. You wrote a MUST in your reply with specific ordering of packet responses. MUSTs are for interoperability. The text does not talk about order of packets. Where is that coming from?

It is unhelpful to mention references without citing them, and in any case, I do not believe the text supports your conclusion.

Sent from my iPad

On Jul 17, 2017, at 5:14 PM, Greg Mirsky <<>> wrote:

Hi Carlos,
it would take me time to dig that old discussion. I strongly believe that the wording and the order of listing actions in this paragraph of Section 6 RFC 5884 supports my interpretation and recollection of the discussion:

   On receipt of the LSP Ping Echo request message, the egress LSR MUST
   send a BFD Control packet to the ingress LSR, if the validation of
   the FEC in the LSP Ping Echo request message succeeds.  This BFD
   Control packet MUST set the Your Discriminator field to the
   discriminator received from the ingress LSR in the LSP Ping Echo
   request message.  The egress LSR MAY respond with an LSP Ping Echo
   reply message that carries the local discriminator assigned by it for
   the BFD session.  The local discriminator assigned by the egress LSR
   MUST be used as the My Discriminator field in the BFD session packets
   sent by the egress LSR.


On Mon, Jul 17, 2017 at 8:02 AM, Carlos Pignataro (cpignata) <<>> wrote:



Sent from my iPad

On Jul 17, 2017, at 9:34 AM, Greg Mirsky <<>> wrote:

Hi Mach, et. al,
I recall that this question was discussed some time ago and the clarification came from the original authors of the BFD protocol. The Echo Reply is optional if there's no error to report. But if the remote LER, acting as BFD node, does decide to send the Echo Reply it MUST send it after is sends the first BFD control message.


On Sun, Jul 16, 2017 at 6:58 AM, Mach Chen <<>> wrote:
Hi BFDers,

We met a multi-vendor interoperate issue recently, it's about whether an Echo reply is necessary.

In Section 6 of RFC5884, 2nd paragraph

"... The egress LSR MAY respond with an LSP Ping Echo
   reply message that carries the local discriminator assigned by it for
   the BFD session."

>From the above text, my understanding is that an Echo reply is optional, the egress LSR can freely to return or not return an Echo reply, and the Ingress LSR should not expect there MUST be an Echo reply, but if there is one, it should handle it properly.

Is my understanding correct?