Recent disruptions to two undersea internet cables in the Baltic Sea have yet again...
5.2 Cisco sFlow
Sampled flow (sFlow) allows you to monitor real-time traffic in data networks containing switches and routers.
It uses the sampling mechanism in the sFlow agent software on switches to monitor traffic and forward the
sample data to the central data collector.
Cisco sFlow IOS
conf t
sflow agent ip $source_ip_of_originating_flow
sflow collector id $id_nr ip $nfa_ip port $sflow_port
interface $interface_name
sflow flow-sampling input id $id_nr rate 1000
sflow flow-sampling output id $id_nr rate 1000
Cisco sFLOW NX-OS
conf t
#Globally enable sFlow feature
feature sflow
#sFlow configuration
sflow sampling-rate 1000
sflow max-sampled-size 200
sflow counter-poll-interval 10
sflow max-datagram-size 1400
sflow collector-ip $NFA-IP
sflow collector-port 7000
sflow agent-ip $NX-SW-Source-IP
#Enable sFlow export on interface
sflow data-source interface $interface_name