Re: [PWE3] VCCV usage

"Aissaoui, Mustapha (Mustapha)" <mustapha.aissaoui@alcatel-lucent.com> Tue, 16 November 2010 19:47 UTC

Return-Path: <mustapha.aissaoui@alcatel-lucent.com>
X-Original-To: pwe3@core3.amsl.com
Delivered-To: pwe3@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2574728C0E4 for <pwe3@core3.amsl.com>; Tue, 16 Nov 2010 11:47:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.599
X-Spam-Level:
X-Spam-Status: No, score=-5.599 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 y8QuElpq67TX for <pwe3@core3.amsl.com>; Tue, 16 Nov 2010 11:47:00 -0800 (PST)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by core3.amsl.com (Postfix) with ESMTP id AF3D628C0DD for <pwe3@ietf.org>; Tue, 16 Nov 2010 11:47:00 -0800 (PST)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id oAGJlfkl006972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 13:47:41 -0600 (CST)
Received: from USNAVSXCHHUB02.ndc.alcatel-lucent.com (usnavsxchhub02.ndc.alcatel-lucent.com [135.3.39.111]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id oAGJlfc8010396 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 16 Nov 2010 13:47:41 -0600
Received: from USNAVSXCHMBSC2.ndc.alcatel-lucent.com ([135.3.39.147]) by USNAVSXCHHUB02.ndc.alcatel-lucent.com ([135.3.39.111]) with mapi; Tue, 16 Nov 2010 13:47:41 -0600
From: "Aissaoui, Mustapha (Mustapha)" <mustapha.aissaoui@alcatel-lucent.com>
To: Carlos Pignataro <cpignata@cisco.com>, "Bocci, Matthew (Matthew)" <matthew.bocci@alcatel-lucent.com>
Date: Tue, 16 Nov 2010 13:47:39 -0600
Thread-Topic: [PWE3] VCCV usage
Thread-Index: AcuFwt4h002sB5V6S16yYCteRsAd4QAA5WbQ
Message-ID: <5DF53972F7E9134782DCE51624466FE50ACFB50E62@USNAVSXCHMBSC2.ndc.alcatel-lucent.com>
References: <C9087057.3B57%matthew.bocci@alcatel-lucent.com> <4CE2D8A4.4010903@cisco.com>
In-Reply-To: <4CE2D8A4.4010903@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.9
Cc: "pwe3@ietf.org" <pwe3@ietf.org>, Yaakov Stein <yaakov_s@rad.com>, Luca Martini <lmartini@cisco.com>
Subject: Re: [PWE3] VCCV usage
X-BeenThere: pwe3@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Pseudo Wires Edge to Edge <pwe3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/pwe3>, <mailto:pwe3-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pwe3>
List-Post: <mailto:pwe3@ietf.org>
List-Help: <mailto:pwe3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pwe3>, <mailto:pwe3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2010 19:47:02 -0000

Carlos,
You are correct, the CC Types are signaled such that each PE knows the capability of its peer in terms of interception of OAM packets in the data path, i.e., the exception handling procedures.

The control plane can always recognize an OAM control word and remove it when processing the VCCV packet but the data path must first intercept it and re-direct it to the control plane.

Mustapha. 

-----Original Message-----
From: pwe3-bounces@ietf.org [mailto:pwe3-bounces@ietf.org] On Behalf Of Carlos Pignataro
Sent: Tuesday, November 16, 2010 2:17 PM
To: Bocci, Matthew (Matthew)
Cc: Luca Martini; Yaakov Stein; pwe3@ietf.org
Subject: Re: [PWE3] VCCV usage

Sasha, Matthew, all,

Please find a couple of top-post questions for my understanding of the
thread:

1. When we say "CC Type", what is the definition used and semantics?
   From S3 of RFC5085 <http://tools.ietf.org/html/rfc5085#section-3>, I
   believe this thread is about the second bullet, that includes "allows
   the receiving PE to intercept [...]". Therefore:

   a. From there, if TTL expires, then that would mean that CC Type 3 is
      being used (regardless of CW 1st nibble, since CC Type 3 for PWs
      that use CW need to set the nibble to 0x1 but does they not use it
      for intercepting, per S5.1.3 of RFC 5085). Right?

   b. If OTOH the 1st nibble is inspected and intercepted when 0x1
      regardless of TTL, then that's CC Type 1. Correct?

2. What are the reasons for deprecating CC Type 2, as for intercepting
   it works every time.

3. What does it mean to combine CC Type 1 and CC Type 3? I think that
   the distinction is semantically in regards to how the VCCV packets
   are intercepted from the PW dataplane stream. The fact that CC Type 3
   uses the CW with 0x1 and PW-ACH is not for intercepting, but for OAM
   fate-sharing, per <http://tools.ietf.org/html/rfc5085#section-5.1.3>.

4. All of these thread covers the dataplane aspect and not the
   capability signaling, correct?

Thanks,

-- Carlos.

On 11/16/2010 12:46 PM, Bocci, Matthew (Matthew) wrote:
> Hi Sasha,
> 
> Please see below.
> 
> Matthew
> 
> From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com 
> <mailto:Alexander.Vainshtein@ecitele.com>>
> Date: Tue, 16 Nov 2010 18:20:04 +0100
> To: Greg Mirsky <gregimirsky@gmail.com 
> <mailto:gregimirsky@gmail.com>>, Yaakov Stein <yaakov_s@rad.com 
> <mailto:yaakov_s@rad.com>>, Luca Martini <lmartini@cisco.com 
> <mailto:lmartini@cisco.com>>, Sriganesh Kini 
> <sriganesh.kini@ericsson.com <mailto:sriganesh.kini@ericsson.com>>
> Cc: "pwe3@ietf.org <mailto:pwe3@ietf.org>" <pwe3@ietf.org 
> <mailto:pwe3@ietf.org>>
> Subject: Re: [PWE3] VCCV usage
> 
> Hi all,
> 
> It seems that we have moved far, far away from the original topic of 
> this discussion, namely, which VCCV types should be deprecated 
> andwhich declared as /mandatory to implement/. (I would like to stress 
> the difference  between /mandatory to implement/ and /mandatory to 
> deploy/; the latter is IMO out of  scope of this discussion).
> 
>  
> 
> I would like to summarize my understanding of the discussion on this 
> specific topic.
> 
>  
> 
> 1.       It seems that we more or less agree that VCCV Type 2 should be
> deprecated. If we accept this, an update to RFC 5085 (that defines 
> that, when multiple VCCV Types are supported, it is preferable to VCCV 
> Type 3) has to be amended.
> 
> 2.       It also seems that VCCV Type 3 goes almost for free: all that
> is required is /ability to send  VCCV packets with the desired TTL 
> value in the PW label stack entry/ (as opposed to always setting TTL 
> in this stack entry to a fixed value).
> 
> 3.       We disagree on whether VCCV Type 3 is absolutely required for
> terminating some VCCV packets in S-PEs, with snooping on the 1^st 
> nibble of the CW as an alternative.  But we seem to agree  that TTL 
> expiration is a standard-compliant approachhere.
> 
> 
> MB> Actually we should never snoop the first nibble unless TTL expires
> at an S-PE. This is common for both S-PEs that advertise Type 1 and 
> Type 3, and draft-ietf-pwe3-segmented-pw is pretty clear about this point.
> The difference is the behaviour at the T-PE. With type 1, the first 
> nibble of the CW is always inspected when the PW label is popped. With 
> type 3, TTL must expire for the CW (if present) to be inspected.
> 
> It is interesting to note that this is the second time we have been 
> through the same line of thought on this list (see the following 
> thread from These differences were discussed in the following thread on the
> PWE3 list   from July this
> year: http://www.ietf.org/mail-archive/web/pwe3/current/msg11466.html)
> 
> 
> 4.       Combining VCCV Type 1 and Type 3:
> 
> a.       We all seem to agree that VCCV Type 1 (where applicable)
> provides protection against leaking VCCV packets in ACs
> 
> b.      RFC 5086 states that in PWs using the CW, the PW-ACH header
> (i.e., the CW with the first nibble set to 0b0001 and the last 16 bits 
> carrying the ACH Type) MUST be used even with VCCV Type 3. In other 
> words, a device that supports usage of CW in PWs and supports VCCV 
> Type
> 3 MUST be able to DEMUX VCCV packets that it has identified due to TTL 
> expiration in the PW label stack entry MUST be on ACH type.  However, 
> it could be useful to clarify this point explicitly when/if we amend RFC 5086.
> 
> c.       This observation (assuming it is acceptable) covers the use
> cases for combining VCCV Type 1 and VCCV Type 3 that I have in mind.
> 
>  
> 
> Hopefully these notes will be useful.
> 
> Regards,
> 
>      Sasha
> 
>  
> 
> *From:* Greg Mirsky [mailto:gregimirsky@gmail.com]
> *Sent:* Tuesday, November 16, 2010 2:57 PM
> *To:* Sriganesh Kini
> *Cc:* Alexander Vainshtein; pwe3@ietf.org <mailto:pwe3@ietf.org>; 
> Yaakov Stein; Luca Martini
> *Subject:* Re: [PWE3] VCCV usage
> 
>  
> 
> Dear Sri,
> 
> I think that is interesting question whether Segment protection is 
> applicable to MS-PW. I cannot say that such requirement doesn't exist 
> only because protection on different sub-layers must be coordinated.
> 
>  
> 
> Regards,
> 
> Greg
> 
> On Tue, Nov 16, 2010 at 2:07 AM, Sriganesh Kini 
> <sriganesh.kini@ericsson.com <mailto:sriganesh.kini@ericsson.com>> wrote:
> 
> IMO mid-point protection is not required. Your proposal has 
> complications because a sub-segment of that segment may also be 
> monitoring and independently do a protection-switched resulting in the 
> number of hops changing for the segment.
> 
> 
> On Tue, Nov 16, 2010 at 1:37 AM, Alexander Vainshtein 
> <Alexander.Vainshtein@ecitele.com 
> <mailto:Alexander.Vainshtein@ecitele.com>> wrote:
>> Yaakov, Sri,
>> I am not sure if mid-point protection switch is really useful.
>> But if it is, can it be triggered by segment monitoring using VCCV Type 3?
>> This would eliminate the need for permanent snooping on the CW.
>>
>> Regards,
>>     Sasha
>>
>> -----Original Message-----
>> From: pwe3-bounces@ietf.org
> <mailto:pwe3-bounces@ietf.org>[mailto:pwe3-bounces@ietf.org
> <mailto:pwe3-bounces@ietf.org>] On Behalf Of Sriganesh Kini
>> Sent: Tuesday, November 16, 2010 11:35 AM
>> To: Yaakov Stein
>> Cc: pwe3@ietf.org <mailto:pwe3@ietf.org>; Luca Martini
>> Subject: Re: [PWE3] VCCV usage
>>
>> I agree with Luca. Peeking at the first nibble at S-PEs for every 
>> packet, warps the label swap operation at S-PEs. It is best to stick 
>> to the standard MPLS label operations.
>>
>> Moreover, would initiating midpoint-backup require initiating the 
>> VCCV-BFD from that mid-point ? Would that potentially terminate at 
>> another midpoint ? This would result in all intermediate S-PEs 
>> examining the VCCV packets beyond the first nibble to determine if it 
>> is destined to it, and if not would require forwarding (that may not 
>> be in data plane). This introduces unnecessary delays of BFD packets.
>>
>> --
>> - Sri
>>
>> On Mon, Nov 15, 2010 at 9:11 PM, Yaakov Stein <yaakov_s@rad.com
> <mailto:yaakov_s@rad.com>> wrote:
>>>> Your concern is one of the main reasons why S-PEs cannot support 
>>>> midpoint-backup-PWs.
>>>
>>> Luca
>>>
>>> Actually, my concern is one of the reasons that they can.
>>>
>>> All you have to do is set up the backup MS-PW, and trigger the 
>>> switch based on VCCV-BFD indications.
>>>
>>> Works like a charm, if you allow the S-PEs to peek at the first nibble.
>>>
>>> BTW, not ALL the S-PEs need to know. Only the S-PEs affected by the
> backup.
>>> But all of this depends on NOT using the TTL-expiry method, which is 
>>> clumsy at best, and error-prone at worst.
>>>
>>> Y(J)S
>>>
>>>
>>> _______________________________________________
>>> pwe3 mailing list
>>> pwe3@ietf.org <mailto:pwe3@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/pwe3
>>>
>> _______________________________________________
>> pwe3 mailing list
>> pwe3@ietf.org <mailto:pwe3@ietf.org>
>> https://www.ietf.org/mailman/listinfo/pwe3
>> _______________________________________________
>> pwe3 mailing list
>> pwe3@ietf.org <mailto:pwe3@ietf.org>
>> https://www.ietf.org/mailman/listinfo/pwe3
>>
> 
> 
> --
> - Sri
> 
> _______________________________________________
> pwe3 mailing list
> pwe3@ietf.org <mailto:pwe3@ietf.org>
> https://www.ietf.org/mailman/listinfo/pwe3
> 
>  
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> pwe3 mailing list
> pwe3@ietf.org
> https://www.ietf.org/mailman/listinfo/pwe3
_______________________________________________
pwe3 mailing list
pwe3@ietf.org
https://www.ietf.org/mailman/listinfo/pwe3