Afenioux's Blog page

3am; darkness; Maintenance window closing. Safety net: rollback.

Configuring Netflow

Written by Arnaud no comments

Old 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

 

Classified in : cisco Tags : none

Comments are closed.

Rss feed of the article's comments