cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1193
Views
0
Helpful
1
Replies

netflow monitor not working

Minakshi Patel
Level 1
Level 1

i have Cisco ASR 1000, cisco 3845 & cisco 2821 . in which we have configured netflow monitor. some of my devices netflow monitor working properly but some of devices not working.

i am attaching configuration here with.

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

I just had quick look , I see IPsec , you need output-features for netflow to go through a tunnel in flexible netflow

heres a working flexible netflow form one of my routers , where is your flow record ?

chaeck as well your actually exporting when configured

show flow exporter statistics

#show flow exporter statistics
Flow Exporter LIVEACTION-FLOWEXPORTER-IPFIX:
  Packet send statistics (last cleared 6d23h ago):
    Successfully sent:         492278                (357978427 bytes)

  Client send statistics:
    Client: Option options interface-table
      Records added:           12060
        - sent:                12060
      Bytes added:             1206000
        - sent:                1206000

    Client: Option options vrf-id-name-table
      Records added:           2010
        - sent:                2010
      Bytes added:             72360
        - sent:                72360

    Client: Option options sampler-table
      Records added:           0
      Bytes added:             0

    Client: Option options application-name

**************************************************************************************************

I have omitted names and ips

flow record xxxxx
 match flow direction
 match interface input
 match ipv4 destination address
 match ipv4 protocol
 match ipv4 source address
 match ipv4 tos
 match transport destination-port
 match transport source-port
 collect application name
 collect counter bytes
 collect counter packets
 collect flow sampler
 collect interface output
 collect ipv4 destination mask
 collect ipv4 dscp
 collect ipv4 id
 collect ipv4 source mask
 collect ipv4 source prefix
 collect routing destination as
 collect routing next-hop address ipv4
 collect routing source as
 collect timestamp sys-uptime first
 collect timestamp sys-uptime last
 collect transport tcp flags
!
!
flow exporter xxxxx
 destination x.x.x.x
 source loopback3
 transport udp 2055
 export-protocol ipfix
 option interface-table
 option vrf-table
 option sampler-table
 option application-table
 option c3pl-class-table
 option c3pl-policy-table
 option application-attributes
!
!
flow exporter xxxxx
 destination x.x.x.x
 source loopback3
 transport udp 9995
 export-protocol ipfix
 option interface-table
 option vrf-table
 option sampler-table
 option application-table
 option c3pl-class-table
 option c3pl-policy-table
 option application-attributes
 output features
!
!
flow monitor xxxxx
 exporter xxxxx
 exporter xxxxx
 cache timeout inactive 10
 cache timeout active 60
 record xxxxx