Reference Guide

Table Of Contents
Configure the source interface in CONFIGURATION mode.
sflow source-interface {ethernet node/slot/port[:subport] | loopback loopback-ID|
port-channel port-channel-ID| vlan vlan-ID}
View the interface details.
show running-configuration sflow
show sflow
Configure sFlow source interface
OS10(config)# sflow source-interface ethernet 1/1/1
OS10(config)# sflow source-interface port-channel 1
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
The current release does not support the statistics for UDP packets dropped.
View sFlow configuration details and statistics in EXEC mode.
OS10# show sflow
sFlow services are enabled
Management Interface sFlow services are disabled
sFlow
743