Configuring Netflow
Written by Arnaud no commentsOld style :
interface Gi0/1 ip flow ingress ip flow-export source Gi0/2 ip flow-export destination 192.168.0.2 2055
New Style :
interface Gi0/1
ip route-cache flow sampled
ip route-cache distributed
ip flow-export version 5
ip flow-export destination 192.168.0.2 2055
ip flow-sampling-mode packet-interval 100
Or even :
flow-sampler-map SAMPLER mode random one-out-of 100 ip flow-export version 5 ip flow-export destination 192.168.0.2 2055 interface Gi0/1 flow-sampler SAMPLER
Debug :
show ip flow sampling sh ip flow export