cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
314
Views
9
Helpful
2
Replies

ICMP packets on a router

sarahr202
Level 5
Level 5

Hi everybody.

I hope everybody is doing fine. I miss Cisco forum . Very busy with new job, a lot of things to learn.

I have a question:

Is there any command that can tell us how many icmp packets have been received on a router?

Thanks and have a great day.

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

Hi,

You can use "show ip traffic" to get statistics about packets received and sent by different protocols on the router.

Regards

r1#sh ip traffic

IP statistics:

  Rcvd:  0 total, 0 local destination

         0 format errors, 0 checksum errors, 0 bad hop count

         0 unknown protocol, 0 not a gateway

         0 security failures, 0 bad options, 0 with options

  Opts:  0 end, 0 nop, 0 basic security, 0 loose source route

         0 timestamp, 0 extended security, 0 record route

         0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump

         0 other

  Frags: 0 reassembled, 0 timeouts, 0 couldn't reassemble

         0 fragmented, 0 fragments, 0 couldn't fragment

  Bcast: 0 received, 0 sent

  Mcast: 0 received, 6 sent

  Sent:  6 generated, 0 forwarded

  Drop:  4 encapsulation failed, 0 unresolved, 0 no adjacency

         0 no route, 0 unicast RPF, 0 forced drop

         0 options denied

  Drop:  0 packets with source IP address zero

  Drop:  0 packets with internal loop back IP address

         0 physical broadcast

  Reinj: 0 in input feature path, 0 in output feature path

ICMP statistics:

  Rcvd: 0 format errors, 0 checksum errors, 0 redirects, 0 unreachable

        0 echo, 0 echo reply, 0 mask requests, 0 mask replies, 0 quench

        0 parameter, 0 timestamp, 0 timestamp replies, 0 info request, 0 other

        0 irdp solicitations, 0 irdp advertisements

        0 time exceeded, 0 info replies

  Sent: 0 redirects, 0 unreachable, 0 echo, 0 echo reply

        0 mask requests, 0 mask replies, 0 quench, 0 timestamp, 0 timestamp replies

        0 info reply, 0 time exceeded, 0 parameter problem

        0 irdp solicitations, 0 irdp advertisements

UDP statistics:

  Rcvd: 0 total, 0 checksum errors, 0 no port

  Sent: 6 total, 0 forwarded broadcasts

BGP statistics:

  Rcvd: 0 total, 0 opens, 0 notifications, 0 updates

        0 keepalives, 0 route-refresh, 0 unrecognized

  Sent: 0 total, 0 opens, 0 notifications, 0 updates

        0 keepalives, 0 route-refresh

TCP statistics:

  Rcvd: 0 total, 0 checksum errors, 0 no port

  Sent: 0 total

EIGRP-IPv4 statistics:

  Rcvd: 0 total

  Sent: 0 total

PIMv2 statistics: Sent/Received

  Total: 0/0, 0 checksum errors, 0 format errors

  Registers: 0/0 (0 non-rp, 0 non-sm-group), 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

  Queue drops: 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

  Queue drops: 0

OSPF statistics:

  Last clearing of OSPF traffic counters never

  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

      0 hello, 0 database desc, 0 link state req

      0 link state updates, 0 link state acks

ARP statistics:

  Rcvd: 0 requests, 0 replies, 0 reverse, 0 other

  Sent: 4 requests, 6 replies (0 proxy), 0 reverse

  Drop due to input queue full: 0

r1#

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

thanks Herold

Review Cisco Networking products for a $25 gift card