Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How do I "reset to zero" the counters in Show IP Traffic on 6509?

I want to clear the counters shown when I use the command show ip counters. There is not a clear ip counters command. Clear counters does not clear these either.

I do not have a "clear ip counters" command:

6509#clear ip traffic

^

% Invalid input detected at '^' marker.

(Note, the ^ appears under the "r" in traffic)

Specifically, I have a LOT of "not a gateway" errors, I want to see if they are ancient or new.

I also want to know what "not a gateway" means.

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: How do I "reset to zero" the counters in Show IP Traffic on

Michael

According to the command reference the not a gateway counts non-routed packets that were encountered.

HTH

Rick

6 REPLIES
Hall of Fame Super Silver

Re: How do I "reset to zero" the counters in Show IP Traffic on

Michael

What code are you running on your 6509? On my 6509 there is a clear ip traffic (running 12.2(18)SXF7).

I can approximate your symptoms if I attempt to clear the counters while not in privilege mode. The prompt in your post looks like privilege mode but can we verify what privilege level you are at (post the output of show privilege).

HTH

Rick

Hall of Fame Super Silver

Re: How do I "reset to zero" the counters in Show IP Traffic on

Michael

According to the command reference the not a gateway counts non-routed packets that were encountered.

HTH

Rick

New Member

Re: How do I "reset to zero" the counters in Show IP Traffic on

Do you have a link to the command reference?

New Member

Re: How do I "reset to zero" the counters in Show IP Traffic on

Found it. I had read two different command references, which only showed a small subset of the items (which is stupid). I finally found one which shows far more:

http://www.cisco.com/en/US/docs/ios/12_2/ipaddr/command/reference/1rfip2.html#wp1020634

"not a gateway Non-routed packet."

So basically, the switch routing process did not know where to send it, so it sent it out the gateway of last resort.

Thanks!

New Member

Re: How do I "reset to zero" the counters in Show IP Traffic on

Current privilege level is 15

System image file is "disk0:s72033-pk9s-mz.122-18.SXD5.bin"

So close to your IOS level...but so far...

Hall of Fame Super Silver

Re: How do I "reset to zero" the counters in Show IP Traffic on

Michael

I did not realize that the clear ip traffic was such a new addition. Apparently it is.

HTH

Rick

406
Views
0
Helpful
6
Replies
CreatePlease to create content