Reference Guide

Displaying Show sFlow on an Interface
To view sFlow information on a specific interface, use the following command.
Display sFlow configuration information and statistics on a specific interface.
EXEC mode
show sflow interface interface-name
Example of Viewing sFlow Configuration (Interface)
FTOS#show sflow interface gigabitethernet 1/16
Gi 1/16
Configured sampling rate :8192
Actual sampling rate :8192
Sub-sampling rate :2
Counter polling interval :15
Samples rcvd from h/w :33
Samples dropped for sub-sampling :6
Example of the show running-config interface Command to View sFlow Information
FTOS#show running-config interface gigabitethernet 1/16
!
interface GigabitEthernet 1/16
no ip address
mtu 9252
ip mtu 9234
switchport
sflow enable
sflow sample-rate 8192
no shutdown
Displaying Show sFlow on a Line Card
To view sFlow statistics on a specified line card, use the following command.
Display sFlow configuration information and statistics on the specified interface.
EXEC mode
show sflow linecard slot-number
Example of Viewing sFlow Configuration (Line Card)
FTOS#show sflow linecard 1
Linecard 1
Samples rcvd from h/w :165
Samples dropped for sub-sampling :69
Total UDP packets exported :77
UDP packets exported via RPM :77
UDP packets dropped :
Configuring Specify Collectors
The sflow collector command allows identification of sFlow collectors to which sFlow datagrams are forwarded.
You can specify up to two sFlow collectors. If you specify two collectors, the samples are sent to both.
Identify sFlow collectors to which sFlow datagrams are forwarded.
CONFIGURATION mode
640