Connectivity Guide

Table Of Contents
sFlow
sFlow is a standard-based sampling technology embedded within switches and routers that monitors network trac. It provides trac
monitoring for high-speed networks with many switches and routers.
OS10 supports sFlow version 5
Only data ports support sFlow collector
OS10 supports a maximum of two sFlow collectors
OS10 does not support sFlow on SNMP, VLAN, VRF, tunnel interfaces, extended sFlow, backo mechanism, and egress sampling
sFlow uses two types of sampling:
Statistical packet-based sampling of switched or routed packet ows
Time-based sampling of interface counters
sFlow monitoring consists of an sFlow agent embedded in the device and an sFlow collector:
The sFlow agent resides anywhere within the path of the packet. The agent combines the ow samples and interface counters into
sFlow datagrams and forwards them to the sFlow collector at regular intervals. The datagrams consist of information on, but not limited
to, the packet header, ingress and egress interfaces, sampling parameters, and interface counters. Application-specic integrated
circuits (ASICs) handle packet sampling.
The sFlow collector analyses the datagrams received from dierent devices and produces a network-wide view of trac ows.
Enable sFlow
You can enable sFlow either on all interfaces globally or on a specic set of interfaces. The system displays an error message if you try to
enable sFlow on both modes at one time.
If you congure sFlow only on a set of interfaces, any further change to the sFlow-enabled ports triggers the sFlow agent to restart. This
results in a gap in the polling counter statistics of 30 seconds and the sFlow counters are reset on all sFlow-enabled ports.
When you enable sFlow on a port-channel:
When in Per-Interface mode, the counter statistics of sFlow-enabled ports reset to zero when you add a new member port or remove
an existing member port from any sow enabled port-channel group.
sFlow counter statistics that are individually reported for the port members of a port-channel data source are accurate. Counter
statistics reported for the port-channel may not be accurate. To calculate the correct counters for a port-channel data source, add
together the counter statistics of the individual port members.
Enable or disable sFlow globally
sFlow is disabled globally by default.
Enable sFlow globally on all interfaces in CONFIGURATION mode.
sflow enable all-interfaces
Disable sFlow in CONFIGURATION mode.
no sflow
Enable or disable sFlow on a specic interface
Enable sFlow in CONFIGURATION mode.
sflow enable
15
906 sFlow