CLI - This example provides detailed statistics on common IP-related protocols.
Console#show ip traffic
IP statistics:
Rcvd:
5 total, 5 local destination
0 checksum errors
0 unknown protocol, 0 not a gateway
Frags: 0 reassembled, 0 timeouts
0 fragmented, 0 couldn't fragment
Sent:
9 generated
0 no route
ICMP statistics:
Rcvd: 0 checksum errors, 0 redirects, 0 unreachable, 0 echo
5 echo reply, 0 mask requests, 0 mask replies, 0 quench
0 parameter, 0 timestamp
Sent: 0 redirects, 0 unreachable, 0 echo, 0 echo reply
0 mask requests, 0 mask replies, 0 quench, 0 timestamp
0 time exceeded, 0 parameter problem
UDP statistics:
Rcvd: 0 total, 0 checksum errors, 0 no port
Sent: 0 total
TCP statistics:
Rcvd: 0 total, 0 checksum errors
Sent: 0 total
ARP statistics:
Rcvd: 0 requests, 1 replies
Sent: 1 requests, 0 replies
Console#
Displaying Statistics for IP Protocols
IP Statistics
The Internet Protocol (IP) provides a mechanism for transmitting blocks of data
(often called packets or frames) from a source to a destination, where these network
devices (i.e., hosts) are identified by fixed length addresses. The Internet Protocol
also provides for fragmentation and reassembly of long packets, if necessary, for
transmission through "small packet" networks.
Parameter
Packets Received
Received Address Errors
Received Packets Discarded
Output Requests
Output Packet No Route
Table 3-18 IP Statistics
Description
The total number of input datagrams received from interfaces, including
those received in error.
The number of input datagrams discarded because the IP address in the
header's destination field was not a valid address for this entity.
The number of input datagrams for which no problems were encountered
to prevent their continued processing, but which were discarded (e.g., for
lack of buffer space).
The total number of datagrams which local IP user-protocols (including
ICMP) supplied to IP in requests for transmission.
The number of datagrams discarded because no route could be found to
transmit them to their destination. Note that this includes any datagrams
which a host cannot route because all of its default gateways are down.
3
IP Routing
4-255
3-217