beautypg.com

Specifying the maximum flow sample size – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 255

background image

Specifying the maximum flow sample size

With sFlow version 5, you can specify the maximum size of the flow sample sent to the sFlow collector.
If a packet is larger than the specified maximum size, then only the contents of the packet up to the
specified maximum number of bytes is exported. If the size of the packet is smaller than the specified
maximum, then the entire packet is exported.

For example, to specify 1024 bytes as the maximum flow sample size, enter the following command.

device(config)# sflow max-packet-size 1024

Syntax: [no] sflow max-packet-sizesize

For both sFlow version 2 and version 5, the default maximum flow sample size is 256 bytes.

For sFlow version 5, the maximum flow sample size is 1300 bytes.

Exporting CPU and memory usage information to the sFlow collector

With sFlow version 5, you can optionally configure the sFlow agent on the Brocade device to export
information about CPU and memory usage to the sFlow collector.

To export CPU usage and memory usage information, enter the following command.

device(config)# sflow export system-info

Syntax: [no] sflow export system-info

By default, CPU usage information and memory usage information are not exported.

Specifying the polling interval for exporting CPU and memory usage information to the sFlow
collector

The polling interval defines how often sFlow data for a port is sent to the sFlow collector. With sFlow
version 5, you can optionally set the polling interval used for exporting CPU and memory usage
information.

For example, to set the polling interval for exporting CPU and memory usage information to 30 seconds,
enter the following command.

device(config)# sflow export system-info 30

Syntax: [no] sflow export system-infoseconds

You can specify a polling interval from 5 seconds to 1,800 seconds (30 minutes). The default polling
interval for exporting CPU and memory usage information is 300 seconds (5 minutes).

Exporting CPU-directed data (management traffic) to the sFlow collector

You can select which and how often data destined to the CPU (for example, Telnet sessions) is sent to
the sFlow collector.

CLI commands allow you to do the following:

• Enable the sFlow agent to export CPU-directed data
• Specify the sampling rate for exported CPU-directed data

Specifying the maximum flow sample size

FastIron Ethernet Switch Administration Guide

255

53-1003075-02