IOX Neflow configuration example

sampler-map

sampler-map FNF_SAMPLER_MAP
 random 1 out-of 4999

exporter-map

flow exporter-map FNF_EXPORT_MAP
 version v9
  options sampler-table timeout 60
  template timeout 60
 !
 transport udp 20013
 source Loopback0
 destination 10.1.1.1

monitor-map

flow monitor-map FNF_MONITOR_MAP_IPV6
 record ipv6
 exporter FNF_EXPORT_MAP
 exporter FNF_EXPORT_MAP1
 cache entries 500000
 cache timeout active 60
 cache timeout inactive 15
flow monitor-map FNF_MONITOR_MAP
 record ipv4
 exporter FNF_EXPORT_MAP
 exporter FNF_EXPORT_MAP1
 cache entries 500000
 cache timeout active 60
 cache timeout inactive 15

Interface configuration

interface Bundle-Ether1
 flow ipv4 monitor FNF_MONITOR_MAP sampler FNF_SAMPLER_MAP ingress
 flow ipv6 monitor FNF_MONITOR_MAP_IPV6 sampler FNF_SAMPLER_MAP ingress

Note

  • Max 8 exporters per monitor-map.

Use Netflow TS

sampler-map sam-map
random 1 out-of 1

flow monitor-map mon-map-ip
record ipv4
cache entries 65535
cache timeout inactive 1800 

flow monitor-map mon-map
record mpls ipv4-fields labels 4
cache entries 65535
cache timeout inactive 1800

interface TenGigE0/0/1/0.1
ipv4 address 9.9.5.1 255.255.255.252
flow ipv4 monitor mon-map-ip sampler sam-map ingress
flow ipv4 monitor mon-map-ip sampler sam-map egress
flow mpls monitor mon-map sampler sam-map ingress
flow mpls monitor mon-map sampler sam-map egress

show flow monitor mon-map cache location 0/0/cpu0(根据板卡修改)

Tags:

           

1 comment

Comments feed for this article

  1. Linux’s avatar

    Hi
    the website server in the china.
    when you access the server, maybe the delay so larger.

    Reply

Reply

Your email address will not be published. Required fields are marked *