Show Command

For this example, use the Cisco show ip traffic command. Run the command so you can see the data you want to extract. Here, we want to know the number of dropped packets due to adjacency and no route issues. Here is some example output:

c1720-1.30#show ip traffic

IP statistics:

Rcvd: 2072045 total, 1995503 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 couldn't fragment

Bcast: 1952255 received, 4 sent

Mcast: 0 received, 0 sent

Sent: 86915 generated, 0 forwarded

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

0 no route, 0 unicast RPF, 0 forced drop

This command has more output, our only concern is extracting the number of no routes and no adjacencies in the first section, underlined, above.