cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

251
Views
15
Helpful
2
Replies
Highlighted
Frequent Contributor

No Stats showing for "sh ip cache flow" for NetFlow or debugs on CSR

So on my lab CSR1000v, I have NetFlow configs, I can see data/export traffic hitting the collector destination via Wireshark, however whenever I do the sh ip cache flow command nothing is shown. Also nothing is shown with "debug flow exporter/monitor" commands. Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Collaborator
Collaborator

Re: No Stats showing for "sh ip cache flow" for NetFlow or debugs on CSR

Hi

csr1000v-1#sh flow monitor MY_MON cache format table
  Cache type:                               Normal (Platform cache)
  Cache size:                               200000
  Current entries:                               3
  High Watermark:                                4

  Flows added:                                   4
  Flows aged:                                    1
    - Inactive timeout    (    15 secs)          1

IPV4 SRC ADDR    IPV4 DST ADDR         bytes
===============  ===============  ==========
x.x.x.203    10.10.20.48           11120
x.x.x.204   10.10.20.48            1768
x.x.x.198    10.10.20.48             760

csr1000v-1#

View solution in original post

2 REPLIES 2
Highlighted
Collaborator
Collaborator

Re: No Stats showing for "sh ip cache flow" for NetFlow or debugs on CSR

Hi

csr1000v-1#sh flow monitor MY_MON cache format table
  Cache type:                               Normal (Platform cache)
  Cache size:                               200000
  Current entries:                               3
  High Watermark:                                4

  Flows added:                                   4
  Flows aged:                                    1
    - Inactive timeout    (    15 secs)          1

IPV4 SRC ADDR    IPV4 DST ADDR         bytes
===============  ===============  ==========
x.x.x.203    10.10.20.48           11120
x.x.x.204   10.10.20.48            1768
x.x.x.198    10.10.20.48             760

csr1000v-1#

View solution in original post

Highlighted
Beginner

Re: No Stats showing for "sh ip cache flow" for NetFlow or debugs on CSR

Use the command that @omz has posted. Assuming, if you are using the flexible netflow configuration.

 

show flow monitor <name of the monitor> cache format table

 

I have verified the same command on my device and it works as well. As for the debug, just curious you may need to enable the terminal monitor, by using "term mon" command if you are logging in via the VTY. If you are logging in via the console, you need to have "logging console" enabled.

 

HTH,

Barry