To configure sFlow v5 on IP Infusion OcNOS you need to apply following options
First of all you need to enable sFlow v5 globally:
feature sflow sflow agent-ip [Local IP of router to send sFlow from] sflow collector [FastNetMon IP] port 6393 receiver-time-out 100 max-datagram-size 1400 vrf default
Then you need to enable it for all upstream facing ports:
interface xe8 sflow sampling-rate 1024 direction ingress max-header-size 256 sflow enable
Then ensure that configuration is applied correctly:
sflow detail sFlow Feature: Enabled sFlow Version: 5 Agent IP : [Local IP of router to send sFlow from] Collector 1: IP: [FastNetMon IP] Port: 6393 VRF : default Maximum Datagram Size(bytes): 1400 Receiver timeout(sec) : 98 sFlow Port Detailed Information: Interface Collector Packet-Sampling Packet-Sampling Counter-Polling Maximum Header ID Rate Count Interval Count Size(bytes) Ingress Egress Ingress Egress (sec) Ingress Egress --------- --------- ----------------------- ----------------------- ----------------------- -------------------- xe8 1 1024 0 4587927 0 10 9135 256

