Re: [IPFIX] draft-kashima-ipfix-data-link-layer-monitoring
Paul Aitken <paitken@cisco.com> Mon, 08 November 2010 16:02 UTC
Return-Path: <paitken@cisco.com>
X-Original-To: ipfix@core3.amsl.com
Delivered-To: ipfix@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C43853A68DE for <ipfix@core3.amsl.com>; Mon, 8 Nov 2010 08:02:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 Px4ew-2MOahz for <ipfix@core3.amsl.com>; Mon, 8 Nov 2010 08:02:15 -0800 (PST)
Received: from rtp-iport-2.cisco.com (rtp-iport-2.cisco.com [64.102.122.149]) by core3.amsl.com (Postfix) with ESMTP id F42373A68D8 for <ipfix@ietf.org>; Mon, 8 Nov 2010 08:02:14 -0800 (PST)
Authentication-Results: rtp-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-AV: E=Sophos;i="4.58,314,1286150400"; d="scan'208";a="179781822"
Received: from rtp-core-2.cisco.com ([64.102.124.13]) by rtp-iport-2.cisco.com with ESMTP; 08 Nov 2010 16:02:36 +0000
Received: from cisco.com (mrwint.cisco.com [64.103.71.48]) by rtp-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id oA8G2ZlC001249; Mon, 8 Nov 2010 16:02:35 GMT
Received: from [144.254.153.57] (dhcp-144-254-153-57.cisco.com [144.254.153.57]) by cisco.com (8.11.7p3+Sun/8.8.8) with ESMTP id oA8G2W817966; Mon, 8 Nov 2010 16:02:33 GMT
Message-ID: <4CD81F1B.9020305@cisco.com>
Date: Mon, 08 Nov 2010 16:02:35 +0000
From: Paul Aitken <paitken@cisco.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
MIME-Version: 1.0
To: Shingo KASHIMA <kashima@nttv6.net>
References: <20101008011733.3192.1AB7FA03@nttv6.net> <4CAE179B.1020102@cisco.com> <20101029171405.F0DD.1AB7FA03@nttv6.net>
In-Reply-To: <20101029171405.F0DD.1AB7FA03@nttv6.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: IETF IPFIX Working Group <ipfix@ietf.org>, ipfix-chairs@tools.ietf.org
Subject: Re: [IPFIX] draft-kashima-ipfix-data-link-layer-monitoring
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Mon, 08 Nov 2010 16:02:16 -0000
Kashima-san, I reviewed the draft. Please find some feedback inline. > 1. Introduction > > While these renovations provide flexibility, scalability, and I think you mean "innovations". > 3. Future Traffic Measurement > > The device (Exporter) filters and/or samples Ethernet frames using > PSAMP Selector, extracts the header of the frame, and exports the > header information encoded by IPFIX protocol to the Collector. Actually the exporter doesn't do this; the metering process does. A combination of MP and exporter is required. > Furthermore, the device (Exporter) filters and samples traffic for > each VPN using a Composite Selector of PSAMP [RFC5475]. This makes > it possible to change the granularity of the traffic monitoring for > each VPN. Same comment again. Also, consider adding some details of the PSAMP process. > 4.2. dataLinkFrameSection > > > Description: > > This Information Element carries n octets from the data link frame > of a selected frame, starting dataLinkFrameOffset octets into the > frame. > > When the dataLinkFrameSectionObservedOctets field corresponding to > this Information Element does not exist, this Information Element > MUST have a variable length and MUST NOT be padded. In this case, > the size of the exported section may be constrained due to > limitations in the IPFIX protocol. I would relax the "MUST have a variable length" to a SHOULD, since fixed length sections may be exported. > When the dataLinkFrameSectionObservedOctets field corresponding to > this Information Element exists, this Information Element MAY have > a fixed length and MAY be padded, or MAY have a variable length. > > The dataLinkFrameSectionObservedOctets expresses how much data was > observed, while the remainder is padding. These two paragraphs follow the one above. I would write them in exactly the opposite order: 3, 2, 1. > Further Information Elements, i.e., dataLinkFrameType and > dataLinkFrameSize are needed to specify the data link type and the > size of the data link frame of this Information Element. A set of > these Information Elements MAY be contained in a structured data > type, as expressed in another IPFIX WG draft. You should specify the draft and include a reference. > 4.4. dataLinkFrameOffset > > > Description: > > This Information Element specifies the offset of the observed > dataLinkFrameSection within the data link frame. If this > Information Element is omitted, it defaults to zero. I thought the intention was to create a generic "offset" field which could be used with any packet section? > 4.5. dataLinkFrameSectionObservedOctets > > > Description: > > This Information Element specifies the observed length of the > dataLinkFrameSection. > > This Information Element is especially needed for NetFlow version > 9 [RFC3954] because NetFlow does not support a variable-length > Information Element. I think it would be better to say "This Information Element specifies the observed length of the dataLinkFrameSection when padding is used", and remove the second paragraph. > 6. IANA Considerations > > > This document requests that the Information Element IDs are allocated > as shown in section 4. > > In addition, the dataLinkFrameType Information Element requires the > creation of new IANA registries. I think only one new registry is needed for this. However, Nevil is leading some discussion whether the values should be defined in the IE description, rather than in separate registries. > Appendix C. Template Formats Example > > > 0 1 2 3 > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | Set ID (0x0002) | Length | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | Template ID (0x0103) | Field Count (0x0006) | The field count is 8. > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | ingressInterface (0x000A) | Field Length (0x0004) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | egressInterface (0x000E) | Field Length (0x0004) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > |observationTimeSeconds (0x0142)| Field Length (0x0008) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | dataLinkFrameSize (0x0138) | Field Length (0x0002) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | dataLinkFrameSection (0x013B) | Field Length (0xFFFF) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | dataLinkFrameType (0x015B) | Field Length (0x0002) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | dataLinkFrameOffset (0x015C) | Field Length (0x0002) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | dataLinkFrameSection (0x015D) | Field Length (0x0002) | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Call it "dataLinkFrameSectionOO" (OO = Observed Octets). Else 0x015D looks like the earlier 0x013B. > > Figure C-1: Template Fortmat Example Typo, "Format". Cheers, P.
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Paul Aitken
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Shingo KASHIMA
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Paul Aitken
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Shingo KASHIMA
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Hadriel Kaplan
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Shingo KASHIMA
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Hadriel Kaplan
- Re: [IPFIX] draft-kashima-ipfix-data-link-layer-m… Shingo KASHIMA