Re: [mpls] BFD Packet Flow

"Weingarten, Yaacov (NSN - IL/Hod HaSharon)" <yaacov.weingarten@nsn.com> Thu, 19 August 2010 09:08 UTC

Return-Path: <yaacov.weingarten@nsn.com>
X-Original-To: mpls@core3.amsl.com
Delivered-To: mpls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 68E823A6909; Thu, 19 Aug 2010 02:08:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.712
X-Spam-Level:
X-Spam-Status: No, score=-1.712 tagged_above=-999 required=5 tests=[AWL=-0.314, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_52=0.6, J_CHICKENPOX_54=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xftSHwZJK8HB; Thu, 19 Aug 2010 02:08:01 -0700 (PDT)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) by core3.amsl.com (Postfix) with ESMTP id 049C83A6908; Thu, 19 Aug 2010 02:08:00 -0700 (PDT)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id o7J98XFf013503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Aug 2010 11:08:33 +0200
Received: from demuexc024.nsn-intra.net (demuexc024.nsn-intra.net [10.159.32.11]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id o7J98T1k021780; Thu, 19 Aug 2010 11:08:33 +0200
Received: from DEMUEXC030.nsn-intra.net ([10.150.128.57]) by demuexc024.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 19 Aug 2010 11:08:31 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB3F7E.1853262D"
Date: Thu, 19 Aug 2010 11:08:30 +0200
Message-ID: <62D9AC1F11702146A0387CBFF3A8CD3D0288E545@DEMUEXC030.nsn-intra.net>
In-Reply-To: <8F235FED-E707-48FE-9713-4AEB4746241C@juniper.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [mpls] BFD Packet Flow
Thread-Index: Acs7MTYtpNk5kbyhSnCEDodsS3FdbQES1Zwg
References: <538950.60100.qm@web94001.mail.in2.yahoo.com> <8F235FED-E707-48FE-9713-4AEB4746241C@juniper.net>
From: "Weingarten, Yaacov (NSN - IL/Hod HaSharon)" <yaacov.weingarten@nsn.com>
To: ext Dave Katz <dkatz@juniper.net>, RAKESH GUPTA <gupta_rakesh62@yahoo.co.in>
X-OriginalArrivalTime: 19 Aug 2010 09:08:31.0812 (UTC) FILETIME=[18687840:01CB3F7E]
Cc: mpls@ietf.org, rtg-bfd@ietf.org
Subject: Re: [mpls] BFD Packet Flow
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mpls>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Aug 2010 09:08:08 -0000

Hi, 

 

Just to verify that I understand the flow of messages and the state of
the BFD Session - is the following flow correct -

 

Assume a LSP between LSR-A and LSR-Z -

1. Both LSRs initialize the BFD Session and set the state to Down

2. LSR-A (the ingress LSR) sends a LSP-Ping (with the Discriminator TLV)
to LSR-Z - both sessions still in Down state.

3. LSR-Z receives the LSP-Ping, and (assuming that LSR-Z is in Active
mode) sends a BFD Control Packet with its own Discriminator, the
Discriminator received from the LSP-Ping, and State=Down to LSR-A, both
session still in Down State.

4. LSR-A receives the BFD Control and switches to Init state (as per
RFC5880), and sends a BFD Control Packet with State=Init to LSR-Z

5. LSR-Z receives the BFD Control and switches to Up state, and sends a
BFD Control Packet with State=Up to LSR-A

6. LSR-A receives the BFD Control and switches to UP state

 

Additional question - regarding step 3 above - must LSR-Z be in Active
mode? What happens if LSR-Z is in Passive mode and LSR-A is in Active
mode?

 

Thanx and BR,

Yaacov Weingarten

Nokia Siemens Networks

 

________________________________

From: rtg-bfd-bounces@ietf.org [mailto:rtg-bfd-bounces@ietf.org] On
Behalf Of ext Dave Katz
Sent: Saturday, August 14, 2010 00:39
To: RAKESH GUPTA
Cc: mpls@ietf.org; rtg-bfd@ietf.org WG
Subject: Re: [mpls] BFD Packet Flow

 

I suppose the source of confusion might be RFC 5884's choice of
verbiage:

 

   On receipt of the LSP Ping Echo request message, the egress LSR MUST
   send a BFD Control packet to the ingress LSR...

 

This might give the impression that LSP Ping is just transmitting BFD
control packets willy-nilly without any BFD context.  But it also says:

 

   A BFD session is bootstrapped using LSP Ping.



and

 

   A BFD session may be established for a FEC associated with an MPLS
LSP.  

 

This seems unambiguous that a BFD session is being established, and the
procedure for doing so is spelled out clearly in RFC 5880.  I believe
the following to be unambiguous:

 

   State (Sta)
 
      Set to the value indicated by bfd.SessionState.
 
and
 
   bfd.SessionState
 
      ...This variable MUST be initialized to Down.

 

One might be tempted to start in Init state in order to save one packet
during session establishment, but in doing so one would be breaking the
semantics of the protocol, in particular the three-way handshake through
session failure.

 

--Dave

 

 

On Aug 12, 2010, at 4:20 AM, RAKESH GUPTA wrote:





hi,

I have query regarding BFD packet flow when LSP Ping is used for
bootstrapping. 

As per my understanding from the RFC 5880 and RFC 5884 when LSP Ping is
used for bootstrapping the remote end MUST reply with BFD control in
response to the LSPPing.

The specification does not clearly specify about the Stat parameter
value that should be returned in the response of LSPPing. Should it have
the value Init or Down? Or it might be possible to return no stat
information.

Can someone please share the exact packet flow that happens during BFD
session set up with LSPPing in Bootstrap till the session comes into UP
state?

thanks a lot in advance for ur help,
rakesh


_______________________________________________
mpls mailing list
mpls@ietf.org
https://www.ietf.org/mailman/listinfo/mpls