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

IOS 12.1E - Cat6000 - How to clear IP traffic statistics

robetrem
Level 1
Level 1

Hi,

Does anybody know how to clear the statistics which are displayed by the "sh ip traffic" command. Really need to reset those counters to debug a problem !

Thanks

1 Accepted Solution

Accepted Solutions

raymong
Level 4
Level 4

Unfortunately the only way these counters can be cleared is by reloading the router.

The reason for this is most of the stats are not directly accessible, they are displayed by making registry calls to the various active and registered protocols, so there would have to be an additional registry to clear the stats, and it would have to be added to all the protocols that register (probe, udp, ipmulticast, egp, igrp, eigrp, ospf, and tcp) as well as to icmp and ip itself.

Several DDTs (bug/new feature requests) have been submitted for this function, but were closed because of the complexity of the IOS changes needed.

View solution in original post

1 Reply 1

raymong
Level 4
Level 4

Unfortunately the only way these counters can be cleared is by reloading the router.

The reason for this is most of the stats are not directly accessible, they are displayed by making registry calls to the various active and registered protocols, so there would have to be an additional registry to clear the stats, and it would have to be added to all the protocols that register (probe, udp, ipmulticast, egp, igrp, eigrp, ospf, and tcp) as well as to icmp and ip itself.

Several DDTs (bug/new feature requests) have been submitted for this function, but were closed because of the complexity of the IOS changes needed.

Review Cisco Networking for a $25 gift card