Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > clearing netflow stats command (LIMITED functionality)...

Thread Tools

clearing netflow stats command (LIMITED functionality)...

Posts: n/a
Netflow command clear syntax? The problem I have is once
enabled, the flow counters for SRC/DST IP keep counting up as
long as the flow is active:

SrcIf SrcIPaddress DstIf DstIPaddress Pkts
Hs1/0.500 X.Y.Z.113 Fa0/0 Z.Y.X.113 15K
Fa0/0 X.Y.Z.68 Hs1/0.500 Z.Y.X.43 64K

Notice that the 15K and 64K are the number of packets counted
so far for this flow. I am looking for a way to reset this to
0, for a relative comparison at some given point (30 seconds
for example) in the future.

This will give an undistorted view of current high flows,
without having historical packet counts cloud the picture.

NOTE: I know flow counters disappear after flow goes away so
you are getting fairly recent data. However, this is not good
enough. For example, I like the ability with "show
accounting" to start from some given time at zero, when I
issue a "clear ip accounting", as all packets counts go to

NOTE2: "clear ip flow stats", is not the answer, as this
command simply clears the statistics regarding the flow, as
shown in the top two sections of the verbose flow output. The
actual flow counter pairs are not cleared by this command.

TIA, will
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping Windows RUN command lines from clearing? Donchano NZ Computing 9 01-17-2010 11:03 PM
Get Interface stats NOT VLAN stats on 6500 Mr Jibbles Cisco 3 07-03-2006 05:40 PM
clearing java cache via command line Java 3 03-10-2006 08:25 AM
6500 modules & netflow - what is the difference between "X-BAR" and "Fabric enabled" , netflow questions Cisco 0 10-13-2005 12:12 AM
NetFlow collection/analysis (not flow-tools :) X.25 Cisco 1 07-08-2003 09:48 PM