Blade ICE G8124 Personal Computer User Manual


 
BLADEOS 6.5.2 Application Guide
376 Chapter 28: sFLOW BMD00220, October 2010
sFlow sampling has the following restrictions:
Sample Rate—The fastest sFlow sample rate is 1 out of every 256 packets.
ACLs—sFlow sampling is performed before ACLs are processed. For ports configured both
with sFlow sampling and one or more ACLs, sampling will occur regardless of the action of the
ACL.
Port Mirroring—sFlow sampling will not occur on mirrored traffic. If sFlow sampling is
enabled on a port that is configured as a port monitor, the mirrored traffic will not be sampled.
Note – Although sFlow sampling is not generally a CPU-intensive operation, configuring fast
sampling rates (such as once every 256 packets) on ports under heavy traffic loads can cause switch
CPU utilization to reach maximum. Use larger rate values for ports that experience heavy traffic.
sFlow Example Configuration
1. Specify the location of the sFlow analyzer (the server and optional port to which the sFlow
information will be sent):
By default, the switch uses established sFlow service port 6343.
To disable sFlow features across all ports, use the no sflow enable command.
2. On a per-port basis, define the statistics polling rate:
Specify a polling rate between 5 and 60 seconds, or 0 to disable. By default, polling is 0 (disabled)
for each port.
3. On a per-port basis, define the data sampling rate:
Specify a sampling rate between 256 and 65536 packets, or 0 to disable. By default, the sampling
rate is 0 (disabled) for each port.
4. Save the configuration.
RS G8124(config)# sflow server <IPv4 address> (sFlow server address)
RS G8124(config)# sflow port <service port> (Set the optional service port)
RS G8124(config)# sflow enable (Enable sFlow features)
RS G8124(config)# interface port <port>
RS G8124(config-if)# sflow polling <polling rate>
(Statistics polling rate)
RS G8124(config-if)# sflow sampling <sampling rate> (Data sampling rate)