Connectivity Guide

Table Of Contents
Collector conguration
Congure the IPv4 or IPv6 address for the sFlow collector. You must enter a valid and reachable IPv4 or IPv6 address. You can congure a
maximum of two sFlow collectors. If you specify two collectors, the samples are sent to both. The agent IP address must be the same for
both the collectors.
Enter an IPv4 or IPv6 address for the sFlow collector, IPv4 or IPv6 address for the agent, UDP collector port number, maximum
datagram size, and the VRF instance number in CONFIGURATION mode.
sflow collector {ip-address | ipv6-address} agent-addr {ip-address | ipv6-address} [collector-
port-number] [vrf default]
The no form of the command disables sFlow collectors in CONFIGURATION mode.
sFlow collector
OS10(config)# sflow collector 10.1.1.1 agent-addr 2.2.2.2 6443 vrf default
Polling-interval conguration
The polling interval for an interface is the number of seconds between successive samples of counters sent to the collector. You can
congure the duration for polled interface statistics. Unless there is a specic deployment need to congure a lower polling interval value,
congure the polling interval to the maximum value.
Change the default counter polling interval in CONFIGURATION mode, from 10 to 300. The default is 20.
sflow polling-interval interval-size
Disable the polling interval in CONFIGURATION mode.
no sflow polling-interval
View the polling interval in EXEC mode.
show sflow
Congure sFlow polling interval
OS10(config)# sflow polling-interval 200
View sFlow information
OS10# show sflow
sFlow services are enabled
Management Interface sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 200
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 running conguration
OS10# show running-configuration sflow
sflow enable
sflow max-header-size 80
sflow polling-interval 200
sflow sample-rate 4096
sflow collector 10.16.150.1 agent-addr 10.16.132.67 6767 max-datagram-size 800
sflow collector 10.16.153.176 agent-addr 3.3.3.3 6666
!
interface ethernet1/1/1
908
sFlow