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

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

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
Bronze

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

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.

1 REPLY
Bronze

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

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.

93
Views
0
Helpful
1
Replies
CreatePlease to create content