Wednesday, May 11, 2011

Gathering Interface Traffic Information Through CDP

The show cdp traffic command displays information about interface traffic, including the number of CDP packets sent and received and the errors with CDP. The following output shows the show cdp traffic command used on the R1 Router.


R1#show cdp traffic
CDP counters :
        Total packets output: 78, Input: 73
        Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
        No memory: 0, Invalid packet: 0, Fragmented: 0
        CDP version 1 advertisements output: 0, Input: 0
        CDP version 2 advertisements output: 78, Input: 73

This is not really the most important information you can gather from a router, but it does show how many cdp packets are sent and received on a device.

No comments:

Post a Comment