10-29-2003 06:35 PM - edited 03-09-2019 05:19 AM
hello everyone.
I am kimsunjoo in korea.
I would like to know how to clear counters shown "show ip traffic" command.
help me
10-30-2003 04:30 AM
Hi Kimsunjoo,
I presume you are talking about ACL counters if so the please read the following (from a previous post of mine)
Try command:
> clear access-list
This clears the counters shown by the show access-list command.
To clear counters on an interface, go into config mode and issue this command: clear int ethernet0
(You must be in config mode for this command to work.)
To set speed/duplex, again go into config mode and issue this command: interface ethernet0 100full
Also, the following URL might be of interest...
10-30-2003 08:44 PM
thanks for your reply.
But My question is not clear access-list, clear interface but show ip traffic output's counters.
Below are many counters(such as total, errors).
I will attach show ip traffic output.
Internet-Router#sh ip traffic
IP statistics:
Rcvd: 3044884557 total, 1003398 local destination
0 format errors, 20 checksum errors, 70119 bad hop count
11 unknown protocol, 0 not a gateway
0 security failures, 0 bad options, 1009 with options
Opts: 1009 end, 0 nop, 0 basic security, 0 loose source route
0 timestamp, 0 extended security, 1009 record route
0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump
0 other
Frags: 18404 reassembled, 8887 timeouts, 0 couldn't reassemble
66773 fragmented, 0 couldn't fragment
Bcast: 32292 received, 0 sent
Mcast: 0 received, 0 sent
Sent: 1070285 generated, 3043285754 forwarded
Drop: 312244 encapsulation failed, 671 unresolved, 0 no adjacency
2 no route, 0 unicast RPF, 1974 forced drop
ICMP statistics:
Rcvd: 0 format errors, 1 checksum errors, 0 redirects, 35833 unreachable
558001 echo, 7 echo reply, 0 mask requests, 0 mask replies, 5 quench
0 parameter, 0 timestamp, 0 info request, 0 other
0 irdp solicitations, 0 irdp advertisements
Sent: 1 redirects, 5152 unreachable, 5 echo, 557987 echo reply
0 mask requests, 0 mask replies, 0 quench, 0 timestamp
0 info reply, 70479 time exceeded, 0 parameter problem
0 irdp solicitations, 0 irdp advertisements
UDP statistics:
Rcvd: 297268 total, 1 checksum errors, 19936 no port
Sent: 277082 total, 0 forwarded broadcasts
TCP statistics:
Rcvd: 112157 total, 108 checksum errors, 1682 no port
Sent: 159582 total
OSPF statistics:
Rcvd: 0 total, 0 checksum errors
0 hello, 0 database desc, 0 link state req
0 link state updates, 0 link state acks
Sent: 0 total
IP-IGRP2 statistics:
Rcvd: 0 total
Sent: 0 total
PIMv2 statistics: Sent/Received
Total: 0/0, 0 checksum errors, 0 format errors
Registers: 0/0, Register Stops: 0/0, Hellos: 0/0
Join/Prunes: 0/0, Asserts: 0/0, grafts: 0/0
Bootstraps: 0/0, Candidate_RP_Advertisements: 0/0
State-Refresh: 0/0
IGMP statistics: Sent/Received
Total: 0/0, Format errors: 0/0, Checksum errors: 0/0
Host Queries: 0/0, Host Reports: 0/0, Host Leaves: 0/0
DVMRP: 0/0, PIM: 0/0
ARP statistics:
Rcvd: 750634 requests, 578 replies, 0 reverse, 0 other
Sent: 299674 requests, 26790 replies (0 proxy), 0 reverse
10-31-2003 08:33 PM
"clear traffic" Resets the counters for the show traffic command.
11-10-2003 10:09 PM
You know, Cisco IOS have not the "clear traffic" command.
11-12-2003 08:33 PM
Sorry, wasn't paying attention thought we were talking about a pix. In that case it is clear counters all
12-07-2015 06:27 AM
Hi,
To do this on IOS the command is "clear ip traffic" and then do a "show ip traffic."
Reference doc;
http://www.cisco.com/c/en/us/td/docs/ios/12_4t/12_4t2/ht_clrip.html
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: