Re: A question about RFC5884

"Carlos Pignataro (cpignata)" <cpignata@cisco.com> Mon, 17 July 2017 14:55 UTC

Return-Path: <cpignata@cisco.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B6F4131C34 for <rtg-bfd@ietfa.amsl.com>; Mon, 17 Jul 2017 07:55:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Level:
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: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GzYycpgMRovq for <rtg-bfd@ietfa.amsl.com>; Mon, 17 Jul 2017 07:55:50 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C886131C43 for <rtg-bfd@ietf.org>; Mon, 17 Jul 2017 07:55:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=23858; q=dns/txt; s=iport; t=1500303350; x=1501512950; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Sv8LoP2wik5Mi9vMi1jvaapjn/3T+imo9rsttl7BMKg=; b=UQfBna6dwbl0Nm2kbK+YeIYuOw7wd78FqG9eykUhMbaw+1FG0YBslCmF DL6VTngcqdRWBrfMv3AdzYJhA7zKutO1xbKYxqcutHqH5nv3UVQyOKt7u CD7o/d4TlWkzR6Gcgk3H3SSaLJTtCfDTkEzpZvQ0rOn2I2kmKhyDLA+Rh s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DJAADUzmxZ/4ENJK1cGgEBAQECAQEBAQgBAQEBgm9AK2SBFI4LkV+WBIIRLIUbAoNEPxgBAgEBAQEBAQFrKIUYAQEBAQMtOhIQAgEIEQQBASEHBzIUCQgCBA4FiAk2gQxMAxUQsVuLFgEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgyiDTYFhK4J5gTyDZIMNgjEFl0KHcgKHSIxMggyJRYZelVYBHzgTLEt1FVsBhQyBd3YBhk4rghIBAQE
X-IronPort-AV: E=Sophos;i="5.40,374,1496102400"; d="scan'208,217";a="271058825"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Jul 2017 14:55:49 +0000
Received: from XCH-RTP-004.cisco.com (xch-rtp-004.cisco.com [64.101.220.144]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id v6HEtmrF020076 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 17 Jul 2017 14:55:49 GMT
Received: from xch-rtp-020.cisco.com (64.101.220.160) by XCH-RTP-004.cisco.com (64.101.220.144) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 17 Jul 2017 10:55:48 -0400
Received: from xch-rtp-020.cisco.com ([64.101.220.160]) by XCH-RTP-020.cisco.com ([64.101.220.160]) with mapi id 15.00.1210.000; Mon, 17 Jul 2017 10:55:48 -0400
From: "Carlos Pignataro (cpignata)" <cpignata@cisco.com>
To: Mach Chen <mach.chen@huawei.com>
CC: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, Ashesh Mishra <mishra.ashesh@outlook.com>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
Subject: Re: A question about RFC5884
Thread-Topic: A question about RFC5884
Thread-Index: AdL+O5gXoB9THAjbTKqm/tbSNMtZOwAA8z/LAAyvGMAABhb8gP//+OwK//9kF8CAAaePmA==
Date: Mon, 17 Jul 2017 14:55:48 +0000
Message-ID: <6263E0A6-EE08-43BB-A845-BCF5788D2A14@cisco.com>
References: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE291842ADE@dggeml508-mbx.china.huawei.com> <MWHPR01MB2768DA6F22D6F8CDF11700E8FAA30@MWHPR01MB2768.prod.exchangelabs.com> <F73A3CB31E8BE34FA1BBE3C8F0CB2AE291843FC3@dggeml508-mbx.china.huawei.com>, <D5915F0F.2C0CF5%rrahman@cisco.com> <1E6F72A4-2141-42CB-932A-88FD93EB6B94@cisco.com>, <F73A3CB31E8BE34FA1BBE3C8F0CB2AE291844EF6@dggeml508-mbx.china.huawei.com>
In-Reply-To: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE291844EF6@dggeml508-mbx.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_6263E0A6EE0843BBA845BCF5788D2A14ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/Y3geWgOwdZ485taDgDLK_-4YXwo>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Jul 2017 14:55:52 -0000

Hi Mach,

On Jul 17, 2017, at 10:42 AM, Mach Chen <mach.chen@huawei.com<mailto:mach.chen@huawei.com>> wrote:

Hi Carlos,

Thanks for sharing your thoughts.

IMHO, it may not be necessary to consider this LSP Ping based bootstrapping as normal LSP ping.

Would it be considered an abnormal LSP Ping? :-)

If RFC 5884 references RFC 4379, I'd expect it means an LSP Ping as specified in 4379, or those processes for LSP Ping be updated.

Sent from my iPad

And since both the ingress and egress LSR process the echo messages in the context of BFD session establishment, it should be no problem to process as described in RFC5884.

BTW, RFC5884 does not specify which reply mode will be used :)

Best regards,
Mach

From: Carlos Pignataro (cpignata) [mailto:cpignata@cisco.com]
Sent: Monday, July 17, 2017 6:58 AM
To: Reshad Rahman (rrahman)
Cc: Mach Chen; Ashesh Mishra; rtg-bfd@ietf.org<mailto:rtg-bfd@ietf.org>
Subject: Re: A question about RFC5884

Hi,

I also agree with the conclusion of this thread in regards to what RFC 5884 says. However, can that be in conflict with RFC 8029's procedures, in which the reply might be expected?
https://tools.ietf.org/html/rfc8029#section-4.4

There is certainly no need to carry any information in an MPLS LSP Ping reply, since at that point the discriminatory are already carried in BFD. The reply might be important only if FEC validation fails.

I wonder though if the text of "The egress LSR MAY respond with an LSP Ping Echo" intended to convey that whether to reply or not depends on the value of the Reply Mode field in the Echo request.

Sent from my iPad

On Jul 16, 2017, at 6:22 PM, Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>> wrote:
Hi,

My take too is that the RFC is pretty clear that Echo reply from egress
LSR is not mandatory.

Regards,
Reshad.



On 2017-07-16, 4:29 PM, "Rtg-bfd on behalf of Mach Chen"
<rtg-bfd-bounces@ietf.org<mailto:rtg-bfd-bounces@ietf.org> on behalf of mach.chen@huawei.com<mailto:mach.chen@huawei.com>> wrote:


Hi Ashesh,

Thanks for your prompt response, we're on the same page!

Best regards,
Mach

-----????-----
???: Ashesh Mishra [mailto:mishra.ashesh@outlook.com]
????: 2017?7?16? 22:26
???: Mach Chen
??: rtg-bfd@ietf.org<mailto:rtg-bfd@ietf.org>
??: Re: A question about RFC5884

That's how I read it ... assuming that proper handling of the LSR echo
includes
gracefully dropping it on rx.

Ashesh

On Jul 16, 2017, at 3:58 PM, Mach Chen <mach.chen@huawei.com<mailto:mach.chen@huawei.com>> 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?

Thanks,
Mach