Re[2]: about sFlow instance

From: kobayashi atsushi <>
Date: 08/26/05
Message-Id: <>

Hello Neil McKee,

Thank you for your answer.I understood your comment.
I think that the concept of sFlow instance is very useful.
For example,I want to use the sFlow in the following case.

The one port(e.g. one interface line card ) have two sflow instance.
The one instance is always used by sampling to get the traffic matrix.
In that case,the Sampling Rate of this instance may be 1024.
When the traffic cause a trouble of network,the other instance is used
for analyzing instead of a traffic mirroring.In that case,the Sampling
Rate of this instance could be 1.This instance have the flow sample of
the header type and don't have the counter sample.
This instance is used during temporary period.
From network operator's position,it is almost impossible to using a
mirroring,because of remote position.I want to use a sFlow instead of

I want to have one or more sFlow instances that operate a different action.

In such case,I understood that each sFlow instances should be assign each
collectors in sFlow ver.5 standard.
But,I want to use same collector if possible.

Can you think what is other implement in the such case?


On Thu, 25 Aug 2005 12:49:55 -0700
neil mckee <> wrote:

> Hello Kobayashi-san,
> The purpose of these data-source instances is to allow two collectors
> to monitor the same switch or router. It is unlikely that two
> instances would ever be configured to send sFlow to the same
> collector on the same UDP port. There would be no advantage in doing
> that. That is why there is no instance field in the datagram. Were
> you asking because you want to detect this as an error condition?
> You are correct that the instances should operate in parallel and be
> independent of one another. Ideally there would be a separate
> hardware sampling engine for each instance (with a separate random
> number generator). However, the reality is that most hardware
> implementations have only one sampling engine available for each
> interface. The discussion about cascading and sub-sampling was to
> show how you can still make the instances operate independently and
> in parallel, even when they are sharing the same hardware sampling
> engine below (the hardware is configured to sample with a rate equal
> to the highest-common-factor, and in software each instance uses sub-
> sampling to get back to their desired sampling rate).
> Does this answer your question?
> regards,
> Neil McKee
> On Aug 24, 2005, at 8:29 PM, kobayashi atsushi wrote:
> > Hi,
> >
> > I have some question about sFlow instance in sFlow version 5.
> > I understood that the Data Source can have one or more sFlow instances
> > that have their own Sampling Rate in sFlow version 5.
> > But,the sFlow version 5 datagram doesn't contain the field of sFlow
> > instance.I wonder that the sFlow Agent can't send the sampling rate of
> > sFlow instance.
> >
> > For example,there are two sFlow instances in some Data source.Their
> > Sampling Rate was different and these sFlow instances operate by
> > parallel.
> > I think that the Flow sample that is sampled by one instance should be
> > distinguished in sFlow datagram.
> >
> > In page 10 of the sFlow version 5 document,it is described as a
> > example
> > that two sFlow instance operate by cascade(sub-sampling).
> > I wonder that sFlow instances can't operate by parallel.
> >
> > I want to know in detail about sFlow instance.
> > Any help will be appreciated.
> >
> > Regards,
> >
> > ---
> > NTT Information Sharing Platform Lab.
> >

NTT Information Sharing Platform Lab.
tel:0422-59-3978 fax:0422-59-5652
Received on Fri Aug 26 06:02:22 2005

This archive was generated by hypermail 2.1.8 : 08/26/05 PDT