Return-Path: <paitken@Brocade.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 97BFF12EB4D;
 Wed,  7 Jun 2017 02:53:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.349
X-Spam-Level: 
X-Spam-Status: No, score=-0.349 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, HTML_FONT_LOW_CONTRAST=0.001,
 HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26,
 HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 XLdAKHSuV7wT; Wed,  7 Jun 2017 02:53:40 -0700 (PDT)
Received: from mx0a-000f0801.pphosted.com (mx0b-000f0801.pphosted.com
 [IPv6:2620:100:9005:71::1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 41EED129B8D;
 Wed,  7 Jun 2017 02:53:40 -0700 (PDT)
Received: from pps.filterd (m0000700.ppops.net [127.0.0.1])
 by mx0b-000f0801.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id
 v579kI17027637; Wed, 7 Jun 2017 02:53:35 -0700
Received: from brmwp-exmb11.corp.brocade.com ([208.47.132.227])
 by mx0b-000f0801.pphosted.com with ESMTP id 2ax9rt0u3m-2
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Wed, 07 Jun 2017 02:53:35 -0700
Received: from EMEAWP-EXMB12.corp.brocade.com (172.29.11.86) by
 BRMWP-EXMB11.corp.brocade.com (172.16.59.77) with Microsoft SMTP Server (TLS)
 id 15.0.1210.3; Wed, 7 Jun 2017 03:53:32 -0600
Received: from [172.27.212.154] (172.27.212.154) by
 EMEAWP-EXMB12.corp.brocade.com (172.29.11.86) with Microsoft SMTP Server
 (TLS) id 15.0.1210.3; Wed, 7 Jun 2017 11:53:24 +0200
To: li zhenqiang <li_zhenqiang@hotmail.com>, opsawg <opsawg@ietf.org>, idr
 <idr@ietf.org>, "ipfix@ietf.org" <ipfix@ietf.org>
References: <HK2PR0601MB13617E5EA5828A10E5B3D1A6FCF80@HK2PR0601MB1361.apcprd06.prod.outlook.com>
 <HK2PR0601MB13614AD1610E2FA97C21A682FCC80@HK2PR0601MB1361.apcprd06.prod.outlook.com>
From: PJ Aitken <pjaitken@brocade.com>
Message-ID: <be981ea3-cc15-09a8-e46a-1fa054059c52@brocade.com>
Date: Wed, 7 Jun 2017 10:53:20 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <HK2PR0601MB13614AD1610E2FA97C21A682FCC80@HK2PR0601MB1361.apcprd06.prod.outlook.com>
Content-Type: multipart/alternative;
 boundary="------------15A4C26C3A4803534CADE22A"
Content-Language: en-GB
X-Originating-IP: [172.27.212.154]
X-ClientProxiedBy: hq1wp-excas14.corp.brocade.com (10.70.38.103) To
 EMEAWP-EXMB12.corp.brocade.com (172.29.11.86)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, ,
 definitions=2017-06-07_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 malwarescore=0
 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011
 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0
 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706070162
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/uWPjnI9VCtHKSw-FSdrx4qmgVbs>
Subject: Re: [IPFIX] [Idr] discussion about exporting BGP community
 information in IPFIX
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>,
 <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipfix/>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>,
 <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jun 2017 09:53:43 -0000

--------------15A4C26C3A4803534CADE22A
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 8bit

What IPFIX message splitting method would you propose? Bear in mind that 
it must be backwards-compatible with existing collectors which do not 
expect message splitting.

Rather than splitting messages, it might be acceptable simply to send 
longer messages. I think this would require a new version of IPFIX (eg, 
version 11) with the following modifications:

* 32-bit Length in the Message Header (cf. RFC 7011 / Figure F)
* 32 bit Field Length in the Field Specifier Format (cf. RFC 7011 / 
Figure G)
* 32 bit Length in the Set Header Format (cf. RFC 7011 / Figure I)

P.


On 07/06/17 10:02, li zhenqiang wrote:
> about question 1， the message length.
> A WG 
> draft,https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-extended-messages/ 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dietf-2Didr-2Dbgp-2Dextended-2Dmessages_&d=DwMGaQ&c=IL_XqQWOjubgfqINi2jTzg&r=Xx9729xYDYoCgBDdcp1FKt5PyYd1TCoXNKhyPY8CFp8&m=plGpWzcW7ppWguHBC4w6PyEGZRLkmX7MJ1vUTVNOpZs&s=0pin7tGPbPq5n1iayUcdxrEXuvzvTPplWdQkXERikBo&e=>, 
> extends the maximum update message sizeof BGP beyond 4096 bytes to 65535 bytes. So, 
> one IPFIX message may not be sufficient to fit all the communities 
> related to a specific flow. BGP speakers 
> that support the extended message feature 
> SHOULD takecare to handle the IPFIX message properly, such as only convey as many communities as possible in theIPFIX message. The collector that 
> receives an IPFIX message with maximum length and BGP communities 
> contained in its data set SHOULD be aware of the BGP communities may be truncated due to limited messagespace. In this case, it is RECOMMENDED to configure export policy on the exporter to limit the BGP communitiesto be exported, to export only some specific communities, for example, or not to export some communities.
>
> To solve this problem completely, we should update 
> IPFIX Protocol Specification RFC7011 to supportmessage splitting.
>
> Your comments are appreciated.
>
> ------------------------------------------------------------------------
> li_zhenqiang@hotmail.com

--------------15A4C26C3A4803534CADE22A
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    What IPFIX message splitting method would you propose? Bear in mind
    that it must be backwards-compatible with existing collectors which
    do not expect message splitting.<br>
    <br>
    Rather than splitting messages, it might be acceptable simply to
    send longer messages. I think this would require a new version of
    IPFIX (eg, version 11) with the following modifications:<br>
    <br>
    * 32-bit Length in the Message Header (cf. RFC 7011 / Figure F)<br>
    * 32 bit Field Length in the Field Specifier Format (cf. RFC 7011 /
    Figure G)<br>
    * 32 bit Length in the Set Header Format (cf. RFC 7011 / Figure I)<br>
    <br>
    P.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/06/17 10:02, li zhenqiang wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:HK2PR0601MB13614AD1610E2FA97C21A682FCC80@HK2PR0601MB1361.apcprd06.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20170607164906554296 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
      <div><span></span>about question 1， the message length. </div>
      <div><span style="color: rgb(0, 0, 0); background-color: rgba(0,
          0, 0, 0);"></span><span style="color: rgb(0, 0, 0); font-size:
          10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">A
          WG draft,</span><span style="font-size: 10.5pt; line-height:
          1.5; background-color: window;">
        </span><a
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dietf-2Didr-2Dbgp-2Dextended-2Dmessages_&amp;d=DwMGaQ&amp;c=IL_XqQWOjubgfqINi2jTzg&amp;r=Xx9729xYDYoCgBDdcp1FKt5PyYd1TCoXNKhyPY8CFp8&amp;m=plGpWzcW7ppWguHBC4w6PyEGZRLkmX7MJ1vUTVNOpZs&amp;s=0pin7tGPbPq5n1iayUcdxrEXuvzvTPplWdQkXERikBo&amp;e="
          style="font-size: 10.5pt; line-height: 1.5; background-color:
          window;" moz-do-not-send="true">https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-extended-messages/</a>, <span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">extends the maximum update message size</span><span
          style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height:
          1.5; background-color: rgba(0, 0, 0, 0);"> </span><span
          style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height:
          1.5; background-color: rgba(0, 0, 0, 0);">of BGP beyond 4096 bytes to 65535 bytes.</span><span
          style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height:
          1.5; background-color: rgba(0, 0, 0, 0);"> So, one IPFIX
          message may not be sufficient to fit all the communities
          related to a specific flow. BGP speakers </span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">that support the extended message feature
          SHOULD take<span style="white-space: pre;"> </span></span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">care to handle the IPFIX message properly, such as only convey as many communities as possible in the<span style="white-space: pre;"> </span></span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">IPFIX message. The collector that
          receives an IPFIX message with maximum length and BGP communities </span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">contained in its data set SHOULD be aware of the BGP communities may be truncated due to limited message<span style="white-space: pre;"> </span></span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">space. In this case, it is RECOMMENDED to configure export policy on the exporter to limit the BGP communities<span style="white-space: pre;"> </span></span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">to be exported, to export only some specific communities, for example, or not to export some communities.</span></div>
      <div><span style="background-color: rgba(0, 0, 0, 0); font-size:
          10.5pt; line-height: 1.5;"><br>
        </span></div>
      <div><span style="color: rgb(0, 0, 0); background-color: rgba(0,
          0, 0, 0);">To solve this problem completely, we should update
          IPFIX Protocol Specification RFC7011 to support<span style="white-space: pre;"> </span>message splitting.</span></div>
      <div><span style="color: rgb(0, 0, 0); background-color: rgba(0,
          0, 0, 0);"><br>
        </span></div>
      <div><span style="color: rgb(0, 0, 0); background-color: rgba(0,
          0, 0, 0);">Your comments are appreciated.</span></div>
      <div><span style="color: rgb(0, 0, 0); background-color: rgba(0,
          0, 0, 0);"><br>
        </span></div>
      <hr style="width: 210px; height: 1px;" color="#b5c4df" size="1"
        align="left">
      <div><span>
          <div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE:
            10pt">
            <div><a class="moz-txt-link-abbreviated" href="mailto:li_zhenqiang@hotmail.com">li_zhenqiang@hotmail.com</a></div>
            <span></span></div>
        </span></div>
    </blockquote>
  </body>
</html>

--------------15A4C26C3A4803534CADE22A--

