show ip traffic

Last Updated : Nov 06, 2012 |

Displays IP counters information for a given protocol. If no protocol is specified, information for all protocols is displayed.

Syntax

show ip traffic [protocol_type]

Parameters

Parameter

Description

Possible Values

Default Value

protocol_type

The type of IP protocol for which to display information

arp, bootp-dhcp, icmp, ip, ospf

User level

read-only

Context

general

Example

To display traffic information for all protocols:

Gxxx-001(super)# show ip traffic
IP statistics: 
    Received:
5644 total, 4012 local destination
0 bad hop count, 0 packet header errors
0 unknown protocol, 0 address errors
1632 discarded
    Fragments:
0 reassembled, 0 timeouts
0 couldn't reassemble, 0 fragmented
    Sent:
4014 generated, 0 forwarded
0 no route, 0 discarded
ICMP statistics:
    Received:
0 total, 0 ICMP errors
0 unreachables, 0 time exceeded
0 parameter, 0 quench
0 echo, 0 echo reply
0 timestamps request, 0 timestamp reply
0 mask requests, 0 mask replies
0 redirects
    Sent:
0 total, 0 ICMP errors
0 unreachables, 0 time exceeded
0 parameter, 0 quench
0 echo, 0 echo reply
0 timestamps request, 0 timestamp reply
0 mask requests, 0 mask replies
0 redirects
OSPF statistics:
    Received:
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
ARP statistics: Received:
5394 requests, 2 replies Sent:
36 requests, 16 replies (0 proxy)
DHCP  statistics:
Requests: 0 , Replies: 0
BOOTP statistics:
Requests: 0 , Replies: 0