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

netlfow 9 on ASR 1002x

preston trogden
Level 1
Level 1

Ive been trying to get flexnetflow on this ASR for sometime but have never gotten anykind of netflow data.

Here is my config:

flow record NTArecord
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
collect interface output
collect counter bytes
collect counter packets
!
!
flow exporter NTAexport
destination 192.168.0.0 (orion)
source
transport udp 2055
template data timeout 60
!
!
flow monitor NPMmonitor
exporter NTAexport
cache timeout active 60
record NTArecord

i applied this to the interface

ip flow monitor NPMmonitor input
ip flow monitor NPMmonitor output

but this is my output from "show ip cache flow"

#sh ip cache flow
IP packet size distribution (0 total packets):
   1-32   64   96  128  160  192  224  256  288  320  352  384  416  448  480
   .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000

    512  544  576 1024 1536 2048 2560 3072 3584 4096 4608
   .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000

IP Flow Switching Cache, 0 bytes
  0 active, 0 inactive, 0 added
  0 ager polls, 0 flow alloc failures
  Active flows timeout in 30 minutes
  Inactive flows timeout in 15 seconds
  last clearing of statistics never
Protocol         Total    Flows   Packets Bytes  Packets Active(Sec) Idle(Sec)
--------         Flows     /Sec     /Flow  /Pkt     /Sec     /Flow     /Flow

SrcIf         SrcIPaddress    DstIf         DstIPaddress    Pr SrcP DstP  Pkts

what am i missing?

current IOS ver: asr1002x-universalk9.03.13.00.S.154-3.S-ext.SPA

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

Hey your config looks right but your using the wrong command to check the flow , should be show flow monitor NPMmonitor  cache

The command your using is not for flexible netflow