Reference Guide

0 UDP packets dropped
34026 sFlow samples collected
View sFlow conguration details on a specic 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
View the sFlow running conguration in EXEC mode.
OS10# show running-configuration sflow
sflow enable
sflow max-header-size 80
sflow polling-interval 30
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
sflow enable
!
sFlow commands
sow collector
Congures an sFlow collector IP address to which sFlow datagrams are forwarded to. You can congure a maximum of two collectors.
Syntax
sflow collector {ipv4-address | ipv6-address} agent-addr {ipv4-address | ipv6-
address} [collector-port-number] [max-datagram-size datagram-size-number] [vrf
default]
Parameters
ipv4-address | ipv6-address — Enter an IPv4 or IPv6 address in A.B.C.D/A::B format.
agent-addr ipv4-address | ipv6-address — Enter the sFlow agent IP address. If you are
conguring two collectors, the agent IP address must be the same for both the collectors.
collector-port-number — (Optional) Enter the user datagram protocol (UDP) port number (1 to
65535; default 6343).
max-datagram-size datagram-size-number — (Optional) Enter the keyword max-datagram-size
then the size number in bytes (400 to 1500; default 1400).
vrf — (Optional) Enter default to congure the sFlow collector corresponding to the front panel ports.
Defaults Not congured
Command Modes CONFIGURATION
Usage Information
You must enter a valid and reachable IPv4 or IPv6 address. If two collectors are congured, trac samples are sent
to both. The sFlow agent address is IPv4 or IPv6 address used to identify the agent to the collector. Use the no
version of this command to remove the congured sFlow collector.
Example
OS10(conf)# sflow collector 10.1.1.1 agent-addr 2.2.2.2 6343 max-datagram-size
1500 vrf default
Supported Releases 10.3.0E or later
550 sFlow