D-Link DGS-6600-48T Product Manual - Page 564
sflow sampler
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 564 highlights
DGS-6604 m sflow sampler sflow sampler Use the sflow sampler command to create/configure a Sampler for the sFlow agent. Use the no form of this command to delete one Sampler or all Samplers. sflow sampler INSTANCE [receiver RECEIVER][sampling-rate RATE][max-header-size SIZE] no sflow sampler [INSTANCE] Syntax INSTANCE receiver RECEIVER sampling-rate RATE max-header-size SIZE The instance index if multiple Samplers are associated with one interface. The valid range is from 1 to 65535. (Optional)The Receiver's INDEX for this Sampler. If not specified, the value is 0. The user can not configure the value to 0. The maximum number is project dependent. (Optional)The rate for packet sampling. The range is from 0 to 65536. 0 means disable. If not specified, the default value is 0. (Optional)The maximum number of bytes that should be copied from sampled packets. The range is from 18 to 256. If not specified, the default value is 128. Default Command Mode Usage Guideline No Sampler is created. Interface configuration mode The command is available for physical port interface configuration. A sampler can only be configured on one interface. It cannot be associated with multiple interfaces. Use this command without keywords to create a default Sampler or to reset an existing Sampler to default values. Use the no form of this command with INSTANCE to delete one Sampler. Use the no form of this command without INSTANCE to delete all Samplers. The user can only specify a Receiver that has its owner name setup. If the Receiver associated with the sampler has its owner name reset, the sampler will be reset to the default setting. The Receiver ID of a default sampler is 0. Set sampling rate to N will cause the system to sample one packet for every N packets arriving on the monitored interface. The sampled packet is sent to the sFlow Receiver. Setting the sampling rate to 0 will disable the sampling. The granularity of the sampling rate is project dependent. An interface can be configured with multiple samplers. If multiple samplers are configured, the configured sampling rate can be different. However, the sampling rate of all other samplers must be multiples in power of 2 of the minimal sampling rate. CLI Reference Guide 554