Users Guide

Table Of Contents
OS10(config)# sflow source-interface loopback 1
OS10(config)# sflow source-interface vlan 10
View sFlow running configuration
OS10# show running-configuration sflow
sflow enable all-interfaces
sflow source-interface vlan10
sflow collector 5.1.1.1 agent-addr 4.1.1.1 6343
sflow collector 6.1.1.1 agent-addr 4.1.1.1 6343
OS10(config)#show running-configuration interface vlan
!
interface vlan1
no shutdown
!
interface vlan10
no shutdown
ip address 10.1.1.1/24
View sFlow details
OS10# show sflow
sFlow services are enabled
Management Interface sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 30
Global default extended maximum header size: 128 bytes
Global extended information enabled: none
2 collector(s) configured
Collector IP addr:5.1.1.1 Agent IP addr:10.1.1.1 UDP port:6343 VRF:Default It shows
active agent-ip
Collector IP addr:6.1.1.1 Agent IP addr:10.1.1.1 UDP port:6343 VRF:Default It shows
active agent-ip
2 UDP packets exported
0 UDP packets dropped
2 sFlow samples collected
View sFlow information
OS10 does not support statistics for UDP packets dropped and samples received from the hardware.
View sFlow configuration details and statistics in EXEC mode.
OS10# show sflow
sFlow services are enabled
Management Interface sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 30
Global default extended maximum header size: 128 bytes
Global extended information enabled: none
1 collector(s) configured
Collector IP addr:10.16.151.245 Agent IP addr:10.16.132.181 UDP port:6343 VRF:Default
31722 UDP packets exported
0 UDP packets dropped
34026 sFlow samples collected
View sFlow configuration details on a specific interface in EXEC mode.
OS10# show sflow interface port-channel 1
port-channel1
sFlow is enabled on port-channel1
Samples rcvd from h/w: 0
1492
sFlow