show ip traffic
Displays a summation of IP traffic counts for all slots or for a single specified slot.
Syntax: show ip traffic [module bay#/slot#]
Description: This command displays IP traffic summaries for the IP, ICMP, UDP, TCP protocols.
Use the show ip traffic command with no arguments to display the IP traffic counts for all slots.
Use the show ip traffic module bay#/slot# command to display the IP traffic counts for a specified slot.
Factory Default: None.
Command Mode: Executive and privileged.
Example 1: The following is sample output from the show ip traffic command:
router#show ip traffic
IP statistics:
Rcvd: 7404783 total, 571622 local destination
14 header errors, 6235567 address errors, 0 unknown proto
0 fragments, 0 reassembled, 0 couldn't reassemble
Sent: 489882 generated, 3072 forwarded
0 fragmented, 0 fragments created, 0 couldn't fragment
Drop: 211 input discards, 0 output discards
0 routing discards, 8 no route
ICMP statistics:
Rcvd: 0 total, 0 errors, 0 unreachable, 0 timeouts
0 param problems, 0 quenchs, 0 redirects
0 echos, 0 echo replies, 0 timestamps
0 timestamp replies, 0 addr masks, 0 addr mask replies
Sent: 0 total, 0 errors, 0 unreachable, 0 timeouts
0 param problems, 0 quenchs, 0 redirects
0 echos, 0 echo replies, 0 timestamps
0 timestamp replies, 0 addr masks, 0 addr mask replies
UDP statistics:
Rcvd: 200825 total, 0 errors, 52328 no port
Sent: 186104 total
TCP statistics:
Port: 4 active opens, 17 passive opens, 7 established
2 resets, 0 fails
Rcvd: 195373 total, 0 errors
Sent: 189073 total, 44 retransmissions, 8 resets sent
|
Example 2: The following example is sample output from the show ip traffic module 1/3 command:
router>show ip traffic mod 1/3
IP Traffic Counters for module in Bay 1, Slot 3
IP statistics:
Rcvd: 139108 total, 0 local destination
8 header errors, 0 address errors, 0 unknown proto
Sent: 0 generated, 1440 forwarded
0 fragmented, 0 fragments created, 0 couldn't fragment
Drop: 94 input discards, 0 output discards
0 routing discards, 0 no route
ICMP statistics:
Rcvd: 0 total, 0 errors, 0 unreachable, 0 timeouts
0 param problems, 0 quenchs, 0 redirects
0 echos, 0 echo replies, 0 timestamps
0 timestamp replies, 0 addr masks, 0 addr mask replies
Sent: 0 total, 0 errors, 0 unreachable, 0 timeouts
0 param problems, 0 quenchs, 0 redirects
0 echos, 0 echo replies, 0 timestamps
0 timestamp replies, 0 addr masks, 0 addr mask replies
|
The tables below describe the fields in the display:
Table 1-11. IP Statistics:
Field
|
Description
|
Recvd:
|
total
|
The total number of input datagrams received from interfaces, including those received in error.
|
local destination
|
The number of packets received with this router as the destination.
|
header errors
|
The number of input datagrams discarded due to errors in their IP headers, including bad checksums, version number mismatch, other format errors, time-to-live exceeded, errors discovered in processing their IP options, etc.
|
address errors
|
The number of input datagrams discarded because the IP address in their IP header's destination field was not a valid address to be received at this entity.
|
unknown proto
|
The number of packets that were of an unknown protocol type.
|
Sent:
|
generated
|
The total number of IP datagrams which local IP user- protocols (including ICMP) supplied to IP in requests for transmission.
|
forwarded
|
The number of input datagrams for which this entity was not their final IP destination, as a result of which an attempt was made to find a route to forward them to that final destination.
|
fragmented
|
The number of fragmented packets received.
|
fragments created
|
The number of IP datagrams that have been successfully fragmented at this entity.
|
couldn't fragment
|
The number of IP datagrams that have been discarded because they needed to be fragmented at this entity but could not be, e.g., because their Don't Fragment flag was set.
|
Drop:
|
input discards
|
The number of input IP datagrams for which no problems were encountered to prevent their continued processing, but which were discarded (e.g., for lack of buffer space). Note that this counter does not include any datagrams discarded while awaiting reassembly.
|
output discards
|
The number of output IP datagrams for which no problem was encountered to prevent their transmission to their destination, but which were discarded (e.g., for lack of buffer space). Note that this counter would include datagrams counted in ipForwDatagrams if any such packets met this (discretionary) discard criterion.
|
routing discards
|
The number of routing entries which were chosen to be discarded even though they are valid. One possible reason for discarding such an entry could be to free-up buffer space for other routing entries.
|
no route
|
The number of IP datagrams discarded because no route could be found to transmit them to their destination. Note that this counter includes any packets counted in ipForwDatagrams which meet this `no-route' criterion. Note that this includes any datagrams which a host cannot route because all of its default routers are down.
|
Table 1-12. ICMP Statistics
Field
|
Description
|
Recvd:
|
total
|
The total number of ICMP messages which the entity received. Note that this counter includes all those counted by aviciModuleIcmpInErrors.
|
errors
|
The number of ICMP messages which the entity received but determined as having ICMP-specific errors (bad ICMP checksums, bad length, etc.).
|
unreachable
|
The number of ICMP Destination Unreachable messages received.
|
timeouts
|
The number of ICMP Time Exceeded messages received.
|
param problems
|
The number of ICMP Parameter Problem messages received.
|
quenchs
|
The number of ICMP Source Quench messages received.
|
redirects
|
The number of ICMP Redirect messages received.
|
echos
|
The number of ICMP Echo (request) messages received.
|
echo replies
|
The number of ICMP Echo Reply messages received.
|
timestamps
|
The number of ICMP Timestamp (request) messages received.
|
timestamp replies
|
The number of ICMP Timestamp Reply messages received.
|
addr masks
|
The number of ICMP Address Mask Request messages received.
|
addr mask replies
|
The number of ICMP Address Mask Reply messages received.
|
Sent:
|
total
|
The total number of ICMP messages which this entity attempted to send. Note that this counter includes all those counted by tsrIcmpOutErrors.
|
errors
|
The number of ICMP messages which this entity did not send due to problems discovered within ICMP such as a lack of buffers. This value should not include errors discovered outside the ICMP layer such as the inability of IP to route the resultant datagram.
|
unreachable
|
The number of ICMP Destination Unreachable messages sent.
|
timeouts
|
The number of ICMP Time Exceeded messages sent.
|
param problems
|
The number of ICMP Parameter Problem messages sent.
|
quenchs
|
The number of ICMP Source Quench messages sent.
|
redirects
|
The number of ICMP Redirect messages sent. For a host, this object is always zero, since hosts do not send redirects.
|
echos
|
The number of ICMP Echo (request) messages sent.
|
echo replies
|
The number of ICMP Echo Reply messages sent.
|
timestamps
|
The number of ICMP Timestamp (request) messages sent.
|
timestamp replies
|
The number of ICMP Timestamp Reply messages sent.
|
addr masks
|
The number of ICMP Address Mask Request messages sent.
|
addr mask replies
|
The number of ICMP Address Mask Reply messages sent.
|
:
Table 1-13. UDP Statistics
Field
|
Description
|
Rcvd:
|
total
|
The total number of UDP datagrams delivered to UDP users.
|
errors
|
The number of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.
|
no port
|
Number of times a packet was received that was directed to a port with no application listening.
|
Sent:
|
total
|
The total number of UDP datagrams sent from this entity.
|
:
Table 1-14. TCP Statistics
Field
|
Description
|
Port:
|
active opens
|
The number of times TCP connections have made a direct transition to the SYN-SENT state from the CLOSED state.
|
passive opens
|
The number of times TCP connections have made a direct transition to the SYN-RCVD state from the LISTEN state.
|
established
|
The number of TCP connections for which the current state is either ESTABLISHED or CLOSE- WAIT.
|
resets
|
The number of TCP segments sent containing the RST flag.
|
fails
|
|
Recvd:
|
total
|
The total number of segments received, including those received in error. This count includes segments received on currently established connections.
|
errors
|
The total number of segments received in error (e.g., bad TCP checksums).
|
Sent:
|
total
|
The total number of segments sent, including those on current connections but excluding those containing only retransmitted octets.
|
retransmissions
|
The total number of segments retransmitted - that is, the number of TCP segments transmitted containing one or more previously transmitted octets.
|
resets sent
|
The number of TCP segments sent containing the RST flag.
|
:
Related Commands: show ip route