the receiver table. A session will automatically time out, and the associated resources freed, unless
it is periodically refreshed by the the collector. By periodically refreshing its receiver table entry,
an sFlow Collector ensures that its address is learned by any bridges on the path to the sFlow
Agent, minimizing the chances that the sFlow Datagrams will be flooded by a bridge.
在有任何配置改变之前,一个 sFlow 搜集器首先必须在接受表中找出一个自由表然后通过写
他自己的字符串何预定时间值声明它,一个 session 将自动 time out,互联资源自动释放,除非
搜集器会周期性的刷新.通过周期性地刷新它的接受表入口,一个 sFlow 搜集器保证它的地址
被任何在通向 sFlow 代理器的路径上的网桥学习到,极小改变 sFlow Datagrams 将使网桥溢
出.
Entries cannot be added to or removed from the receiver group table. An sFlow Agent
implementor should limit the number of entries to ensure that the number of concurrent sFlow
sessions is limited to a number that will not exceed that capacity of the device.
接受组表不能添加或删除条目.一个 sFlow 代理器使用工具者应该限制入口的数目,保证其限
制同时发生的 sFlow sessions 的数目为一数那个将不超过那设备的容量的.
Having acquired a row in the receiver table, the sFlow Collector specifies an address and port
that it will use to receive sFlow Datagrams. The maximum size of sFlow Datagrams can be
configured in order to prevent packet fragmentation.
在已获得接受表的 row 中,sFlow 搜集器指定一地址和 port 来接受 sFlow Datagrams.为了防
止分包, 要配置 sFlow Datagrams 的最大值.
4.2.2 The Flow Sampling Group
The flow sampling group defines a set of locations, or Data Sources, in the device that are
capable of Packet Flow sampling.Data Sources may correspond to interfaces, VLANs or other
entities within the device. The set of Data Sources advertised by an sFlow Agent depends on the
device architecture. For example, a device may have packet sampling integrated into its interface
ASICs, in which case it will advertise Data Sources for each interface. Alternatively, a software
router may simply have one Data Source associated with the routing module.
包流取 样 组 定义 一组 可能 做出 包 流 取样 的位 置或 数 据 源的 集合 . 数 据 源对 应于 设 备
interfaces、 VLANs 或者其它实体.sFlow 代理器为数据源集做广播取决于设备体系结构.例
如,一设备可以有把包完整取样到它的接口 ASICs,在这种情况下它将为每一接口为数据源登
广播的.另一种选择,一个软件路由可以简单用路由模式联系一数据源.
Each Data Source may be capable of supporting more than one independent sampling process, in
which case there will be multiple sFlow Instances associated with each Data Source. Each sFlow
Instance can have its own independent sampling rate.
每一数据源可以是能支持一或多独立取样处理,在这种情况下将有把多重 sFlow 实例和每一
数据源联系起来的.每一 sFlow 实例能有它的自己独立的抽样速率.
Even if the Data Source hardware is only capable of generating a single stream of packet
samples, it is possible for the sFlow Agent to use sub-sampling to create multiple sFlow Instances
for the Data Source. For example, suppose there are two sFlow Instances, one configured with a
Sampling Rate of 512 and the other with a rate of 1024. The hardware can be configured to sample
at a rate of 512 and then these samples can be sub-sampled in software using a sampling rate of 2
to achieve the 1024 rate. Only allowing Sampling Rates that are powers of two is attractive since it
allows the smallest configured Sampling Rate to be set in hardware and all other sampling rates
can be obtained in software by sub-sampling.
即使数据源硬件是仅仅能产生一单一的包样品,sFlow 代理器使用子取样为数据源建立多重
第 9 页 共 50 页